AN3248
In an analog watchdog application, COMP1 is configured through external interrupt line 21
(EXTI line 21) to exit the MCU from Stop mode when the analog input voltage exceeds
V
. COMP2 is set, through EXTI line 22, to exit the MCU from Stop mode when the
REFINT
analog voltage goes below the lower threshold. Throughout the time the analog voltage is
within the defined thresholds, the MCU is in Stop mode and power consumption is reduced.
When the analog voltage exceeds the defined thresholds, average power consumption can
be reduced by switching to Run mode.
Figure 6
threshold2.
Figure 6.
1. While the MCU is in Stop mode, the input voltage exceeds threshold1 and the MCU exits Stop mode.
2. While the MCU is in Run mode, the input voltage goes downthreshold1 and the MCU enters Stop mode.
3. While the MCU is in Stop mode, the input voltage goes down threshold2 and the MCU exits Stop mode.
Note:
In Stop mode, only COMP1, COMP2 and V
to the specific device datasheet for power consumption values.
Note:
No hysteresis is implemented on either comparator inputs.
gives an overview of an analog watchdog application with threshold1 higher than
Analog watchdog during stop mode
Doc ID 17758 Rev 1
Analog watchdog during Stop mode
continue to consume power. Please refer
REFINT
9/19
Need help?
Do you have a question about the AN3248 and is the answer not in the manual?
Questions and answers