14.1.4
Example of using the UART
UART mode 1 is used in a system in which multiple slave CPUs are connected to a host
CPU.
■ Example of System Construction (Using Mode 1)
Figure 14.1-9 shows an example of constructing a system using mode 1. This resource supports only a
communications interface on the host.
Figure 14.1-9 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 14.1-10
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
Slave CPU #0
SO SI
Slave CPU #1
407