Renesas RL78 Series User Manual page 436

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
(Essential)
(Essential)
(Selective)
(Selective)
(Selective)
(Selective)
(Selective)
(Selective)
(Essential)
(Essential)
Remark
If PER0 is rewritten while stopping the master transmission and the clock supply is stopped, wait
until the transmission target (slave) stops or transmission finishes, and then perform initialization
instead of restarting the transmission.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 13-35. Procedure for Resuming Master Reception
Starting setting for resumption
No
Completing slave
preparations?
Yes
Port manipulation
Changing setting of the SPSm register
Changing setting of the SDRmn register
Changing setting of the SMRmn register
Changing setting of the SCRmn register
Changing setting of the SOm register
Clearing error flag
Port manipulation
Writing to the SSm register
Completing resumption
setting
CHAPTER 13 SERIAL ARRAY UNIT
Wait until stop the communication target
(slave) or communication operation
completed
Disable clock 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 the
transfer baud rate setting (setting the
transfer clock by dividing the operation
clock (f
)).
MCK
Re-set the register to change serial
mode register mn (SMRmn) setting.
Re-set the register to change serial
communication operation setting register
mn (SCRmn) setting.
Set the initial output level of the serial
clock (CKOmn).
If the OVF flag remain set, clear this
using serial flag clear trigger register mn
(SIRmn).
Enable clock output of the target channel
by setting a port register and a port mode
register.
Set the SSmn bit of the target channel to 1
(SEmn bit = 1: to enable operation).
Setting is completed
Sets dummy data to the SIOp register (bits
7 to 0 of the SDRmn register) and start
communication.
415

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents