EasyManua.ls Logo

ST STM32L0x3 - Comparator (COMP); Introduction; COMP Main Features

ST STM32L0x3
1043 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RM0367 Rev 7 377/1043
RM0367 Comparator (COMP)
383
16 Comparator (COMP)
16.1 Introduction
STM32L0x3 devices embed two ultra-low-power comparators COMP1, and COMP2 that
can be used either as standalone devices (all terminal are available on I/Os) or combined
with the timers.
The comparators can be used for a variety of functions including:
Wakeup from low-power mode triggered by an analog signal,
Analog signal conditioning,
Cycle-by-cycle current control loop when combined with the DAC and a PWM output
from a timer.
16.2 COMP main features
COMP1 comparator with ultra low consumption
COMP2 comparator with rail-to-rail inputs, fast or slow mode
Each comparator has positive and configurable negative inputs used for flexible voltage
selection:
I/O pins
–DAC
Internal reference voltage and three submultiple values (1/4, 1/2, 3/4) provided by
scaler (buffered voltage divider)
Programmable speed / consumption (COMP2 only)
The outputs can be redirected to an I/O or to timer inputs for triggering:
Capture events
COMP1, and COMP2 can be combined in a window comparator. Each comparator has
interrupt generation capability with wakeup from Sleep and Stop modes (through the
EXTI controller)

Table of Contents

Related product manuals