RL78/G13 Handshake-based SPI Master Transmission/Reception
R01AN6883EJ0100 Rev.1.00 Page 5 of 38
June.15.23
1.2 Outline of Communication
In this application note, a command and communication for the command are performed at intervals of
1 ms. A set of a command and communication for the command is defined as a slot. Figure 1-2 shows an
outline of slot processing and Table 1-1 lists the commands to be used.
Figure 1-2 Outline of Slots
Table 1-1 Commands to be Used
Checks the number of data characters that the slave can transmit
or receive.
Receives data from the slave.
Transmits data to the slave.
Transmits and receives data to and from the slave.
Table 1-2 lists the peripheral functions and their uses. Figure 1-3 and Figure 1-4 show the CSI
communication operations.
Table 1-2 Peripheral Functions and Their Uses
Performs CSI master communication using the SCK00 signal (clock
output), SI00 signal (receive data), and SO00 signal (transmit data).
Uses P52 for CS1 signal, P53 for CS2 signal, and P54 for BUSY
Channel 3
The upper 8 bits are used as a 1-ms interval timer.
The lower 8 bits are used as a 16-µs interval timer.
Command
Communication
for the command