40
DS1113F1
CS4399
4.8 Audio Serial Port (ASP)
• If xSP_STP = 0, the frame begins when LRCK/FSYNC transitions from high to low. See
for an example
in 50/50 mode. The TDM Mode behaves similarly.
Figure 4-23. Example 50/50 Mode (ASP_STP = 0)
• If xSP_STP = 1, the frame begins when LRCK/FSYNC transitions from low to high. See
for an example
in 50/50 mode. TDM mode is similar.
Figure 4-24. Example 50/50 Mode (ASP_STP = 1)
4.8.8
50/50 Mode
In typical two-channel I
2
S operation (50/50 Mode, xSP_5050 = 1), the LRCK duty cycle is 50%, and each channel is
transferred during one of the two LRCK phases. In this mode, each serial port channel can be independently programmed
to output when LRCK/FSYNC is high or low; this is called the
channel-active phase
.
If the active-phase control bit (xSP_RX_CHn_AP) is set, the respective channel is output when LRCK/FSYNC is high. If
xSP_RX_CHn_AP is cleared, the respective channel is output if LRCK/FSYNC is low. Examples of each setting of xSP_
RX_CHn_AP are shown in
and
In 50/50 Mode, the channel location (see
) is calculated within the channel-active phase. If there are N bits
in a frame, the location of the last bit of each active phase is equal to (N/2) – 1.
Note:
If xSP_5050 is set, xSP_LCHI must be programmed to half of xSP_LCPR for a 50% duty cycle. Also, only two
channels can be enabled for the corresponding serial port.
LRCK
...
...
xSP_STP = 0
SCLK
...
...
Channel y
Channel z
xSP_CHy_LOC = 0,
xSP_CHy_AP = 0
xSP_CHz_LOC = 0,
xSP_CHz_AP = 1
SDIN
Note:
This diagram assumes xSP _FSD = 0.
Channel location index
(xSP_CHy_LOC ,
xSP_CHz_LOC)
0
1
2
N/2
-1
N/2
-2
N/2
-3
...
0
1
2
N/2
-1
N/2
-2
N/2
-3
...
Next
Sample
Previous
Sample
LRCK
SCLK
...
...
Next
Sample
Previous
Sample
SDIN
...
...
xSP_STP = 1
Channel location index
(xSP_CHy_LOC ,
xSP_CHz_LOC)
0
1
2
N/2
-1
N/2
-2
N/2
-3
...
0
1
2
N/2
-1
N/2
-2
N/2
-3
...
Channel z
xSP_CHz_LOC = 0,
xSP_CHz_AP = 1
Channel y
xSP_CHy_LOC = 0,
xSP_CHy_AP = 0
Note: This diagram assumes xSP_FSD = 0.