ZHCU741 July 2020
This reference design includes software for the MSP432 to program the TPS92682-Q1 and TPS92520-Q1 registers via SPI bus. The MSP432 software also determines Highbeam/Lowbeam, Turn Indicator and Day Time Running Light/Position Marker Light function from three power inputs and a Highbeam input signal. Functional operation and Faults are determined by reading binning resistors, NTC inputs and LED string voltages. Single LED fault detection for Highbeam/Lowbeam and Turn Indicator are determined by monitoring their output voltage. Reliablity of detection can be improved by adding first turn on calibration and adding a load temperature, load current and LED string voltage table.
The TPS92682-Q1 register settings include the following:
TPS92682-Q1 SPIREGISTER ADDRESS |
TPS92682-Q1 SPIREGISTER VALUE |
COMMENT |
TPS92520-Q1 SPI REGISTER ADDRESS |
TPS92520-Q1 SPI REGISTER VALUE |
COMMENT |
---|---|---|---|---|---|
Read Status Register |
Read Status Register | ||||
0x11 |
0x00 |
0x03 |
0x00 | ||
0x12 |
0x00 |
0x04 |
0x00 | ||
Write 682 Registers |
0x05 |
0x00 | |||
0x01 |
0x01 |
Write 520 Registers | |||
0x02 |
0x00 |
0x00 |
0x00 | ||
0x03 |
0x00 |
0x01 |
0x00 | ||
0x04 |
0x25 |
0x02 |
0x08 | ||
ox05 |
0x0F |
0x06 |
0x8A | ||
0x06 |
0xFF |
0x07 |
0x00 | ||
0x07 |
0xE7 |
Sets Boost Output to 55V |
0x09 |
0x07 |
Sets LB/HB Current Low |
0x08 |
0x0C |
Sets SEPIC Current Low |
0x08 |
0x00 |
Sets LB/HB Current Low |
0x08 |
0x2B |
Sets SEPIC Full Power |
0x09 |
0x82 |
Sets LB/HB Full Power |
0x09 |
0x41 |
0x08 |
0x00 |
Sets LB/HB Full Power | |
0x0B |
0x0E |
0x20 |
0x03 | ||
0x0A |
0x02 |
0x21 |
0x6A | ||
0x0D |
0x00 |
0x0B |
0x0E |
Sets TI Current Low | |
0x0C |
0x00 |
0x0A |
0x02 |
Sets TI Current Low | |
0x0E |
0x0F |
SET ILIM |
0x0B |
0x41 |
Sets TI Full Power |
0x0F |
0x0A |
0x0A |
0x00 |
Sets TI Full Power | |
0x10 |
0x99 |
0x0C |
0x07 | ||
0x13 |
0x3C |
0x0E |
0x00 | ||
0x14 |
0x2F |
0x0D |
0x40 | ||
0x15 |
0x00 | 0x10 | 0x00 | ||
0x16 |
0x44 | 0x0F | 0x40 | ||
0x17 |
0x3C | 0x11 | 0x06 | Set fsw LB/HB | |
0x12 | 0x07 | Set fsw TI | |||
0x1E | 0x00 | ||||
0x1F | 0x00 | ||||
0x22 | 0x00 | ||||
0x23 | 0x10 | ||||
0x24 | 0x00 | ||||
0x25 | 0x10 | ||||
0x26 |
0x00 | ||||
0x27 |
0x00 | ||||
0x28 | 0x00 | ||||
0x29 | 0x00 | ||||
0x2A | 0x07 | ||||
0x2B | 0x07 | ||||
0x2C | 0x80 |
MSP432 is programmed via JTAG, connector J3.