GD32W51x User Manual
675
Mode
Description
Register configuration
Data pin usage
SFD
Slave full-duplex
MSTMOD = 0
RO = 0
BDEN = 0
BDOEN
: Don’t care
MOSI: Reception
MISO: Transmission
STU
Slave transmission w ith
unidirectional connection
MSTMOD = 0
RO = 0
BDEN = 0
BDOEN
: Don’t care
MOSI: Not used
MISO: Transmission
SRU
Slave reception w ith
unidirectional connection
MSTMOD = 0
RO = 1
BDEN = 0
BDOEN
: Don’t care
MOSI: Reception
MISO: Not used
STB
Slave transmission w ith
bidirectional connection
MSTMOD = 0
RO = 0
BDEN = 1
BDOEN = 1
MOSI: Not used
MISO: Transmission
SRB
Slave reception w ith
bidirectional connection
MSTMOD = 0
RO = 0
BDEN = 1
BDOEN = 0
MOSI: Not used
MISO: Reception
Figure 20-4. A typical full-duplex connection
Master
MFD
MISO
MOSI
SCK
NSS
Slave
SFD
MISO
MOSI
SCK
NSS
Figure 20-5. A typical simplex connection (Master: Receive, Slave: Transmit)
Master
MRU
MISO
MOSI
SCK
NSS
Slave
STU
MISO
MOSI
SCK
NSS