GD32F20x User Manual
545
Master clock (MCK) can be output.
Transmission and reception using DMA.
21.3.
SPI block diagram
Figure 21-1. Block diagram of SPI
Clock Generator
MISO
NSS
SCK
MOSI
TxRx Control Logic
TX Buffer
Shift Register
RX Buffer
Control
Registers
SYSCLK
LSB
MSB
PAD
O
I
APB
PAD
O
I
PAD
O
I
PAD
O
I
IO2
IO3
PAD
O
I
PAD
O
I
21.4.
SPI signal description
21.4.1.
Normal configuration (Not Quad-SPI Mode)
Table 21-1. SPI signal description
Pin Name
Direction
Description
SCK
I / O
Master: SPI Clock Output
Slave: SPI Clock Input
MISO
I / O
Master: Data reception line
Slave: Data transmission line
Master with Bidirectional mode: Not used
Slave with Bidirectional mode: Data transmission and reception
Line.
MOSI
I / O
Master: Data transmission line
Slave: Data reception line
Master with Bidirectional mode: Data transmission and
reception Line.
Slave with Bidirectional mode: Not used
NSS
I / O
Software NSS Mode: Not Used
Master in Hardware NSS Mode: NSS output (NSSDRV=1) for
Summary of Contents for GD32F20 Series
Page 191: ...GD32F20x User Manual 191 Bits Fields Descriptions 31 0 TRNDATA 31 0 32 Bit Random data ...
Page 290: ...GD32F20x User Manual 290 conversion is ongoing ...
Page 325: ...GD32F20x User Manual 325 15 0 ALRM 15 0 RTC alarm value low ...
Page 385: ...GD32F20x User Manual 385 ...
Page 523: ...GD32F20x User Manual 523 clears AERR bit by writing 0 to it ...