This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LCD JLX12864 flashing
#1
When I start the pypilot it shows the graph and version 0.24.
After that nothing is displayed. If I exit the Pypilot via the console, the data is briefly displayed again. What can be the reason?
Reply
#2
I have the same problem, all the displays produced after 2021-09-08 have the same problem, I have contact support from my agent in China with JLX but we are not able to find the problem yet.

Sorry maybe slightly different, all displays flicker/flash (characters not backlight)
Reply
#3
(2023-01-05, 01:33 PM)Onno Wrote: I have the same problem, all the displays produced after 2021-09-08 have the same problem, I have contact support from my agent in China with JLX but we are not able to find the problem yet.

Sorry maybe slightly different, all displays flicker/flash (characters not backlight)

But that can't be a fault of the display. if I do a reboot via the console, everything is clear on the display until the kill command is finished. (See pictures)


Attached Files Image(s)
       
Reply
#4
what exact sequence did you use and what did you kill?

I might be able to explain it but I dont know what you did.
Reply
#5
Video from my problem: https://photos.app.goo.gl/XkqvAokpB6mF9gcA8
Reply
#6
Photo 
We have also tested them with a scope, the only difference we see is on pin12 CS, on the good display it is a nice constant signal and on the bad one it is not constant.

    Good Display

    Bad display
Reply
#7
The different CS in the scope is very strange because the raspberry pi drives it, not the display.

Is there any way to tell the good from bad display by markings on the board or only from testing?
Reply
#8
Only the flat cable from display itself is a little different, and production data I have not seen a display working yet from 2022.
   

The only response from JLX so far: He suggest that when you edit the data and instruction, try to extend the program delay. 
I do not know what that means.
Reply
#9
Hi Onno,

Strange behaviour.

Some ideas: try lower the SPI frequency (in hat/ugfx/ugfx.cpp, try changing the default frequency of 1000000 Hz to something lower)

In the same file, you will see a few "write(spifd, cmd, sizeof cmd)", surounded by digitalWrite (dc, LOW) / digitalWrite (dc, HIGH). You can try adding some delays (using usleep(1000) for example for 1ms) somewhere here, after the write(spifd) and before digitalWrite(HIGH), or after the digitalWrite(HIGH), you need to play a bit with it to find out if that improves somehow the behaviour.

It could also be that something else changed...
Reply
#10
well I certainly can reproduce it, and thanks for pointing out the difference.

I received some new jlx12864 a few days ago and they are all the new style and have this problem.

I will try to debug/improve the driver and find a solution
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)