Question
STM32L0xx peripheral setting state after STOP mode
Posted on December 29, 2015 at 11:53
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 #stm32l0xx-stop-mode