Audio Codec Controller (ACC)
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
385
0x0000
L
3
[7:0]
L
2
[7:0]
L
1
[7:0]
L
0
[7:0]
0x0004
L
7
[7:0]
L
6
[7:0]
L
5
[7:0]
L
4
[7:0]
0x0008
L
11
[7:0]
L
10
[7:0]
L
9
[7:0]
L
8
[7:0]
0x000C
L
15
[7:0]
L
14
[7:0]
L
13
[7:0]
L
12
[7:0]
0x0010
L
19
[7:0]
L
18
[7:0]
L
17
[7:0]
L
16
[7:0]
18.3.2.2
Data Exchange via I
2
S
The sequence of data exchange via I
2
S bus is based on the configuration of SPORT module, as Table 18-14 illustrates.
Table 18-14 SPORT main configuration
Data Format
I
2
S
Left-Justified
PCM (Long Frame Sync)
Mode A
Mode B
Mode A_N
Mode B_N
PCM (Short Frame Sync)
Mode A
Mode B
Mode A_N
Mode B_N
Resolution
8-bit
16-bit (default)
24-bit
Channel
Stereo (default)
Mono
BCLK Polarity
BCLK (default)
BCLK inverse
Serial Data
MSB first (default)
LSB first
Mode
Master (default)
Slave
Swap
None (default)
L/R Swap
Byte Swap
Clock source
256*fs (default)
128*fs
40M
Loopback
No (default)
SDI -> SDO
SDO -> SDI
The different data formats on I
2
S bus are shown in
SD_I
or
SD_O
SCK
23 22 21
2
1
0
23 22 21
2
1
0
1/
f
s
WS
Left Channel
Right Channel
Fig 18-3 I
2
S audio data format
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03