STMicroelectronics / STM32CubeF7

STM32Cube MCU Full Package for the STM32F7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
320 stars 191 forks source link

STM32F769 - STOP Mode + LCD / DSI - Screen not working on wake up #80

Closed ladislas closed 1 year ago

ladislas commented 1 year ago

Hi there!

Our product using and STM32F769 + OTM8009A LCD screen (the same as the DISCO_F769) has been working great for quite some time now. We've been using all the drivers provided by ST to have the LCD run and display images or play videos.

Recently, we have been working on enabling STOP MODE in our product to reduce power consumption when it's not used.

We've discovered that when exiting STOP MODE the screen start behaving strangely until it completely stops working.

It looks like this:

197151163-b830873d-d1ac-41ba-845d-260d915fcf0b

Colors are shifting when we turn off (STOP MODE) and turn on (wake up) the video. Position is also shifting. If you do that in a loop, sometimes it "works again" then fails again until it eventually crashes completely.

The PR adding the bug is here:

https://github.com/leka/LekaOS/pull/1173/files

Our guess is that there are issues with the DSI or LTDC clock when STOP MODE / waking up, but we don't even know where to start looking...

Any ideas? :slight_smile:

Thanks for the help!

Best, -- Ladislas

jeromecoutant commented 1 year ago

Note that deep sleep in this case is STOP mode.

HBOSTM commented 1 year ago

Hello @ladislas ,

Could you please confirm that you are using the drivers provided by ST from here. If so, give us more details about how to reproduce this issue?

Best Regards,

HBOSTM commented 1 year ago

Hello @ladislas

Please allow me to close this thread as no activity. You may reopen it at anytime if you have any details to share with us in order to help you to solve the issue. Thank you for your comprehension.

With regards,