JAJSMF5B september 2022 – june 2023 TPS25990
PRODUCTION DATA
The Blackbox feature greatly enhances the ability of the system designer to debug power path related issues during design/development and in case of field returns. Along with a snapshot of the parametric data and event information through various status registers, the TPS25990 provides additional information which helps to re-create the sequence of events as they occurred in a certain interval of time. This information is available in both the on-chip volatile memory and the external I2C EEPROM (connected on the EECLK/EEDATA pins) and can be accessed through PMBus®.
The PMBus® engine is up and running as soon as a stable supply is available on VDD, independent of VIN and other related internal nodes. This ensures that the Blackbox contents can be read back from a field return unit by applying power on VDD pin even if there’s damage on VIN side or Power FET .
During the operation of the device, the Blackbox information is stored inside the Blackbox buffer RAM which is seven (7) bytes deep. At any point of time, issuing the READ_BB_RAM command will retrieve the most recent seven (7) events in a sequence along with the timestamp relative to each other. Each byte of this buffer RAM holds the following information about a single event:
A 3-bit event identifier
A 5-bit value which indicates the time lapse because the previous event. The lower 4 bits of the timer value represents a snapshot of the free running Blackbox tick timer at the instant of registering the event in the Blackbox RAM. The 5th bit indicates whether the timer has overflowed at least once since the last event.
Here are the events which will trigger a write to the Blackbox RAM:
VIN_UV_WARN
VIN_OV_WARN
OC_WARN
OT_WARN
OC_DET
VIN_TRAN
IN_OP_WARN
Once the device encounters a global fault or alert event (based on the ALERT_MASK), the Blackbox RAM contents, along with the status registers, peak input voltage, peak input current, peak device temperature, and Blackbox timer values are written to an external EEPROM through the EECLK/EEDATA pins.
The EEPROM interface is a standard I2C controller and operates at 400 kHz clock speed. TI recommends using an I2C EEPROM with minimum 1 Kbits of capacity and 16-byte page addressing. Examples of compatible EEPROM devices include 24LC04, 24AA04, etc.
The contents of the Blackbox RAM along with some status registers (STATUS_WORD, STATUS_MFR_SPECIFIC, and STATUS_INPUT) and certain parameters (VIN_PEAK, IIN_PEAK, and TEMPERATURE_PEAK) are stored into Page-0 of an external EEPROM when the following conditions are met. At the same time, Blackbox RAM contents and Blackbox tick timer values are locked.
An external EEPROM is successfully connected by setting the EXT_EEPROM bit high in the DEVICE_CONFIG register. In addition, it is done by configuring two (2) of the four (4) GPIOs as EECLK and EEDATA appropriately in the GPIO_CONFIG_12 and GPIO_CONFIG_34 registers. Make sure those two (2) selected GPIO pins are physically connected to the EEPROM clock and data pins respectively on the board.
Any one of the three BB EEPROM write trigger bits is set in the BB_CONFIG register.
Blackbox EEPROM contents:
BB_RAM_0 to BB_RAM_6 [Seven (7) bytes]
BB_TIMER [One (1) byte]
STATUS_WORD [Two (2) bytes]
STATUS_MFR_SPECIFIC [One (1) byte]
STATUS_INPUT [One (1) byte]
VIN_PEAK [One (1) byte, Eight (8) MSBs from the 10-bit ADC output data]
IIN_PEAK [One (1) byte, Eight (8) MSBs from the 10-bit ADC output data]
TEMPERATURE_PEAK [One (1) byte, Eight (8) MSBs from the 10-bit ADC output data]
CHECKSUM [One (1) byte]