![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 502](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800502.webp)
GD32F10x User Manual
502
Figure 18-42. PCM standard long frame synchronization mode timing diagram
(DTLEN=00, CHLEN=1, CKPL=0)
I2S_CK
I2S_SD
16-bit data
MSB
I2S_WS
MSB
frame 1
frame 2
13 bits
16-bit 0
Figure 18-43. PCM standard long frame synchronization mode timing diagram
(DTLEN=00, CHLEN=1, CKPL=1)
I2S_CK
I2S_SD
16-bit data
MSB
I2S_WS
MSB
frame 1
frame 2
13 bits
16-bit 0
18.4.4.
I2S clock
Figure 18-44. Block diagram of I2S clock generator
8-bit
Configurable
Divider
I2SCLK
Frequency dividing ratio =
DIV * 2 + OF
DIV4
DIV2
1
0
CHLEN
0
1
MCKOEN
I2S_CK
I2S_MCK
MCKOEN
The block diagram of I2S clock generator is shown as
Figure 18-44. Block diagram of I2S
. The I2S interface clocks are configured by the DIV bits, the OF bit, the
MCKOEN bit in the SPI_I2SPSC register and the CHLEN bit in the SPI_I2SCTL register. The
source of I2S clock can be either PLL2(CK_PLL2*2) or CK_SYS in order to get the maximum
accuracy. The I2S bitrate can be calculated by the formulas shown in
Table 18-6. I2S bitrate calculation formulas
MCKOEN
CHLEN
Formula
0
0
I2SCLK / (DIV * 2 + OF)
0
1
I2SCLK / (DIV * 2 + OF)
1
0
I2SCLK / (8 * (DIV * 2 + OF))
1
1
I2SCLK / (4 * (DIV * 2 + OF))
The relationship between audio sampling frequency (Fs) and I2S bitrate is defined by the
following formula:
Содержание 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 ...