AnsweredAssumed Answered

STM32L0xx peripheral setting state after STOP mode

Question asked by dolezal.ivan on Dec 29, 2015
Latest reply on Dec 29, 2015 by dolezal.ivan
I am going to use STM32L052 in Stop mode with waking up by both RTC WakeUp Counter and EXTI GPIO.
I am not sure about standard peripherals (ADC, SPI, I2C, USART):
1.  Are they switched off by entering Stop mode automatically as their clock domain is switched off in Stop Mode? Or should I switch them off by another way not to consum power?
2. Do they keep their settings during Stop mode or do I have to repeat all settings as they run at the program start (i.e. MX_ADC_Init(), MX_I2C1_Init() etc.)?
However, I know that all clocks including these for peripherals must be set again after Stop mode.

Thank for information.

Ivan

Outcomes