RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 392
Dec 22, 2016
(2) Operation procedure
Figure 12-87. Initial Setting Procedure for simplified I
2
C Address Field Transmission
Starting initial setting
Setting the PER0 register
Setting the SPS0 register
Setting the SMR0nH/L register
Setting the SCR0nH/L register
Setting the SDR0nH register
Setting the SO0 and CKO0
re
iste
Setting port
Release the serial a
ray unit from the
reset status and start clock supply.
Set the operation clock.
Set an operation mode, etc.
Set a communication format.
Set a transfer baud rate (setting the
transfer clock by dividing the operation
clock
fMCK
.
Set the initial output level (1) of the serial
data (SO0n) and serial clock (CKO0n).
Enable data output, clock output, and N-ch open-
drain output (V
DD tolerance) mode of the target
channel by setting the port register, port mode
register, and port output mode register.
Completing initial setting