Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 12 SERIAL ARRAY UNIT
R01UH0305EJ0200 Rev.2.00 482
Jul 04, 2013
Figure 12-59. Procedure for Resuming Slave Reception
Starting setting for resumption
Port manipulation
Changing setting of the SPSm register
Changing setting of the SMRmn register
Port manipulation
Writing to the SSm register
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 serial mode
register mn (SMRmn) setting.
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). Wait
for a clock from the master.
(Essential)
(Selective)
(Selective)
(Essential)
(Essential)
Re-set the register to change serial
communication operation setting register
mn (SCRmn) setting.
(Selective)
Changing setting of the SCRmn register
If the OVF flag remain set, clear this
using serial flag clear trigger register mn
(SIRmn).
(Selective)
Clearing error flag
Completing resumption setting
(Essential)
Yes
No
Wait until stop the communication target
(master)
Completing master
p
re
p
arations?
Remarks 1. 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.
2. m: Unit number (m = 0, 1), n: Channel number (n = 0 to 3), p: CSI number (p = 00, 01, 10, 11, 20, 21),
mn = 00 to 03, 10, 11