Example Of Using The Uart - Fujitsu FR60 Hardware Manual

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 13 UART

13.4 Example of Using the UART

This section provides an example of using the UART. Mode 1 is used if more than one
slave CPU is connected to a single host CPU.
■ Example of Using the UART
Figure 13.4-1 shows an example of constructing a system using mode 1. This resource supports
only a communication interface on the host.
Figure 13.4-1 Example of Constructing a System Using Mode 1
SO
SI
Host CPU
Communication starts when the host CPU transfers address data. Address data is data used
when A/D of the SCR register is set to "1". This data is used to select a destination slave CPU,
enabling communication with the host CPU. Normal data is data used when A/D of the SCR
register is set to "0". Figure 13.4-2 shows the flowchart.
In this mode, set the PEN bit of the SCR register to "0", since the parity check function cannot
be used.
380
SO SI
Slave CPU #0
SO SI
Slave CPU #1

Advertisement

Table of Contents
loading

Table of Contents