User Manual

DS584F2 49
CS42518
6.5 Interface Formats (address 04h)
6.5.1 DIGITAL INTERFACE FORMAT (DIFX)
Default = 01
Function:
These bits select the digital interface format used for the CODEC Serial Port and Serial Audio Interface
Port when not in One-Line Mode. The required relationship between the Left/Right clock, serial clock,
and serial data is defined by the Digital Interface Format and the options are detailed in 11-12.
6.5.2 ADC ONE_LINE MODE (ADC_OLX)
Default = 00
Function:
These bits select which mode the ADC will use. By default, One-Line Mode is disabled, but it can be
selected using these bits. Please see Figures 13 and 14 to see the format of One-Line Mode 1 and
One-Line Mode 2.
6.5.3 DAC ONE_LINE MODE (DAC_OLX)
Default = 00
Function:
These bits select which mode the DAC will use. By default, One-Line Mode is disabled, but it can be
selected using these bits. Please see Figures 13 and 14 to see the format of One-Line Mode 1 and
One-Line Mode 2.
76543210
DIF1 DIF0 ADC_OL1 ADC_OL0 DAC_OL1 DAC_OL0 SAI_RJ16 CODEC_RJ16
DIF1 DIF0 Description Format Figure
00
Left-Justified, up to 24-bit data
0 11
01
I²S, up to 24-bit data
1
10
10
Right-Justified, 16-bit or 24-bit data
2 12
11
Reserved
--
Table 7. Digital Interface Formats
ADC_OL1 ADC_OL0 Description Format Figure
00
DIF: take the DIF setting from reg04h[7:6]
--
01
One-Line #1
3
13
10
One-Line #2
4
14
11
Reserved
--
Table 8. ADC One-Line Mode
DAC_OL1 DAC_OL0 Description Format Figure
00
DIF: take the DIF setting from reg04h[7:6]
--
01
One-Line #1
3
13
10
One-Line #2
4
14
11
Reserved
--
Table 9. DAC One-Line Mode