Example Of Using The Uart - Fujitsu MB91319 Series Hardware Manual

Fr60 32-bit microcontroller
Table of Contents

Advertisement

14.3

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 14.3-1 shows an example of constructing a system using mode 1. This resource supports
only a communications interface on the host.
Figure 14.3-1 Example of Constructing a System Using Mode 1
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 14.3-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.
SO
SI
Host CPU
SO
SI
Slave CPU #0
CHAPTER 14 UART
SO SI
Slave CPU #1
277

Advertisement

Table of Contents
loading

Table of Contents