Fujitsu MB90390 Series Hardware Manual page 425

Table of Contents

Advertisement

Figure 20.7-15 Master/Slave Communication Flowchart
(Master CPU)
Start
Set operation mode 1
Set SIN2/SIN3 pin as the
serial data input pin.
Set SOT2/SOT3 pin as the
serial data output pin.
Set 7 or 8 data bits.
Set 1 or 2 stop bits.
Set "1" in A/D bit
Set TXE = RXE = 1.
Send Slave Address
Set "0" in A/D bit.
Communicate with
slave CPU
Is
NO
communication
complete?
YES
Communicate
NO
with another
slave CPU?
YES
Set TXE = RXE = 0.
Set SIN2/SIN3 pin as the
serial data input pin.
Set SOT2/SOT3 pin as the
port input pin.
End
CHAPTER 20 UART2, UART3
(Slave CPU)
Start
Set operation mode 1
Set 7 or 8 data bits.
Set 1 or 2 stop bits.
Set TXE = RXE = 1.
Receive Byte
NO
Is
A/D bit = 1 ?
YES
Does
NO
Slave Address
match?
YES
Communicate with
master CPU
Is
NO
communication
complete?
YES
397

Advertisement

Table of Contents
loading

Table of Contents