AT32F425
Series Reference Manual
2022.03.30
Page 180
Ver 2.01
Figure 13-23 Audio standard timings
CK
SD
L15
//
R15
//
0
//
WS
//
Left
channel
Right
channel
Philips
standard
SD
L15
//
L0
0
0
R0
//
0
WS
左声道
Right
channel
MSB
standard
SD
WS
Left
channel
Right
channel
LSB
stanard
SD
D15
//
D0
WS
PCM standard
long frame
SD
WS
PCM standard
short frame
13CK
//
//
//
//
//
//
L0
R0
R15
0
L15
//
L0
0
R15
//
R0
0
D15
//
D0
0
Left channel
1CK
16CK
16CK
16CK
13.3.9 Interrupts
Figure 13-24 I
2
S interrupts
RDBF
RDBFIE
TDBE
TDBEIE
ROERR
TUERR
ERRIE
I2S
中断
13.3.10 IO pin control
The I
2
S needs three pins for transfer operatioin, namely, the SD, WS and CK. The MCLK pin is also
required if need to provide main clock for peripherals. The I
2
S shares some pins with the SPI,
described as follows:
SD: Serial data (mapped on the MOSI pin) for bidirectional data transmission and reception.
WS: Word select (mapped on the CS pin) for data control signal output in master mode, and
input in slave mode.
CK: Communication clock (mapped on the SCK pin) as clock signal output in master mode,and
input in slave mode.
MCLK: Master clock (mapped independently) is used to provide main clock for peripherals. The
frequency of output clock signal is set to 256x Fs (audio sampling frequency)