Fujitsu MB96300 series Hardware Manual page 537

F2mc-16fx 16-bit
Hide thumbs Also See for MB96300 series:
Table of Contents

Advertisement

MB96300 Super Series Hardware Manual
Figure 20.7-14 Master-slave communication flowchart
(Master CPU)
Start
Set operation mode 1
Set SIN pin as the
serial data input pin.
Set SOT pin as the
serial data output pin.
Set 7 or 8 data bits .
Set 1 or 2 stop bits .
Set "1" in AD bit
Set TXE = RXE = 1.
Send Slave Address
Set "0" in AD bit.
Communicate with
slave CPU
Is
NO
communication
complete?
YES
Communicate
NO
with another
slave CPU?
YES
Set TXE = RXE = 0.
End
CHAPTER 20 USART
(Slave CPU)
Start
Set operation mode 1
Set SIN pin as the
serial data input pin.
Set SOT pin as the
serial data output pin.
Set 7 or 8 data bits.
Set 1 or 2 stop bits.
Set TXE = RXE = 1.
Receive Byte
NO
Is
AD bit = 1 ?
YES
Does
NO
Slave Address
match?
YES
Communicate with
master CPU
Is
NO
communication
complete?
YES
529

Advertisement

Table of Contents
loading

Table of Contents