EasyManua.ls Logo

Renesas RL78/G10 - Page 357

Renesas RL78/G10
637 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G10 CHAPTER 12 SERIAL ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 340
Dec 22, 2016
Figure 12-49. Procedure for Resuming Slave Transmission
Starting setting for resumption
Port manipulation
Changing setting of the SPS0 register
Changing setting of the SMR0nH/L register
Changing setting of the SO0 register
Port manipulation
Writing to the SS0 register
Disable data output of the target channel
by setting a port register and a port
mode register.
Re-set the register to change the operation
clock setting.
Re-set the register to change serial
mode register 0n (SMR0nH/L) setting.
Set the initial output level of the serial
data
(
SO0n
)
.
Enable data output of the target channel
by setting a port register and a port mode
register.
Set the SS0n bit of the target channel to 1
(SE0n = 1 : to enable operation).
Sets transmit data to the SIOp register
(SDR0nL register) and wait for a clock from
the master.
(
Selective
)
(
Selective
)
(
Selective
)
(
Essential
)
(
Essential
)
(Essential)
(Essential)
Re-set the register to change serial
communication operation setting register
0n (SCR0nH/L) setting.
(
Selective
)
Changing setting of the SCR0nH/L register
If the OVF flag remain set, clear this
using serial flag clear trigger register 0n
(SIR0n).
(
Selective
)
Clearing error flag
Set the SOE0n bit to 1 and enable
output from the target channel.
(
Essential
)
Changing setting of the SOE0 register
Completing resumption setting
Starting communication
Set the SOE0n bit to 0 to stop output
from the target channel.
(
Selective
)
Changing setting of the SOE0 register
(Essential)
Yes
No
Wait until stop the communication target
(master)
Completing master
p
re
p
arations?
Remark If PER0 is rewritten while stopping the master transmission and the clock supply is stopped, wait
until the transmission target (master) stops or transmission finishes, and then perform
initialization instead of restarting the transmission.

Table of Contents

Related product manuals