Blank display after several hours of working normally
We are using the New Haven NHD-2.4-240320CF-CSXN#-F in one of our products and we are having a sporadic issue:
Every now and then, after running for a few hours, the display goes completely white and won't draw anything (it seems like it somehow gets de-initialized). Only a hard reset seems to correct the problem. The MCU on our board is fine and still running properly. The product still responds to commands, buttons can be pressed etc... everything else works perfectly normal except that the display is white and never changes.
Any idea what could be causing this? Sometimes the product can run for 24hrs or more without issue, so the time between power-up and display failure is not consistent.
It sounds like the display is getting reset.
Do you know if the Reset Pin on your display is tied high constantly?0
The Reset Pin on the display is not tied high constantly, it is connected to a pin on our microcontroller and that microcontroller pin is set to output high once during bootup and then never changed again.0
Do you know if the voltage applied to the display pins 7&8 is constant the whole time.
Another cause could be a reset caused by either a loose connection or just power dropping.
Finally do you know if yoru code might be sending the Display OFF command or the Sleep Command?0
I will have to test to see if pins 7&8 are getting voltage, I have not checked that yet. I am almost certain that it is not a loose connection because our bench test fixture never moves, but I suppose power dropping could be possible.
As far as Display OFF and Sleep, we only send any commands like that during initialization on boot.
We have since discovered that with whatever is happening with the display, we can still fill the frame memory, so the controller is still working (or at least communicating). We discovered this by waiting for the display to go blank, sending commands to fill the frame memory with an image, and then running a modified version of the initialization routine that doesn't clear the frame memory. Sure enough when we did this, we see the image that we sent while it was blank.
It looks like are some status registers on the ST7789S that we can read that might tell us more. Would you recommend doing this?0
This does sound like something is causing the display to reset externally.
You should be able to fill the frame buffer at any time. After the display re-initializes and you send the display ON command, it will show whatever is filled in the buffer.0
Does an external reset cause the frame memory to be cleared?0
An external reset would clear the contents of the display.
However if the display is retaining the image in the RAM, it sounds like the power to the display might be dropping momentarily before the RAM losses the stored data.0
Please sign in to leave a comment.