AnsweredAssumed Answered

STM32L4 wake up from STOP2, setting core clock to 80MHz

Question asked by SerFabio89 on Dec 20, 2017
Latest reply on Jan 29, 2018 by Daniel Tarrago

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"