2013-01-07 02:43 AM
Hello,
I am just trying out the Stop Mode with my STM32L1 Discovery. But I think there is something I do wrong. When I use the HSI as Systemclock the consuption is higher then using the MSI. Also different MSI values cause different consumtion. I thougt, that the HSI an MSI automatically switched of, when entering the Stop Mode and the consumption always is the same. I am using the RTC to generate an Interrupt every 4 seconds then I enter to the Stopmode. RTC_WakeUpCmd(ENABLE); PWR_EnterSTOPMode(PWR_Regulator_LowPower,PWR_STOPEntry_WFI); RTC_WakeUpCmd(DISABLE); I also tried ''ADC_Cmd(ADC1, DISABLE);'' and ''PWR_UltraLowPowerCmd(ENABLE);'' but nothing changed. #low-power-stop-mode2013-01-07 10:56 AM
Aren't the internal RC oscillators the least efficient means of generating a clock? To the point that ST precludes the use of the LSI to maintain the RTC off VBAT?
2013-01-07 01:16 PM
I am using the LSE as RTC Clocksource, but what about my problem. Aren´t the Clocks switched off during STOP Mode, independend of witch one is used?
2013-01-07 01:45 PM
They are documented to turn off, do you have other interrupts running (SysTick?), how about other pins being driven?
What currents are you seeing? Are you testing this on an STM32L-Discovery, or something else?2013-01-07 03:13 PM
Only the RTC and USART Interrupts are running, no Systick. There are some driven Pins for the LCD an USART. I tryed it out on the Discoveryboard. The consumptim while Stopmode is from 100µA (MSI 512 kHz) to 220µA (HSI 12 MHz).
Thanks for your help!!