Master/Slave-Type Communication Function (Multiprocessor Mode) - Fujitsu MB91150 Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

15.9.4 Master/slave-type communication function
(multiprocessor mode)
The UART can communicate with multiple CPUs in a master/slave-type connection in
operation mode 1. However, the UART can only be used as the master CPU.
I Master/slave-type communication function
To operate the UART in multiprocessor mode (operation mode 1), the settings shown in Figure
15.9-9 "Settings for UART operation mode 1" are necessary.
bit15 bit14 bit13 bit12 bit11 bit10 bit9
SCR1, SMR1
PEN
0
SSR1,
PE
ORE FRE RDRF TDRE
SIDR1/SODR1
: Used bit
: Unused bit
1: Set to 1
0: Set to 0
❍ Inter-CPU connection
Connect one master CPU and multiple slave CPUs to two common communication lines and
configure the communication system as shown in Figure 15.9-10 "Example of connection for
UART master/slave-type communication". UART1 can only be used as the master CPU.
Figure 15.9-10 Example of connection for UART master/slave-type communication
Master CPU
❍ Function selection
For master/slave-type communication, select the operation mode and data transfer method as
Figure 15.9-9 Settings for UART operation mode 1
P
SBL
CL
AD
REC RXE TXE MD1 MD0 CS2 CS1 CS0
1
0
SOT1
SIN1
SOT
SIN
Slave CPU #0
bit8
bit7
bit6
bit5
0
1
Send data is set (for writing)/receive data is
RIE
TIE
retained (for reading)
SOT
SIN
Slave CPU #1
CHAPTER 15 UART
bit4
bit3
bit2
bit1
bit0
SCKE SOE
0
343

Advertisement

Table of Contents
loading

Table of Contents