LCD doesn't work properly after wakeup from Standby mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 7:45 AM
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 ?
- Labels:
-
LCD-LTDC
-
Power
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-30 7:55 AM
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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-01 3:47 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-01 10:26 AM
Through writing test patterns and verifying they work, for example..
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-06 9:32 AM
I have used 'BSP_SDRAM_WriteData' and 'BSP_SDRAM_ReadData' to read and write from SDRAM ,and it seems to work fine after I wakeup.
But now after wakeup if I perform a system reset ,the LCD works fine !!
In the reference manual ,it says that the wakeup from standby mode is exactly as power down reset ,so how come a system reset makes it work and not standby mode reset ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-06 10:05 AM
External devices may not share the same async reset or power domains.
Code can behave adaptively based on a flag indicating the reset came out of STANDBY
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-12-08 10:12 AM
Clive One wrote:
External devices may not share the same async reset or power domains.
Code can behave adaptively based on a flag indicating the reset came out of STANDBY
My reset main only check for this pwr flag to clear it ,nothing else ,where else in code ?
also I noticed that after exciting the standby mode NRST doesn't go Low ,is that right ?
in the datasheet the power circuit says that it should go low after exciting standby mode .
