SLVSFZ4A December 2020 – February 2021 TPS929121-Q1
PRODUCTION DATA
The TPS929121-Q1 has integrated a successive-approximation-register (SAR) ADC for diagnostics. It routinely monitors supply voltage if the ADC is idle and stores SUPPLY conversion results into ADC_SUPPLY.
To manually read the voltage of an ADC channel as listed in Table 8-2, user must write the 5-bit register CONF_ADCCH to select channel. Once CONF_ADCCH register is written, the one time ADC conversion starts and clears FLAG_ADCDONE register. As long as the ADC conversion is completed, the ADC result is available in 8-bit register ADC_OUT and sets FLAG_ADCDONE to 1. Reading the ADC_OUT register also clears FLAG_ADCDONE, and the FLAG_ADCDONE is set to 0 after reading completion.
Because the TPS929121-Q1 supports PWM control for adjusting LED brightness, the voltage on OUT0 to OUT11 is like a pulse waveform. When the current output is enabled by setting CONF_ENCHx to 1, the ADC measures the voltage on assigned OUTx after the channel is turned on with t(diag_pulse) delay time, which is programmable by 4-bit register CONF_ODPW. When the channel is disabled by setting CONF_ENCHx to 0, the ADC samples the voltage on assigned OUTx at off state.
The analog value can be calculated based on the read back binary code with Equation 5 and Table 8-2.
where
CHANNEL NO. | CONF_ADCCH | NAME | ADC CALCULATION PARAMETER (a) | ADC CALCULATION PARAMETER (k) | COMMENT | ||
---|---|---|---|---|---|---|---|
0 | 00h | REF | 0.007 V | 0.0101 V/LSB | Reference voltage | ||
1 | 01h | SUPPLY | 0.2878 V | 0.1583 V/LSB | Supply voltage | ||
2 | 02h | VLDO | 0.0465 V | 0.022 V/LSB | 5-V LDO output voltage | ||
3 | 03h | TEMPSNS | –304.7 °C | 2.463°C/LSB | Internal temperature sensor | ||
4 | 04h | IREF | 0.7592 µA | 0.7461 µA/LSB | Reference current | ||
5 | 05h | MAXOUT | 0.2878 V | 0.1583 V/LSB | Maximum channel output voltage | ||
6-15 | 06h - 0Fh | RESERVED | RESERVED | RESERVED | RESERVED | ||
16 | 10h | OUT0 | 0.2878 V | 0.1583 V/LSB | Output voltage channel 0 | ||
17 | 11h | OUT1 | Output voltage channel 1 | ||||
18 | 12h | OUT2 | Output voltage channel 2 | ||||
19 | 13h | OUT3 | Output voltage channel 3 | ||||
20 | 14h | OUT4 | Output voltage channel 4 | ||||
21 | 15h | OUT5 | Output voltage channel 5 | ||||
22 | 16h | OUT6 | Output voltage channel 6 | ||||
23 | 17h | OUT7 | Output voltage channel 7 | ||||
24 | 18h | OUT8 | Output voltage channel 8 | ||||
25 | 19h | OUT9 | Output voltage channel 9 | ||||
26 | 1Ah | OUT10 | Output voltage channel 10 | ||||
27 | 1Bh | OUT11 | Output voltage channel 11 | ||||
28 | 1Ch | RESERVED | RESERVED | RESERVED | RESERVED | ||
29 | 1Dh | RESERVED | RESERVED | RESERVED | RESERVED | ||
30 | 1Eh | RESERVED | RESERVED | RESERVED | RESERVED | ||
31 | 1Fh | RESERVED | RESERVED | RESERVED | RESERVED |
The TPS929121-Q1 also provides ADC auto-scan mode for single-led short-circuit diagnostics. The detail description for auto-scan mode can be found in On-Demand Off-State Single-LED Short-Circuit (SS) Diagnostics.
In ADC auto-scan mode, If MAXOUT channel is selected by writing 05h to CONF_ADCCH, the maximum voltage of OUT0 to OUT11 is recorded into ADC_OUT register. The maximum channel output voltage is available after at least one output PWM cycle is completed. Based on the measured maximum output voltage and supply voltage, microcontroller is able to regulate supply voltage from previous power stage to minimize the power consumption on the TPS929121-Q1. Basically microcontroller needs to program the output voltage of previous power stage to be just higher than the measured maximum channel output voltage plus the required dropout voltage V(OUT_drop) of the TPS929121-Q1. In this way, the TPS929121-Q1 takes minimum power consumption, and overall power efficiency is optimized.