![Cirrus Logic CS42518 Manual Download Page 34](http://html.mh-extra.com/html/cirrus-logic/cs42518/cs42518_manual_2608577034.webp)
CS42518
34
DS584PP5
4.6.4b
OLM Config #2
This configuration will support up to 8 channels of DAC data, 6 channels of ADC data and no channels of
S/PDIF received data and will handle up to 20-bit samples at a sampling frequency of 96 kHz on all chan-
nels for both the DAC and ADC. The output data stream of the internal and external ADCs is configured
to use the SAI_SDOUT output and run at the SAI_SP clock speeds.
Register / Bit Settings
Description
Functional Mode Register (addr = 03h)
Set CODEC_FMx = SAI_FMx = 00,01,10
CX_LRCK must equal SAI_LRCK; sample rate conversion not supported
Set ADC_SP SELx = 10
Configure ADC data to use SAI_SDOUT and SAI_SP Clocks. S/PDIF data
is not supported in this configuration
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 CODEC Serial Port.
CX_SDOUT= not used
SAI_SDOUT=ADC Data
DAC Mode
,490 7.9945 371 T.4(e)3hn0ian/1r33 Tv3dn6.36 4 .4(4(nal9.4(e)3hnSet SAI_SP M/S = 1 )Tj/TT4 1 Tf7.9945 0 0 7.9945 340.32 468.3 T 1 t9/1r33 Tv3d)-6.88966.R
9 7.98.96 55.26( )6.6( )6.6( )6.6( )6.6S7.98.96 xc (i)-.7( c0r4p.36 4 .4(4(nal9.4(e)3hnSe6 A1(9 c)6.7S21 0 9.9D )6)6.6( 2)6)6.Tc07S2oDer
O -1. ( r63(rmat whe)-7.3(n)0.2( not in one line mo)-7.3(de)]TJ/TT7 1 Tf9.DT7 1 ess7s)]e line mo