STM32G0 USART wakeup implementation for an existing HAL project
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-10 1:33 AM
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
Solved! Go to Solution.
Labels:
- Labels:
-
Power
-
STM32G0 Series
-
UART-USART
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-10 1:40 AM
Hello,
you should be able to find HAL examples in the STM32G0 firmware package:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-10 1:40 AM
Hello,
you should be able to find HAL examples in the STM32G0 firmware package:
