English
Language : 

CS42418 Datasheet, PDF (24/67 Pages) Cirrus Logic – 110 dB, 192kHz 8-Ch CODEC WITH PLL
CS42418
3.5.4.3 OLM Config #3
This configuration will support up to 8 channels of DAC data, and 6 channels of ADC data. OLM Config
#3 will handle up to 20-bit ADC samples at an Fs of 48 kHz and 24-bit DAC samples at an Fs of 48 kHz.
Since the ADCs data stream is configured to use the ADC_SDOUT output and the internal and external
ADCs are clocked from the ADC_SP, then the sample rate for the DAC Serial Port can be different from
the sample rate of the ADC serial port.
Register / Bit Settings
Functional Mode Register (addr = 03h)
Set DAC_FMx = 00,01,10
Set ADC_FMx = 00,01,10
Set ADC_CLK_SEL = 1
Interface Format Register (addr = 04h)
Set DIFx bits to proper serial format
Set ADC_OLx bits = 00,01
Set DAC_OLx bits = 00,01,10
Misc. Control Register (addr = 05h)
Set DAC_SP M/S = 1
Set ADC_SP M/S = 0 or 1
Set EXT ADC SCLK = 0
Description
DAC_LRCK can run at SSM, DSM, or QSM independent of ADC_LRCK
ADC_LRCK can run at SSM, DSM, or QSM independent of DAC_LRCK
Configure ADC_SDOUT to be clocked from the ADC_SP clocks.
Select the digital interface format when not in one line mode
Select ADC operating mode, see table below for valid combinations
Select DAC operating mode, see table below for valid combinations
Set DAC Serial Port to master mode.
Set ADC Serial Port to master mode or slave mode.
Identify external ADC clock source as ADC Serial Port.
ADC Mode
Not One Line Mode
Not One
Line Mode
DAC_SCLK=64Fs
DAC_LRCK=SSM/DSM/QSM
ADC_SCLK=64Fs
ADC_LRCK=SSM/DSM/QSM
One Line
Mode #1
DAC_SCLK=64Fs
DAC_LRCK=SSM/DSM/QSM
ADC_SCLK=128Fs
ADC_LRCK=SSM
One Line
Mode #2
not valid
DAC Mode
One Line Mode #1
DAC_SCLK=128Fs
DAC_LRCK=SSM/DSM
ADC_SCLK=64Fs
ADC_LRCK=SSM/DSM/QSM
DAC_SCLK=128Fs
DAC_LRCK=SSM/DSM
ADC_SCLK=128Fs
ADC_LRCK=SSM
not valid
One Line Mode #2
DAC_SCLK=256Fs
DAC_LRCK=SSM
ADC_SCLK=64Fs
ADC_LRCK=SSM/DSM/QSM
DAC_SCLK=256Fs
DAC_LRCK=SSM
ADC_SCLK=128Fs
ADC_LRCK=SSM
not valid
LRCK
SCLK
MCLK
SDOUT1
SDOUT2
CS5361
CS5361
RMCK
ADCIN1
ADCIN2
ADC_SCLK
ADC_LRCK
ADC_SDOUT
MCLK
64 F s , 1 2 8F s
SC LK_ POR T1
LRCK_PORT1
S DIN _PO RT1
DAC_SCLK
DAC_LRCK
DAC_SDIN1
DAC_SDIN2
DAC_SDIN3
DAC_SDIN4
CS42418
6 4 F s , 1 28 F s , 2 5 6F s
SC LK_ POR T2
LRCK_PORT2
SDO UT 1_P ORT 2
SDO UT 2_P ORT 2
SDO UT 3_P ORT 2
SDO UT 4_P ORT 2
DIGITAL AUD IO
PROCESSOR
Figure 15. OLM Configuration #3
24