Renesas RL78/G1P Hardware User Manual page 467

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Starting setting for resumption
Completing communication
(Essential)
(Selective)
Changing setting of the SPSm register
(Selective)
Changing setting of the SDRmn register
Changing setting of the SMRmn
(Selective)
and SMRmr registers
(Selective)
Changing setting of the SCRmn register
(Selective)
Clearing error flag
(Essential)
(Essential)
Writing to the SSm register
Completing resumption
Caution After is set RXEmn bit to 1 of SCRmn register, set the SSmn = 1 from an interval of at least
four clocks of f
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.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 11-111. Procedure for Resuming UART Reception
No
target preparations?
Yes
Setting port
setting
.
MCK
CHAPTER 11 SERIAL ARRAY UNIT
Stop the target for communication or wait until
completes its communication operation.
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 registers to change serial mode
registers mn, mr (SMRmn, SMRmr) setting.
Re-set the register to change serial communication
operation setting register mn (SCRmn) setting.
If the FEF, PEF, and OVF flags remain
set, clear them using serial flag clear trigger
register mn (SIRmn).
Enable data input of the target channel by setting a
port register and a port mode register.
Set the SSmn bit of the target channel to 1 and set
the Semn bit to 1 (to enable operation).
Become wait for start bit detection.
)).
448

Advertisement

Table of Contents
loading

Table of Contents