GD32W51x User Manual
686
Figure 20-14. I2S Phillips standard timing diagram (DTLEN=00, CHLEN=0, CKPL=0)
I2S_CK
I2S_SD
16-bit data
frame 1 (channel left)
frame 2 (channel right)
MSB
MSB
LSB
I2S_WS
Figure 20-15. I2S Phillips standard timing diagram (DTLEN=00, CHLEN=0, CKPL=1)
I2S_CK
I2S_SD
16-bit data
frame 1 (channel left)
frame 2 (channel right)
MSB
MSB
LSB
I2S_WS
When the packet type is 16-bit data packed in 16-bit frame, only one write or read operation
to or from the SPI_DATA register is needed to complete the transmission of a frame.
Figure 20-16. I2S Phillips standard timing diagram (DTLEN=10, CHLEN=1, CKPL=0)
I2S_CK
I2S_SD
32-bit data
frame 1 (channel left)
frame 2 (channel right)
MSB
MSB
LSB
I2S_WS
Figure 20-17. I2S Phillips standard timing diagram (DTLEN=10, CHLEN=1, CKPL=1)
I2S_CK
I2S_SD
32-bit data
frame 1 (channel left)
frame 2 (channel right)
MSB
MSB
LSB
I2S_WS
When the packet type is 32-bit data packed in 32-bit frame, two write or read operations to or
from the SPI_DATA register are needed to complete
the transmission of a frame. In
transmission mode, if a 32-bit data is going to be sent, the first data written to the SPI_DATA
register should be the higher 16 bits, and the second one should be the lower 16 bits. In
reception mode, if a 32-bit data is received, the first data read from the SPI_DATA register
should be the higher 16 bits, and the second one should be the lower 16 bits.
Figure 20-18. I2S Phillips standard timing diagram (DTLEN=01, CHLEN=1, CKPL=0)
I2S_CK
I2S_SD
24-bit data
frame 1 (channel left)
frame 2 (channel right)
MSB
I2S_WS
LSB
8-bit 0
MSB