English
Language : 

CS4201 Datasheet, PDF (38/68 Pages) Cirrus Logic – CrystalClear Audio Codec 97 with headphone Amplifier
CS4201
4.26 Serial Port Control Register (Index 6Ah)
D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
SDEN 0
0
0
0
0
0
0
0
0
0
0 SDO2 SDSC SDF1 SDF0
SDEN
SDO2
SDSC
SDF[1:0]
Default
Serial Data Output Enable. The SDEN bit enables transmission of serial data on the SDOUT
pin. The SDEN bit routes the left and right channel data from the AC ’97 controller to the serial
data port. The actual data routed to the serial data port is controlled through the
AMAP/SM[1:0] configuration in the AC Mode Control Register (Index 5Eh). SDEN also func-
tions as a master control for the second serial data output port and the serial clock. This bit
can only be ‘set’ if the PRA bit in the Extended Modem Status and Control Register
(index 3Eh) is ‘set’. If the PRA bit is ‘clear’, SDEN is a read-only bit and always returns ‘0’.
Serial Data Output 2 Enable. The SDO2 bit enables transmission of serial data on the
SPDO/SDO2 pin. The SDO2 bit routes the left and right channel data from the AC ’97 con-
troller to the second serial data port. The actual slots routed to the second serial data port are
controlled through the AMAP/SM[1:0] configuration in the AC Mode Control Register (Index
5Eh). This bit can only be ‘set’ if the SDEN bit is ‘1’ and will be ‘cleared’ automatically if SDEN
returns to ‘0’. Furthermore, the SDO2 bit can only be ‘set’ if the SPEN bit in the S/PDIF Control
Register (Index 68h) is ‘0’. If the SDEN bit is ‘0’ or the SPEN bit is ‘1’, SDO2 is a read-only bit
and always returns ‘0’.
Serial Clock Enable. The SDSC bit enables transmission of a serial clock on the EAPD/SCLK
pin. Serial data can be routed to DACs that support internal SCLK mode without transmitting
a serial clock. For DACs that only support external SCLK mode, transmission of a serial clock
is required and this bit must be set to ‘1’. This bit can only be set if the SDEN bit is ‘1’ and will
be cleared automatically if SDEN returns to ‘0’. Furthermore, the SDSC bit can only be ‘set’
if the EAPD bit in the Powerdown Control/Status Register (Index 26h) is ‘0’. If the SDEN bit
is ‘0’ or the EAPD bit is ‘1’, SDSC is a read-only bit and always returns ‘0’.
Serial Data Format. The SDF[1:0] bits control the format of the serial data transmitted on the
two output ports. All ports will use the same format. See Table 11 for available formats.
0000h
SDF1 SDF0
0
0
Serial Data Format
I2S
0
1
Left Justified
1
0 Right Justified, 20-bit data
1
1 Right Justified, 16-bit data
Table 11. Serial Data Format Selection
38
DS483PP3