...the world's most energy friendly microcontrollers
2016-04-28 - Giant Gecko Family - d0053_Rev1.20
680
www.silabs.com
27 VCMP - Voltage Comparator
0 1 2 3
4
Int errupt s
V
DD
> X ?
B
a
tt
e
ry
V
DD
< X ?
VCMP
V
DD
GND
Quick Facts
What?
The Voltage Supply Comparator (VCMP)
monitors the input voltage supply and
generates software interrupts on events using
as little as 100 nA.
Why?
The VCMP can be used for simple power
supply monitoring, e.g. for a battery level
indicator.
How?
The scaled power supply is compared to a
programmable reference voltage, and an
interrupt can be generated when the supply
is higher or lower than the reference. The
VCMP can also be duty-cycled by software to
further reduce the energy consumption.
27.1 Introduction
The Voltage Supply Comparator is used to monitor the supply voltage from software. An interrupt can
be generated when the supply falls below or rises above a programmable threshold.
Note
Note that VCMP comes in addition to the Power-on Reset and Brown-out Detector
peripherals, that both generate reset signals when the voltage supply is insufficient for
reliable operation. VCMP does not generate reset, only interrupt. Also note that the ADC is
capable of sampling the input voltage supply.
27.2 Features
• Voltage supply monitoring
• Scalable V
DD
in 64 steps selectable as positive comparator input
• Internal 1.25 V bandgap reference
• Low power mode for internal V
DD
and bandgap references
• Selectable hysteresis
• 0 or ±20 mV
• Selectable response time
• Asynchronous interrupt generation on selectable edges
• Rising edge
• Falling edge
• Rising and Falling edges
• Operational in EM0-EM3
• Comparator output direct on PRS
• Configurable output when inactive to avoid unwanted interrupts
Summary of Contents for Giant Gecko EFM32GG
Page 842: ......