Datasheet
RL78/L12 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0330EJ0200 Rev.2.00 421
Dec 13, 2013
12.5.2 Master reception
Master reception is that the RL78 microcontroller outputs a transfer clock and receives data from other device.
3-Wire Serial I/O CSI00 CSI01
Target channel Channel 0 Channel 1
Pins used SCK00, SI00 SCK01, SI01
Interrupt INTCSI00 INTCSI01
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 Max. fMCK/2 [Hz] (CSI00), fMCK/4 [Hz] (CSI01)
Min. f
CLK/(2 × 2
15
× 128) [Hz]
Note
fCLK: System clock frequency
Data phase Selectable by the DAPmn bit of the SCRmn register
• DAPmn = 0: Data input starts from the start of the operation of the serial clock.
• DAPmn = 1: Data input 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 30 ELECTRICAL SPECIFICATIONS (A, G: T
A = -40 to +85°C) and
CHAPTER 31 ELECTRICAL SPECIFICATIONS (G: TA = -40 to +105°C)).
Remark m: Unit number (m = 0), n: Channel number (n = 0, 1), mn = 00, 01