English
Language : 

CS43130 Datasheet, PDF (44/137 Pages) Cirrus Logic – 130-dB, 32-Bit High-Performance DAC with Integrated Headphone Driver
CS43130
4.9 Audio Serial Port (ASP)
As shown in Fig. 4-20, the master-mode SCLK output for each serial port is derived from the internal MCLK. The SCLK
output can be configured to various frequencies to accommodate many sample rates, sample sizes, and channel counts.
The SCLK is output of a fractional divide from the internal MCLK input, where N is the numerator and M is the denominator.
Note: Depending on the chosen fractional divide configuration, the SCLK duty cycle can vary by one MCLK period.
Input and output SCLK polarity controls (xSP_SCPOL_IN and xSP_SCPOL_OUT) are also available. As shown in
Fig. 4-20, if Master Mode is used, both polarity controls affect the SCLK used by the serial port module. For example, both
polarity controls must be set to invert (xSP_SCPOL_IN = xSP_SCPOL_OUT = 1) to invert the SCLK output and output
data on the falling edge. In typical use cases, the values of xSP_SCPOL_IN equals xSP_SCPOL_OUT in each serial port.
See Fig. 4-23 for example waveforms showing the various settings of the SCLK polarity controls.
Likewise, input and output LRCK polarity controls (xSP_LCPOL_IN and xSP_LCPOL_OUT) are available. In Master
Mode, both LRCK polarity controls affect the LRCK used by the serial-port module as shown in Fig. 4-21. In typical-use
cases, the value of xSP_LCPOL_IN equals xSP_LCPOL_OUT in each serial port.
ASP_LCPOL_OUT p. 102/
XSP_LCPOL_OUT p. 104
ASP_M/SB p. 102/
XSP_M/SB p. 104
From SCLK
ASP_LCHI_LSB p. 101/XSP_LCHI_LSB p. 103
ASP_LCHI_MSB p. 101/XSP_LCHI_MSB p. 103
ASP_LCPR_LSB p. 101/XSP_LCPR_LSB p. 104
ASP_LCPR_MSB p. 101/XSP_LCPR_MSB p. 104
ASP_5050 p. 102/XSP_5050 p. 104
ASP_FSD p. 102/XSP_FSD p. 105
IN
OUT
LR GEN
HI
PER
5050
DELAY
1
0
LRCK to
Serial Port
0
1
ASP _LRCK/ FSYNC
x_M/S = 1 (master) &
PDN_x = 0 (enabled )
EN
ASP_LCPOL_IN p. 102/
XSP_LCPOL_IN p. 104
Figure 4-21. xSP LRCK Architecture
As shown in Fig. 4-22, xSP_LCPR determines the LRCK/FSYNC period, in units of SCLK periods. The LRCK period
effectively sets the length of the frame and the number of SCLK periods per Fs. Frame length may be programmed in
single SCLK period multiples from a minimum of 16 SCLK:Fs up to 1536 SCLK:Fs.
The LRCK-high width (xSP_LCHI) controls the number of SCLK periods for which the LRCK signal is held high during
each frame. Like the LRCK period, the LRCK-high width is programmable in single SCLK periods, from a minimum of one
period to a maximum of the LRCK period minus one (and an absolute maximum of 768 SCLK periods). That is, LRCK-high
width must be less than the LRCK period.
LRCK
SCLK
Falling
Edge
Rising
Edge
xSP _LCHI
...
...
...
xSP _LCPR
...
...
...
Figure 4-22. xSP LRCK Period, High Width
44
DS1073F1