Blank display after several hours of working normally

Comments

7 comments

  • Saurabh_B

    Hello,

    It sounds like the display is getting reset.
    Do you know if the Reset Pin on your display is tied high constantly?

    0
  • darrow

    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
  • Saurabh_B

    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
  • darrow

    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
  • Saurabh_B

    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
  • darrow

    Does an external reset cause the frame memory to be cleared?

    0
  • Saurabh_B

    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.