cancel
Showing results for 
Search instead for 
Did you mean: 

What is the clock configuration after leaving STOP mode?

anonymous.8
Senior II

Hello,

I'm using a STM32L072CB with STOP mode and in section 32.9.3 in the user manual I stumbled over following information:

"When exiting from Stop mode, the clock configuration is identical to the

one after RESET. Consequently, the software must reprogram the clock controller to enable the PLL, the Xtal, etc."

I'm using the MSI at range 6 (default is 5) and the LSI is ON. Additionally there are changes for example in RCC_CCIPR and RCC_CSR. And also checked following question:

https://community.st.com/s/question/0D50X00009q2xHv/stm32f0-reconfigure-clocks-after-exiting-stop-mode

https://community.st.com/s/question/0D50X00009XkWtNSAV/what-to-configure-after-stopmode-wakeup

1. Question: What is the meaning of RESET? The reset values in the register map in section 7.3.22?

2. Question: Are only the registers of the RCC affected or also the peripherals (e.g. LPTIMER?)

3. Question: Basically I "only" need to reconfigure the RCC registers (section 7.3 in user manual) again after leaving STOP mode?

1 ACCEPTED SOLUTION

Accepted Solutions
berendi
Principal
2 REPLIES 2
berendi
Principal
  1. Yes
  2. Only RCC.
  3. Yes.
anonymous.8
Senior II

Thanks :)