SLOA349 March   2025 TAS6584-Q1 , TAS6684-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2SDOUT Configuration
    1. 2.1 SDOUT – I2S Configuration
    2. 2.2 SDOUT – TDM Configuration
  6. 3SDOUT Connection in Multi-Device System
  7. 4Output Current and Voltage Calculation
  8. 5Summary
  9. 6References

SDOUT – I2S Configuration

Using SDOUT in I2S mode requires the usage of two data output pins (SDOUT1 and SDOUT2) to transmit data for all for four channels. A GPIO pin must be configured as SDOUT2. Bits [7:4] of register 0x25 determine which channel information is assigned to SDOUT1 and SDOUT2. Register 0x31 enables the output current and the voltage predict data to be transmitted on the SDOUT pins. In I2S mode, the output current and the voltage predict cannot be transmitted simultaneously.

Table 2-7 SDOUT – I2S Configuration
Register 0x25, bit[7:4] Register 0x31, bit[3:0] Register 0x31, bit[5:4] Pin Slot 1 Slot 2
0001 0011 01 SDOUT1 Isense Ch1 Isense Ch2
SDOUT2 Isense Ch3 Isense Ch4
0010 0011 01 SDOUT1 Isense Ch3 Isense Ch4
SDOUT2 Isense Ch1 Isense Ch2
0001 0011 00 SDOUT1 Vpredict Ch1 Vpredict Ch2
SDOUT2 Vpredict Ch3 Vpredict Ch4
0010 0011 00 SDOUT1 Vpredict Ch3 Vpredict Ch4
SDOUT2 Vpredict Ch1 Vpredict Ch3
0001 0011 10 SDOUT1 Aux Ch1 Aux Ch2
SDOUT2 Aux Ch3 Aux Ch4
0010 0011 10 SDOUT1 Aux Ch3 Aux Ch4
SDOUT2 Aux Ch1 Aux Ch2

Following are the example PPC3 script and Figure 2-1 of the first row of the Table 2-7, to operate SDOUT to transmit Isense of four channels in I2S mode.

w c0 96 08           # configure GPIO_2 for SDOUT2
w c0 A0 40           # configure GPIO_2 as output
w c0 25 1A           # output channel 1/2 in SDOUT1 line and channel 3/4 in SDOUT2 line. 24 bits word length 
w c0 31 13           # enable Ch1/2/3/4 Isense output
w c0 2C 0F           # MSB offset of Vpredict, Isense and Aux
w c0 2D 00           # Vpredict LSB offset, MSB in 0x2C
w c0 2E 00           # Isense LSB offset, MSB in 0x2C

Note: Script format: write/read, device address, register address, data
      w: I2C write command
      r: I2C read command
     c0: device address 
For example: w c0 96 08 action is: write c0 device register address 0x96 to value 0x08       

 Timing Diagram Example for
                    SDOUT in I2S Configuration Figure 2-1 Timing Diagram Example for SDOUT in I2S Configuration