RL78/G1D
(2) Operation procedure
Starting initial setting
Setting the PER0 register
Setting the SPSm register
Setting the SMRmn register
Setting the SCRmn register
Setting the SDRmn register
Setting the SOm register
Starting communication
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 13-98. Initial Setting Procedure for Simplified I
Setting port
CHAPTER 13 SERIAL ARRAY UNIT
Release the serial array 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 (f
)).
MCK
Set the initial output level (1) of the serial
data (SOmn) and serial clock (CKOmn).
Enable data output, clock output, and N-ch open-
drain output (V
tolerance) mode of the target
DD
channel by setting the port register, port mode
register, and port output mode register.
2
C
503