Master/Slave Mode Communication Function (Multiprocessor Mode); Fig. 12.20 Setting Of Operation Mode 1 For Uart1; Fig. 12.21 Example Of Master/Slave Mode Communication Connection For Uart - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

12.7.4 Master/Slave Mode Communication Function (Multiprocessor Mode)

The UART can perform communications using multi-CPU master/slave moe connection and use operation
mode 1. However, it can only be used as the master.
n Master/slave moe communication function
To operate the UART in multiprocessor mode (operation mode 1), the setting in Figure 12.20 is required.
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9
SCR1, SMR1
PEN
P
×
0
SSR1,
PE
ORE
SIDR1/SODR1
×
¥
*1
DDR0
*1
: Set DDR0: bit 3, bit 5 at using UART0
¥ : Used bit
× : Unused bit
1 : Set 1
0 : Set 0
∆ : Set 0 when using input of pin.
• Inter-CPU connection
As shown in Figure 2.21, the communication system is composed by connecting the master CPU and
plural slave CPUs to two common communications lines. UART1 can only be used as the master CPU.
Master CPU

Fig. 12.21 Example of Master/Slave Mode Communication Connection for UART

SBL
CL
AD
REC RXE TXE
¥
¥
1
0
FRE RDRF TDRE BDS
¥
¥
¥
¥

Fig. 12.20 Setting of Operation Mode 1 for UART1

SOT1
SIN1
SOT
Slave CPU#0
UART
bit 8
bit 7
bit 6
MD1
MD0
¥
¥
0
1
Transmit data set (at writing) / Receive data held (at
RIE
TIE
reading)
¥
¥
SIN
SOT
Slave CPU#1
12-35
bit 5
bit 4 bit 3 bit 2
CS2
CS1 CS0
¥
¥
¥
SIN
bit 1
bit 0
SCKE SOE
¥
0

Advertisement

Table of Contents
loading

Table of Contents