SLUSF40A October 2024 – December 2024 BQ25190
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
The device provides an integrated 12-bit ADC for the host to monitor various system parameters. The ADC_RATE bits allow continuous conversion, conversion every 1 second, conversion every 1 minute, and one-shot behavior.
To enable the ADC, the ADC_EN bit must be set to ‘1’. The ADC is disabled by default (ADC_EN=0) to conserve power. The ADC is allowed to operate if either VIN>VIN_UVLO or VBAT>VBAT_ADC_LOWVZ. In battery mode, if ADC_EN is written to '1' by the host with VBAT < VBAT_LOWVZ_ADC, it will then be automatically cleared. ADC_EN should not be set to 1 when no channel is enabled.
The ADC range for VIN is dependent on the VIN_OVP bit.
The ADC supports averaging by setting ADC_AVG = 1. In averaging mode, each new sample is averaged with the previous value of that channel's output register. When ADC_AVG_INIT = 1, the first converted value is stored without averaging, and each subsequent value is averaged. In this mode, the first stored value is X0, the second value is (½ X1 + ½ X0) and the third stored value is (½ X2 + ¼ X1 + ¼ X0), where X0, X1 and X2 are the sequential values measured by the ADC. When ADC_AVG = 1 and ADC_AVG_INIT = 1 in one-shot mode, two samples are taken and averaged.
The ADC_DONE_STAT and ADC_DONE_FLAG bits will be set when a conversion is complete in one-shot mode, every 1 second mode, and every 1 minute mode. During continuous conversion mode, the ADC_DONE_STAT and ADC_DONE_FLAG bits have no meaning and will remain at 0. In one-shot mode, the ADC_EN bit will be set to 0 at the completion of the conversion, at the same time as the ADC_DONE_FLAG bit is set and a 128-μs pulse is sent on INT pin to notify the host. In continuous mode, the ADC_EN bit remains at 1 until the user disables the ADC by setting it to 0. In conversion every 1 second mode and conversion every 1 minute mode mode, the ADC_IN bit stays high in the waiting period in between measurements, but the digital signal will turn off the ADC in the background to save power. After an one-shot ADC cycle is done, the user should wait for at least 25ms before setting ADC_RATE to continuous and enable ADC by setting ADC_EN to 1.
ADC conversion operates independently of the faults present in the device. ADC conversion will continue even when a fault has occurred, with the exception of the TSHUT fault, which disables the ADC until the fault clears.
The device has an ADCIN input to monitor the value of an external voltage signal up to 5V or support another NTC thermister measurement without the need of an external biasing circuit by setting ADCIN_MODE bit to '1'. In this mode, the ADCIN pin is biased with 80μA bias current, same as TS pin, and VADCIN is monitored up to 1V.
The TDIE and IBAT ADC channel registers report in 2's compliment format in order to represent positive and negative current. 16-bit registers in 2's compliment represent positive numbers using the range 0x0000 - 0x7FFF, with 0x0 representing 0 and 0x7FFF representing the maximum positive value of 32,767. The negative numbers are represented in the range 0x8000-0xFFFF with 0x8000 representing the most negative value of -32,768 and 0xFFFF representing -1. Note that these are the raw integer values of the register. To convert into the current reading of the ADC, multiply this integer by the scaling factor of the register.