Renesas RL78/G1P Hardware User Manual page 435

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

Advertisement

RL78/G1P
Starting setting for resumption
Completing master
(Essential)
(Essential)
Port manipulation
(Selective)
Changing setting of the SPSm register
(Selective)
Changing setting of the SMRmn register
(Selective)
Changing setting of the SCRmn register
(Selective)
Clearing error flag
(Essential)
Port manipulation
(Essential)
Writing to the ISC register
(Essential)
Writing to the SSm register
Completing resumption
Remark
m: Unit number (m = 0), n: Channel number (n = 0), p: CSI number (p = 00)
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 11-88. Procedure for Resuming Slave Reception
No
preparations?
Yes
setting
CHAPTER 11 SERIAL ARRAY UNIT
Wait until stop the communication target (master)
or 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 serial mode register
mn (SMRmn) setting.
Re-set the register to change serial communication
operation setting register mn (SCRmn) setting.
If the OVF flag remains 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 SSIE00 bit to 1 and enable slave select
function operation of channel 0.
Set the SSmn bit of the target channel to 1
(SEmn bit = 1: to enable operation). Wait
for a clock from the master.
416

Advertisement

Table of Contents
loading

Table of Contents