sta323wqs STMicroelectronics, sta323wqs Datasheet - Page 37

no-image

sta323wqs

Manufacturer Part Number
sta323wqs
Description
2.1-channel High-efficiency Digital Audio System With Qsound Qhd??
Manufacturer
STMicroelectronics
Datasheet
STA323WQS
7.2
7.2.1
7.3
Configuration register B (address 0x01)
Serial audio input interface format
Table 20.
Serial data interface
The STA323WQS serial audio input interfaces with standard digital audio components and
accepts several different serial data formats. The STA323WQS always acts as a slave when
receiving audio input from standard digital audio components. Serial data for two channels
is provided using 3 input pins: left/right clock LRCKI (pin 33), serial clock BICKI (pin 31), and
serial data 1 and 2 SDI12 (pin 32).
The SAI register (configuration register B - 0x01, bits D3-D0) and the SAIFB register
(configuration register B - 0x01, bit D4) are used to specify the serial data format. The
default serial data format is I
in
Figure 48. General serial input and output formats
For example, SAI=1110 and SAIFB=1 specifies right justified 16-bit data, LSB first.
3…0
Bit
Table
C1IM
D7
1
R/W
21,
R/W
I
Left Justified
Right Justified
LRCLK
2
SCLK
SDATA
S
LRCLK
SCLK
SDATA
LRCLK
SCLK
SDATA
Table
Serial audio input interface format
C1IM
0000
D6
0
RST
22, and
MSB
SAI (3...0)
MSB
MSB
Name
DSCKE
Table
Left
D5
2
Left
Left
0
S, MSB first. The formats available are shown in
22.
LSB
LSB
Determines the interface format of the input serial digital audio
interface.
LSB
SAIFB
D4
0
MSB
MSB
MSB
Right
Right
SAI3
Right
D3
0
LSB
LSB
Description
LSB
SAI2
D2
0
MSB
Register descriptions
MSB
MSB
SAI1
D1
0
Figure 48
SAI0
D0
0
37/72
and

Related parts for sta323wqs