RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 338
Dec 22, 2016
(2) Operation procedure
Figure 12-47. Initial Setting Procedure for Slave Transmission
Set an operation mode, etc.
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 a communication format.
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.
Initial setting is completed.
Set transmit data to the SIOp register
(SDR0nL register) and wait for a clock
from the master.
Set the SS0n bit of the target channel to 1
(SE0n bit = 1 : to enable operation).
Set bits 7 to 1 to 0000000B for baud rate
setting.