![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 364](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630364.webp)
www.geehy.com Page 363
Figure 91Connection in Half-duplex Mode (the master is used for receiving, while the
slave is used for transmitting)
Master device
SCK
MOSI
NSS
MISO
Slave device
SCK
MOSI
NSS
MISO
Figure 92 Connection in Half-duplex Mode (the master only transmits, while the slave
receives)
Master device
SCK
MOSI
NSS
MISO
Slave device
SCK
MOSI
NSS
MISO
Figure 93 Bidirectional Line Connection
Master device
SCK
MOSI
NSS
MISO
Slave device
SCK
MOSI
NSS
MISO
Transmitting and receiving of processed data
Data transmission
After the mode configuration is completed, the SPI module is enabled to remain
idle.
Master mode: The software writes a data frame to the transmit buffer, and the
transmission process starts