EasyManua.ls Logo

GigaDevice Semiconductor GD32F3x0 - Figure 20-8. Timing Diagram of TI Master Mode with Discontinuous Transfer; Figure 20-9. Timing Diagram of TI Master Mode with Continuous Transfer

Default Icon
665 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GD32F3x0 User Manual
520
full-duplex mode. In MRU or MRB mode, after SPI is enabled, the SPI continuously
generates SCK until the SPI is disabled. So the application should ignore the TBE flag and
read out reception buffer in time after the RBNE flag is set, otherwise a data overrun fault will
occur.
The slave reception mode (SRU or SRB) is similar to the reception sequence of full-duplex
mode except that the TBE bit need to be ignored.
SPI TI mode
SPI TI mode takes NSS as a special frame header flag signal and its operation sequence is
similar to normal mode described above. The modes described above (MFD, MTU, MRU,
MTB, MRB, SFD, STU, SRU, STB and SRB) are still supported in TI mode. While, in TI
mode the CKPL and CKPH bits in SPI_CTL0 registers take no effect and the SCK sample
edge is falling edge.
Figure 20-8. Timing diagram of TI master mode with discontinuous transfer
D[7]
D[6] D[5] D[4] D[3] D[2]
D[1]
D[0]
D[7]
D[6] D[5]
D[4]
D[3]
D[2]
D[1]
D[0]
D[7]
D[6]
D[5]
D[4]
D[3] D[2]
D[1]
D[0]
D[7]
D[6]
D[5]
D[4]
D[3] D[2]
D[1] D[0]
SCK
NSS
MOSI
MISO
sample
Figure 20-9. Timing diagram of TI master mode with continuous transfer
D[7]
D[6] D[5] D[4] D[3] D[2]
D[1]
D[0]
D[7]
D[6] D[5]
D[4]
D[3]
D[2]
D[1]
D[0]
D[7]
D[6]
D[5]
D[4]
D[3] D[2]
D[1]
D[0]
D[7]
D[6]
D[5] D[4]
D[3] D[2]
D[1] D[0]
SCK
NSS
MOSI
MISO
sample
In master TI mode, SPI can perform continuous or non-continuous transfer. If the master
writes SPI_DATA register fast enough, the transfer is continuous, otherwise non-continuous.
In non-continuous transfer there is an extra header clock cycle before each byte. While in
continuous transfer, the extra header clock cycle only exists before the first byte and the
following bytes’ header clock is overlaid at the last bit of pervious bytes.

Table of Contents

Related product manuals