Skip to main content
R. M.
Associate II
November 30, 2017
Question

LCD doesn't work properly after wakeup from Standby mode

  • November 30, 2017
  • 1 reply
  • 1715 views

Posted on November 30, 2017 at 16:45

Hi All ,

I am using stm32f4 Discovery board and after I wakeup from standby mode ,everything works as expected except the LCD ,it only shows a white background and doesn't change .

I will start checking SDRAM first, but just checking if this is a known issue ?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
November 30, 2017
Posted on November 30, 2017 at 16:55

Assuming the STM32F429I-DISCO?

Coming out of standby requires you to properly configure external devices, this may include devices that did not power down. Initialization code therefore needs to be robust. Check you can communicate with the ICs properly, and how the setting might be different in the cold vs warm restart cases. The back-light is hardwired, it is going to work regardless of if you configure the screen or memory properly.

Check the SDRAM initializes properly, and test it, this will give a quick indication if that is the root of the problem, or the configuration of the frame buffer, etc.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
R. M.
R. M.Author
Associate II
December 1, 2017
Posted on December 01, 2017 at 11:47

Hi Clive ,

Thank you for your reply .

I actually use the stm32cubeMX for my board configurations ,so I assume all the external devices are properly configured ,and init is robust .

yes I know backlight is hardwired ,and its not my problem.

how can I check the SDRAM initilization ,you mean through SPI ? 

Tesla DeLorean
Guru
December 1, 2017
Posted on December 01, 2017 at 18:26

Through writing test patterns and verifying they work, for example..

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..