Fujitsu MB91150 Series Hardware Manual page 360

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 15 UART
shown in Table 15.9-2 "Selection of master/slave-type communication functions".
Table 15.9-2 Selection of master/slave-type communication functions
Master CPU
Address send
and receive
Mode 1
Data send and
receive
❍ Communication procedure
Communication starts when the master CPU sends address data. Address data is indicated by
the fact that the A/D bit set to 1. It selects the slave CPU to communicate with. Each slave CPU
determines the address data via the program. If the address data matches the allocated
address, the slave CPU communicates (ordinary data) with the master CPU.
Figure 15.9-11 "Flowchart of master/slave-type communication" shows a flowchart of the
master-slave-type communication (in multiprocessor mode).
Figure 15.9-11 Flowchart of master/slave-type communication
344
Operation mode
Slave CPU
-
(Master CPU)
START
Set to operation mode 1
Set the SIN pins to
serial-data input
Set 1-byte data (address
data) that selects the slave
CPU in D0 to D7 and send
(A/D = 1)
Set A/D to 0
Enable receive operation
Communicate with slave CPU
Communication
terminated?
Communicate
with another slave
CPU
Enable receive operation
Data
Parity
A/D=1
+
8-bit address
None
A/D=0
+
8-bit data
NO
YES
NO
YES
Synchronizati
Stop bit
on method
Asynchronous
1 bit or 2 bits
END

Advertisement

Table of Contents
loading

Table of Contents