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

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 19 UART
19.5.4 Master/Slave Communication Function (Multiprocessor
Mode)
The UART enables communication in a master/slave connection in which more than
one CPU is connected. Operation mode 1 is used in this case. The UART itself can be
used only as the master system.
Register settings in master/slave communication
Set the registers as shown in Figure 19.5-9 before starting master-slave communication.
Figure 19.5-9 Register settings in master/slave communication
15
bit
PEN P
SCR/SMR
Mode 1
0
SSR,
SIDR/SODR
PE ORE FRE TDRF
Mode 1
*1
DDR7
*1 : When UART0 is used, set the bits 0 and 2 of DDR7.
: Bit used
: Bit undefined
1 : Set to "1"
0 : Set to "0"
: Set "0" when pin input is used
Connection between CPUs in master/slave communication
Figure 19.5-10 shows the connection between CPUs in master/slave communication.
Figure 19.5-10 Connection between CPUs in master/slave communication
Master CPU
434
14
13
12
11
10
SBL CL A/D REC RXE TXE MD1 MD0 CS2 CS1 CS0 BCH SCKE SOE
1
0
RIE TIE Set conversion data (during write)/store reception data (during read)
-
-
SOT0
SIN0
SOT
SIN
Slave CPU #0
9
8
7
6
5
0
1
P77 P76 P75 P74 P73 P72 P71 P70
SOT
SIN
Slave CPU #1
4
3
2
1
0
0

Advertisement

Table of Contents
loading

Table of Contents