![ARTERY AT32F435 Series Скачать руководство пользователя страница 239](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592239.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 239
Rev 2.03
before disabling the I
2
S.
─
I2SDBN=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.8 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. Figure 13-23 shows
their respective timings.
Figure 13-23 Audio standard timings
CK
SD
L15
//
R15
//
0
//
WS
//
Left
channe
l
Right
channel
Philips
standard
SD
L15
//
L0
0
0
R0
//
0
WS
Left
channel
Right
channel
MSB
standard
SD
WS
Left
channel
Right
channel
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