RL78/G1P
CHAPTER 11 SERIAL ARRAY UNIT
R01UH0895EJ0100 Rev.1.00
309
Nov 29, 2019
11.1 Functions of Serial Array Unit
Each serial interface supported by the RL78/G1P has the following features.
11.1.1 3-wire serial I/O (CSI00)
Data is transmitted or received in synchronization with the serial clock (SCK) output from the master channel.
3-wire serial communication is clocked communication performed by using three communication lines: one for the serial
clock (SCK), one for transmitting serial data (SO), one for receiving serial data (SI).
For details about the settings, see
11.5 Operation of 3-Wire Serial I/O (CSI00) Communication.
[Data transmission/reception]
Data length of 7 or 8 bits
Phase control of transmit/receive data
MSB/LSB first selectable
Level setting of transmit/receive data
[Clock control]
Master/slave selection
Phase control of I/O clock
Setting of transfer period by prescaler and internal counter of each channel
Maximum transfer rate
Note
During master communication: Max. f
MCK
/2
During slave communication: Max. f
MCK
/6
[Interrupt function]
Transfer end interrupt/buffer empty interrupt
[Error detection flag]
Overrun error
In addition, CSI00 supports the SNOOZE mode. When SCK input is detected while in the STOP mode, the SNOOZE
mode makes data reception that does not require the CPU possible.
Note
Use the clocks within a range satisfying the SCK cycle time (t
KCY
) characteristics (see
CHAPTER 27
ELECTRICAL SPECIFICATIONS
).