Renesas rl78 Answering Machine User Manual


  Open as PDF
of 1004
 
RL78/G1A CHAPTER 12 SERIAL ARRAY UNIT
R01UH0305EJ0200 Rev.2.00 462
Jul 04, 2013
Figure 12-43. Procedure for Resuming Master Transmission/Reception
Starting setting for resumption
Changing setting of the SPSm register
Changing setting of the SMRmn register
Changing setting of the SOm register
Port manipulation
Writing to the SSm register
Completing resumption setting
Disable data output and 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.
Set the initial output level of the serial
clock (CKOmn) and serial data (SOmn).
Enable data output and 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 = 1: to enable operation).
Sets transmit data to the SIOp register (bits
7 to 0 of the SDRmn register) and start
communication.
(Selective)
(
Essential
)
(Selective)
(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
Set the SOEmn bit to 1 and enable
output from the target channel.
(
Selective
)
Changing setting of the SOEm register
Set the SOEmn bit to 0 to stop output
from the target channel.
(Selective)
Changing setting of the SOEm register
Port manipulation
Changing setting of the SDRmn register
(Essential)
Ye s
No
Wait until stop the communication target
(slave) or communication operation
completed
Completing slave
p
re
p
arations?
Remark 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