Skip to main content
anonymous.8
Senior II
June 29, 2020
Solved

What is the clock configuration after leaving STOP mode?

  • June 29, 2020
  • 2 replies
  • 1313 views

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?

This topic has been closed for replies.
Best answer by berendi
  1. Yes
  2. Only RCC.
  3. Yes.

2 replies

berendi
berendiBest answer
Principal
June 29, 2020
  1. Yes
  2. Only RCC.
  3. Yes.
anonymous.8
Senior II
June 30, 2020

Thanks :)