Communication Operation Mode; Full Duplex Communication Mode; Figure 3.13 Operation Example Of Full Duplex Communication - Toshiba TXZ Series Reference Manual

32-bit risc microcontroller, serial peripheral inteface tspi-b
Hide thumbs Also See for TXZ Series:
Table of Contents

Advertisement

3.3.4. Communication Operation mode

3.3.4.1. Full duplex communication mode

Figure 3.13 shows an operation example of full duplex communication in continuously transfer (32-bit frame
length, no parity, one-stage of FIFO). ([TSPIxCR2]<TIDLE[1:0]>=10)
a)
[TSPIxCR]<TRXE>
[TSPIxDR]
[TSPIxSR]<TLVL[3:0]>
[TSPIxSR]<RLVL[3:0]>
a)
Write "1" to [TSPIxCR1]<TRXE> to enable communications,
b)
Write data to [TSPIxDR].
c)
If data is written to [TSPIxDR], the data is written to the stage of FIFO directed by internal transmit FIFO
pointer.
d)
Since one stage of data is buffered in the transmit FIFO, [TSPIxSR]<TLVL> becomes "1".
e)
Buffered data in the transmit FIFO is copied to the shift register, so that [TSPIxSR]<TLVL> becomes "0".
After a serial clock delay time (t
starts outputting serial clock.
f)
Since [TSPIxSR]<TLVL> changes to "0" from "1", a transmit FIFO interrupt (or transmit DMA request)
occurs.
g)
On the last rising edge of serial clock, all bits of receive data are captured by the receive shift register and
copied to the receive FIFO. After a CS deassert delay time (t
has elapsed after the last rising edge of serial clock, TSPIxCS0 is deasserted so that a transmit completion
interrupt and a receive completion interrupt occur.
2019-02-28
b)
c)
e)
e)
e)
d)
f)
f)

Figure 3.13 Operation example of full duplex communication

) specified by [TSPIxFMTR0]<CSSCKDL> has elapsed, TSPIxSCK
a
g)
h)
i)
i)
) specified by [TSPIxFMTR0]<SCKCSDL>
b
32 / 67
TXZ Family
Serial Peripheral Interface
j)
Rev. 3.0

Advertisement

Table of Contents
loading

Table of Contents