SLOA349 March 2025 TAS6584-Q1 , TAS6684-Q1
Each SDOUT pin only can transmit one device measurement data. In multi-device systems, multiple devices SDOUTs data can share one TDM line can save DSP/SOC pins and resources. The SDOUT pin is a tri-state (0, 1, Hi-Z) output pin. Multiple SDOUT pins can be tied together directly. In multi-device systems the offset must be used to shift data groups to available slots and allow multiple devices to share one TDM line. The recommendation is to synchronize multiple devices through SCLK as Figure 3-1. To avoid SDOUT delay which caused by SCLK layout trace on PCB board, SCLK synchronization can be configured by register 0x60. The setup sequence is as follows:
Figure 3-1 SCLK Synchronization
architecture and SDOUT connectionTable 3-1 and Figure 3-2 are the SDOUT configuration and timing diagram example of four TAS6x84-Q1 devices in TDM16 mode. Each device only enables four channels of current sense output. The four SDOUT1 pins are tied together.
| Register 0x25, bit[7:4] | Register 0x31, bit[3:0] | Register 0x2C | Register 0x2D | Register 0x2E | Register 0x2F | Pin | Slot 1-4 | Slot 5-8 | Slot 9-12 | Slot 13-16 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Device 1 | 0000 | 0010 | 0xCF | 0xFF | 0x00 | 0xFF | SDOUT1 | Isense Ch1-4 | - | - | - |
| Device 2 | 0000 | 0010 | 0xCF | 0xFF | 0x80 | 0xFF | SDOUT1 | - | Isense Ch1-4 | - | - |
| Device 3 | 0000 | 0010 | 0xDF | 0xFF | 0x00 | 0xFF | SDOUT1 | - | - | Isense Ch1-4 | - |
| Device 4 | 0000 | 0010 | 0xDF | 0xFF | 0x80 | 0xFF | SDOUT1 | - | - | - | Isense Ch1-4 |
Figure 3-2 Timing Diagram Example for
SDOUT in TDM8 ConfigurationThe following are SDOUT configuration PPC3 script for the four devices.
### Device 1 SDOUT configuration script ####
w c0 60 03 # sync devices through SCLK
w c0 20 10 # configure SCLK to inverted mode if SCLK is 24.576MHz
w c0 25 0F # TDM mode and 32 bit length for Vpredict and Isense
w c0 26 32 # 32 bit length for Aux
w c0 31 02 # enable Ch1/2/3/4 Isense output.
w c0 2C CF # MSB offset of Vpredict, Isense and Aux
w c0 2D FF # Vpredict LSB offset, work with 0x2C register to remove Vpredict out of 16 slots
w c0 2E 00 # Isense LSB offset, work with 0x2C register to place Isense on slot 1-4
w c0 2F FF # Aux1 LSB, work with 0x2C register to remove Aux1 out of 16 slots
w c0 30 FF # Aux2 LSB, work with 0x2C register to remove Aux2 out of 16 slots
### Device 2 SDOUT configuration script ####
w c0 60 03 # sync devices through SCLK
w c0 20 10 # configure SCLK to inverted mode if SCLK is 24.576MHz
w c0 25 0F # TDM mode and 32 bit length for Vpredict and Isense
w c0 26 32 # 32 bit length for Aux
w c0 31 02 # enable Ch1/2/3/4 Isense output.
w c0 2C CF # MSB offset of Vpredict, Isense and Aux
w c0 2D FF # Vpredict LSB offset, work with 0x2C register to remove Vpredict out of 16 slots
w c0 2E 80 # Isense LSB offset, work with 0x2C register to place Isense on slot 5-8
w c0 2F FF # Aux1 LSB, work with 0x2C register to remove Aux1 out of 16 slots
w c0 30 FF # Aux2 LSB, work with 0x2C register to remove Aux2 out of 16 slots
### Device 3 SDOUT configuration script ####
w c0 60 03 # sync devices through SCLK
w c0 20 10 # configure SCLK to inverted mode if SCLK is 24.576MHz
w c0 25 0F # TDM mode and 32 bit length for Vpredict and Isense
w c0 26 32 # 32 bit length for Aux
w c0 31 02 # enable Ch1/2/3/4 Isense output.
w c0 2C DF # MSB offset of Vpredict, Isense and Aux
w c0 2D FF # Vpredict LSB offset, work with 0x2C register to remove Vpredict out of 16 slots
w c0 2E 00 # Isense LSB offset, work with 0x2C register to place Isense on slot 9-12
w c0 2F FF # Aux1 LSB, work with 0x2C register to remove Aux1 out of 16 slots
w c0 30 FF # Aux2 LSB, work with 0x2C register to remove Aux2 out of 16 slots
### Device 4 SDOUT configuration script ####
w c0 60 03 # sync devices through SCLK
w c0 20 10 # configure SCLK to inverted mode if SCLK is 24.576MHz
w c0 25 0F # TDM mode and 32 bit length for Vpredict and Isense
w c0 26 32 # 32 bit length for Aux
w c0 31 02 # enable Ch1/2/3/4 Isense output.
w c0 2C DF # MSB offset of Vpredict, Isense and Aux
w c0 2D FF # Vpredict LSB offset, work with 0x2C register to remove Vpredict out of 16 slots
w c0 2E 80 # Isense LSB offset, work with 0x2C register to place Isense on slot 13-16
w c0 2F FF # Aux1 LSB, work with 0x2C register to remove Aux1 out of 16 slots
w c0 30 FF # Aux2 LSB, work with 0x2C register to remove Aux2 out of 16 slots