SLUSF40 October 2024 BQ25190
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
The device has three programmable ADC comparators that may be used to monitor any of the ADC channels as configured through the ADCCTRL1 and ADCCTRL2 registers. The comparators will send an interrupt (if not masked) and set the flags (COMP1_ALARM_FLAG/COMP2_ALARM_FLAG/COMP3_ALARM_FLAG) whenever the corresponding channel's ADC measurement result crosses the threshold programmed in their respective ADCALARM1/ADCALARM2/ADCALARM3 bits in the direction indicated by the ADCALARM1_ABOVE/ADCALARM2_ABOVE/ADCALARM3_ABOVE bit. Note that the interrupts are masked by default and must be unmasked by the host to use this function.
For all the ADC channels except for the IBAT channel, the LSB of ADCALARM1/ADCALARM2/ADCALARM3 bits is corresponding to the same value as the channel's ADC result's LSB. For the IBAT channel, the ADCALARM1/ADCALARM2/ADCALARM3 bits' LSB is corresponding to 2mA instead of 1mA as in ADC_DATA_IBAT. Also, when the comparators are used to monitor TDIE and IBAT channels, the MSB of ADCALARM1/ADCALARM2/ADCALARM3 bits is the sign bit.