Associate III
December 20, 2017
Question
STM32L4 wake up from STOP2, setting core clock to 80MHz
- December 20, 2017
- 1 reply
- 815 views
Posted on December 20, 2017 at 13:52
Good afternoon everyone,
I'm working on a ultra low power FreeRTOS application, in which I need to enter and exit continously the STOP2 mode from my MCU, STM32L476RG. The problem is that I need to wake up working at 80MHz. My implementation works pretty much everytime, but sometimes it hangs within the function (attached) that sets the core clock to MSI with PLL at 80MHz. Anyone knows why it happens? In the specific, it hangs during the check of 'HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK'
Regards,
Fabio
#freertos #low-power #stm32l4 #stop2 #lowpower-sleep