The Analog Comparator (ACMP) compares two voltages and outputs a digital signal indicating which is larger. It has two analog input terminals, IN+ and IN-. If IN+ is greater than IN-, the digital output OUT is high.
The ACMP power up signal (PWR UP) is active high. Set the PWR UP to a non-gnd signal.
Use the WS Ctrl counter to duty cycle wake sleep the ACMP through PWR UP. See ‘Wake and Sleep’ section below.
The Wake and Sleep function applies for all ACMPs. This function latches ACMP outputs. Saves power when used in conjunction with PWR UP. The Wake Sleep Controll (WS Ctrl) can be configured for this purpose.
To use ACMP with WS Ctrl:
Table 1.
Parameters | ACMP0 | ACMP1 | ACMP2 | ACMP3 |
---|---|---|---|---|
IN+ source | PIN6 | PIN10 | PIN13 | PIN15 |
Buffered PIN6 | Buffered PIN10 | ACMP0 IN+ | ACMP0 IN+ | |
VDD | ACMP0 IN+ | ACMP2 IN+ | ||
IN- source | 50mV | 50mV | 50mV | 50mV |
… | … | … | … | |
1200mV | 1200mV | 1200mV | 1200mV | |
VDD/3 | VDD/3 | VDD/3 | VDD/3 | |
VDD/4 | VDD/4 | VDD/4 | VDD/4 | |
PIN12 | PIN12 | PIN12 | PIN12 | |
PIN7 |
Hysteresis is applied post gain stage. The Four selectable hysteresis options 0mV, 25mV, 50mV and 200mV where hysteresis 50mV and 200mV do not apply to external voltage references IN-. See Table in Properties for VIH and VIL estimates.
• 0mV: disable hysteresis.
• 25mV: is +12.5mV and -12.5mV
• 50mV: is +0mV and -50mV
• 200mV: is +0mV and -200mV
Enable a low pass filter on positive input. Cutoff frequency << 5kHz.
A selectable resistor divider stage of 1X, 0,5X, 0.33X and 0.25X. This stage is applied after the buffer and before hysteresis. The Resistor Divider power on is controlled by ACMP PWR UP signal.
Positive Analog input source to ACMP. (View Table 1.)
Negative Analog input source to ACMP. Internal Vref thresholds are optimized near 1000mV. (View Table 1.)
V_IH is the typical IN+ voltage at which a Low to High transition occurs at the output.
V_IL is the typical IN+ voltage at which a High to Low transition occurs at the output.