Posts: 4
Threads: 1
Joined: Jan 2023
Reputation:
0
2023-01-05, 11:44 AM
(This post was last modified: 2023-01-05, 12:02 PM by m-feddersen.)
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?
Posts: 63
Threads: 7
Joined: Oct 2019
Reputation:
1
2023-01-05, 01:33 PM
(This post was last modified: 2023-01-05, 01:35 PM by Onno.)
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)
Posts: 2,392
Threads: 21
Joined: Jun 2016
Reputation:
75
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.
Posts: 2,392
Threads: 21
Joined: Jun 2016
Reputation:
75
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?
Posts: 140
Threads: 2
Joined: Jul 2020
Reputation:
4
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...
Posts: 2,392
Threads: 21
Joined: Jun 2016
Reputation:
75
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