Solved
STM32G0 USART wakeup implementation for an existing HAL project
Hi,
Months ago I developed a complete project using HAL libraries for the STM32G030K8T microprocessor. Now I need to implement a low power (STOP0) mode and wake-up it from deep sleep using USART. The point is I am facing the following problems:
- My project is using the PLLCLK as system clock from HSI RC given a final HCLK of 64MHz. How could I restore this HCLK after the wake-up?
- I use HAL libraries for the first time and I only find examples written using LL libraries. This result in some Incompatibilities. For example I cannot use HAL_Delay() as usual and I have to use LL_mDelay() instead. Both of them cannot live together? Why?
- Is there some example using USART (not LPUART) and HAL (not LL) libraries for this STM32G030K8T? I'm not able to find it.
Thanks in advance,
gaston
