Skip to main content
cb.7
Associate III
February 11, 2022
Question

STM32H7 STOP mode exit problem with LTDC

  • February 11, 2022
  • 0 replies
  • 943 views

Hello,

i am developing a low power application with STM32H7B0VBT6, there is also a 480 * 272 display operated by Touchgfx.

My problem is that after waking up from STOP MODE the LTDC peripheral does not restart and the screen stays still.

I enclose the part of the code:

 HAL_SuspendTick();

 __HAL_LTDC_DISABLE(&hltdc);

 __HAL_PWR_CLEAR_FLAG(PWR_CPU_FLAGS);

 if(__HAL_PWR_GET_FLAG(PWR_FLAG_STOP) == RESET)

 {

  HAL_PWREx_EnableFlashPowerDown();

   HAL_PWREx_EnterSTOP2Mode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI);

// exit from stop

   HAL_PWREx_DisableFlashPowerDown();

 }

 SystemClock_Config();

 HAL_ResumeTick();

 __HAL_LTDC_ENABLE(&hltdc);

This topic has been closed for replies.