RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 355
Dec 22, 2016
(2) Operation procedure
Figure 12-61. Initial Setting Procedure for Slave Transmission/Reception
Caution Be sure to set transmit data to the SlOp register before the clock from the master is started.
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 register
Setting the SOE0 register
Setting port
Writing to the SS0 register
Completing initial setting
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 bits 7 to 1 to 0000000B for baud rate
setting.
Set the initial output level of the serial
data (SO0n).
Set the SOE0n bit to 1 and enable data
output of the target channel.
Enable data output of the target channel
by setting a port register and a port
mode register.
e
e
n
o
e
arge
c
anne
o
(SE0n bit = 1: to enable operation).
n
a
se
ng
s comp
e
e
.
Set transmit data to the SIOp register
(SDR0nL register) and wait for a clock
from the master.