RL78/G13 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0146EJ0100 Rev.1.00 574
Sep 22, 2011
12.5 Operation of 3-Wire Serial I/O (CSI00, CSI01, CSI10, CSI11, CSI20, CSI21, CSI30, CSI31)
Communication
This is a clocked communication function that uses three lines: serial clock (SCK) and serial data (SI and SO) lines.
[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
During master communication (CSI00): Max. f
CLK/2
Note
During master communication (other than CSI00): Max. f
CLK/4
Note
During slave communication: Max. f
MCK/6
Note
[Interrupt function]
• Transfer end interrupt/buffer empty interrupt
[Error detection flag]
• Overrun error
In addition, CSIs of following channels 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. Only following CSIs can be
specified for asynchronous reception.
• 24 to 64-pin products: CSI00 only
• 80, 100, 128-pin products: CSI00 and CSI20 only
Note Use the clocks within a range satisfying the SCK cycle time (t
KCY) characteristics (see CHAPTER 29
ELECTRICAL SPECIFICATIONS).
<R>