GD32F10x User Manual
484
18.3.
SPI function overview
18.3.1.
SPI block diagram
Figure 18-1. Block diagram of SPI
Clock Generator
MISO
NSS
SCK
MOSI
Control Logic
TX Buffer
Shift Register
RX Buffer
Control
Registers
SYSCLK
LSB
MSB
APB
PAD
O
I
PAD
O
I
PAD
O
I
PAD
O
I
18.3.2.
SPI signal description
Normal configuration
Table 18-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: when NSSDRV=1, it is NSS
output, suitable for single master application; when
NSSDRV=0, it is NSS input, suitable for multi-master
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...