●
Function selection
Select the operation mode and data transfer mode for master-slave communication as shown in Table
Table 17.7-2 Selection of the Master-slave Communication Function
Address transmission and reception
Data transmission and reception
●
Communication procedure
When the master CPU transmits address data, communication starts. The A/D bit in the address data is set
to "1", and the communication destination slave CPU is selected. Each slave CPU checks the address data
using a program. When the address data indicates the address assigned to a slave CPU, the slave CPU
communicates with the master CPU (ordinary data).
Figure 17.7-9 shows a flowchart of master-slave communication (multiprocessor mode).
Operation mode
Master CPU
Slave CPU
Mode 1
–
Data
Parity
A/D = 1
+
8-bit address
None
A/D = 0
+
8-bit data
CHAPTER 17 UART
Synchronizati
Stop bit
on method
1 or 2
Asynchronous
bits
507