G
Communication procedure
Communications start when the master CPU transmits address data.
The address data is data with the A/D bit set to 1. The address/data select bit (SCR1 register bit 11: A/D) is
added to select the slave CPU that the master CPU communicates with.When the program identifies
address data and finds a match with the allocated address, each slave CPU starts communications with the
master CPU.
shows the flowchart for master/slave communications.
Figure 15.6-11 Flowchart for Master/Slave Communications
(Master CPU)
Start
Select operating mode 1
(Asynchronous
multiprocessor mode)
Slave to D0 to D7
Setting 1 byte data
selecting CPU (address
data) and transmission
(A/D=1)
Setting "0" to A/D
Reception operating
enable
Communicating with
slave CPU
NO
Communication finish?
YES
NO
Communicating
with otehr slave
CPU
YES
Reception operating
disabled
CHAPTER 15 UART1
End
473