English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (523/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
(2) Operation procedure
Figure 14-55. Initial Setting Procedure for Slave Reception
Starting initial settings
Setting PER0 register
Setting SPSm register
Release the serial array unit from the
reset status and start clock supply.
Set the prescaler.
Setting SMRmn register
Set an operation mode, etc.
Setting SCRmn register
Setting SDRmn register
Setting port
Writing to SSm register
Starting communication
Set a communication format.
Set bits 15 to 9 to 0000000B for baud
rate setting.
Enable data input and clock 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 to set SEmn = 1.
Wait for a clock from the master.
Caution After setting the SAUmEN to 1, be sure to set the SPSm register after 4 or more clocks have
elapsed.
Figure 14-56. Procedure for Stopping Slave Reception
Starting setting to stop
Setting STm register
Stopping communication
Write 1 to the STmn bit of the target
channel.
Stop communication in midway.
R01UH0004EJ0501 Rev.5.01
507
Jun 20, 2011