23
CS42426
3.5.4.2
OLM Config #2
This configuration will support up to 6 channels of DAC data, 6 channels of ADC data and will handle up
to 20-bit samples at a sampling frequency of 96 kHz on all channels for both the DAC and ADC. The out-
put data stream of the internal and external ADCs is configured to use the ADC_SDOUT output and run
at the DAC Serial Port sample frequency.
Register / Bit Settings
Description
Functional Mode Register (addr = 03h)
Set DAC_FMx = 00,01,10
DAC_LRCK can run at SSM, DSM or QSM independent of ADC_LRCK
Set ADC_FMx = 00,01,10
ADC_LRCK can run at SSM, DSM or QSM independent of DAC_LRCK
Set ADC_CLK_SEL = 1
Configure ADC_SDOUT to be clocked from the ADC_SP clocks.
Interface Format Register (addr = 04h)
Set DIFx bits to proper serial format
Select the digital interface format when not in one line mode
Set ADC_OLx bits = 00,01,10
Select ADC operating mode, see table below for valid combinations
Set DAC_OLx bits = 00,01
Select DAC operating mode, see table below for valid combinations
Misc. Control Register (addr = 05h)
Set CODEC_SP M/S = 1
Set CODEC Serial Port to master mode.
Set SAI_SP M/S = 1
Set Serial Audio Interface Port to master mode.
Set EXT ADC SCLK = 1
Identify external ADC clock source as DAC Serial Port.
DAC Mode
Not One Line Mode
One Line Mode #1
One Line Mode #2
ADC Mode
Not One
Line Mode
DAC_SCLK=64Fs
DAC_LRCK=SSM/DSM/QSM
ADC_SCLK=64Fs
ADC_LRCK=SSM/DSM/QSM
DAC_SCLK=128Fs
DAC_LRCK=SSM
ADC_SCLK=64Fs
ADC_LRCK=SSM/DSM/QSM
not valid
One Line
Mode #1
DAC_SCLK=64Fs
DAC_LRCK=SSM/DSM
ADC_SCLK=128Fs
ADC_LRCK=CX_LRCK
DAC_SCLK=128Fs
DAC_LRCK=SSM
ADC_SCLK=128Fs
ADC_LRCK=CX_LRCK
not valid
One Line
Mode #2
DAC_SCLK=64Fs
DAC_LRCK=SSM
ADC_SCLK=256Fs
ADC_LRCK=CX_LRCK
not valid
not valid
SC LK_P OR T1
LR CK _PO RT1
SD IN _POR T1
SC LK_P OR T2
LR CK _PO RT2
S DO UT1_P OR T2
S DO UT2_P OR T2
S DO UT3_P OR T2
R M CK
A D CIN 1
A D CIN 2
MC LK
S D OU T1
S D OU T2
LR C K
S C LK
64Fs ,12 8Fs
ADC Data
64Fs ,12 8Fs,
256Fs
DIG ITAL AUDIO
P RO CESSO R
CS5361
CS5361
AD C _SC LK
A DC _LR CK
A DC _SD O UT
D AC _S CLK
DA C _LR C K
D AC _SD IN 1
D AC _SD IN 2
D AC _SD IN 3
M C LK
Figure 14. OLM Configuration #2
CS42426