GD32F10x User Manual
504
Figure 18-45. I2S initialization sequence
Is the
MSTMOD
bit is 1
Start
YES
Configure the DIV [7:0] bits, the OF
bit, and the MCKOEN bit to define
the I2S bitrate and master clock
Finish
Configure the CKPL bit to define the clock polarity
of idle state
Configure the I2SSEL bit to select I2S mode
Configure the I2SSTD [1:0] bits and the PCMSMOD
bit to select I2S standard
Configure the I2SOPMOD [1:0] bits to select I2S
operation mode
Configure the DTLEN [1:0] bits and the CHLEN bit
to select I2S data format
Configure the TBEIE bit, the RBNEIE bit, the
ERRIE bit to enable I2S interrupt (optional)
Configure the DMATEN bit, and the DMAREN bit to
enable I2S DMA function (optional)
Configure the I2SEN bit to enable I2S
No
I2S master transmission sequence
The TBE flag is used to control the transmission sequence. As is mentioned before, the TBE
flag indicates that the transmission buffer is empty, and an interrupt will be generated if the
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...