
AT32F413
Series Reference Manual
2022.06.27
Page 175
Rev 2.00
−
I
2SDBN=00, I2SCBN=1, STDSLE=00 or STDSLE=01 or STDSLE=11: wait for the last
RDBF=1 and one CK period before the I
2
S.
−
I2SDBN, I2SCBN,STDSLE combination: wait for the second-to-last RDBF=1 and one CK
period before disabling the I
2
S.
I
2
S transmitter configuration procedure:
Configure operation mode selector
Configure audio protocol selector
Configure I2S_SCK controller
Configure DMA transfer (if necessary)
Set the I2SEN bit to enable I
2
S
Follow above steps to configure the I
2
SxEXT (For I
2
S full-duplex mode )
I
2
S receiver configuration procedure:
Configure operation mode selector
Configure audio protocol selector
Configure I2S_SCK controller
Configure DMA transfer (if necessary)
Set the I2SEN bit to enable I
2
S
Follow above steps to configure the I
2
SxEXT (For I
2
S full-duplex mode )
13.3.7 I2S communication timings
I2S can address four different audio standards: Philips standard, the most significant byte (left-aligned)
and the least significant byte (right-aligned) standards, and the PCM standard.
respective timgins.
Figure 13-19 Audio standard timings
CK
SD
L15
//
R15
//
0
//
WS
//
Left chann el
Right chan nel
Philips
standard
SD
L15
//
L0
0
0
R0
//
0
WS
MSB standard
SD
WS
LSB standard
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
1CK
16CK
16CK
16CK
Right chan nel
Right chan nel
Left chann el
Left chann el