RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
359
Nov 29, 2019
11.5.3 Master transmission/reception
Master transmission/reception is that the RL78/G1P outputs a transfer clock and transmits/receives data to/from other
device.
3-Wire Serial I/O
CSI00
Target channel
Channel 0 of SAU0
Pins used
SCK00, SI00, SO00
Interrupt INTCSI00
Transfer end interrupt (in single-transfer mode) or buffer empty interrupt (in continuous transfer mode)
can be selected.
Error detection flag
Overrun error detection flag (OVFmn) only
Transfer data length
7 or 8 bits
Transfer rate
Note
Max. f
MCK
/2 [Hz]
Min. f
CLK
/(2
2
15
128) [Hz]
f
CLK
: System clock frequency
Data phase
Selectable by the DAPmn bit of the SCRmn register
DAPmn = 0: Data I/O starts at the start of the operation of the serial clock.
DAPmn = 1: Data I/O starts half a clock before the start of the serial clock operation.
Clock phase
Selectable by the CKPmn bit of the SCRmn register
CKPmn = 0: Non-reverse
CKPmn = 1: Reverse
Data direction
MSB or LSB first
Note
Use this operation within a range that satisfies the conditions above and the peripheral functions characteristics in
the electrical specifications (see
CHAPTER 27 ELECTRICAL SPECIFICATIONS
).
Remark
m: Unit number (m = 0), n: Channel number (n = 0), p: CSI number (p = 00), mn = 00