STA335W
Register description
5.2.2
5.2.3
Serial data interface
The STA335W audio serial input was designed to interface with standard digital audio
components and to accept a number of serial data formats. STA335W always acts as slave
when receiving audio input from standard digital audio components. Serial data for two
channels is provided using three inputs: left/right clock LRCKI, serial clock BICKI, and serial
data 1 and 2 SDI12.
The SAI bits (D3 to D0) and the SAIFB bit (D4) are used to specify the serial data format.
The default serial data format is I2S, MSB-first. Available formats are shown in the tables
and figure that follow.
Serial data first bit
Table 18. Serial data first bit
SAIFB
0
MSB-first
1
LSB-first
Format
Table 19. Support serial audio input formats for MSB-first (SAIFB = 0)
BICKI
SAI [3:0]
SAIFB
Interface format
32 * fs
0000
0001
0000
0
I2S 15-bit data
0
Left/right-justified 16-bit data
0
I2S 16 to 23-bit data
0001
0
Left-justified 16 to 24-bit data
48 * fs
0010
0110
0
Right-justified 24-bit data
0
Right-justified 20-bit data
1010
0
Right-justified 18-bit data
1110
0000
0
Right-justified 16-bit data
0
I2S 16 to 24-bit data
0001
0
Left-justified 16 to 24-bit data
64 * fs
0010
0110
0
Right-justified 24-bit data
0
Right-justified 20-bit data
1010
0
Right-justified 18-bit data
1110
0
Right-justified 16-bit data
21/43