2020-05-02 05:17 AM
As per the reference manual "RM0367 Ultra-low-power STM32L0x3 advanced Arm®-based
32-bit MCUs" , page no-298, When the main voltage
regulator is in Low-power run mode (LPR mode, with the device operating in Low-power
run, Low-power sleep or Stop mode), the voltage reference is disabled and the ADC cannot
be used anymore.
If we can configure ADC to function in Low power mode then let me know the register settings for the ADC.
2020-05-02 07:26 AM
The RM pretty clearly says you can't run the ADC when the regulator is in low-power run mode.
Only option you have is regular sleep mode, which disables the CPU clock but leaves everything else untouched.