Master/Slave Mode Communication Function (Multiprocessor Mode) - Fujitsu 8FX Hardware Manual

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

MB95630H Series
14.6.6
Master/Slave Mode Communication Function
(Multiprocessor Mode)
Operating mode 1 allows communication among multiple CPUs connected in
master/slave mode. The LIN-UART can be used as a master or a slave.
■ Master/Slave Mode Communication Function
To operate the LIN-UART in multiprocessor mode (operating mode 1), the settings shown in
Figure 14.6-13 are required.
Figure 14.6-13 Settings of LIN-UART Operating Mode 1
bit15 bit14 bit13 bit12 bit11 bit10 bit9
SCR, SMR
PEN
P
Mode 1
+
×
SSR,
PE ORE FRE RDRF TDRE BDS RIE
RDR/TDR
Mode 1
×
ESCR, ECCR LBIE LBD LBL1 LBL0 SOPE SIOP CCO SCES
Mode 1
×
×
: Bit to be used
× : Unused bit
1 : Set to "1"
0 : Set to "0"
+ : Bit correctly set automatically
● Inter-CPU connection
For master/slave mode communication, a communication system consists of two common
communication lines connecting between one master CPU and multiple slave CPUs as shown
in Figure 14.6-14. The LIN-UART can be used as a master or a slave.
Figure 14.6-14 Connection Example of LIN-UART Master/Slave Mode Communication
SOT
SIN
Master CPU
● Function selection
In master/slave mode communication, select the operating mode and the data transfer method
as shown in Figure 14.6-14.
MN702-00009-2v0-E
SBL
CL
AD CRE RXE TXE MD1 MD0 OTO EXT REST UPCL SCKE SOE
0
×
×
SOT
SIN
Slave CPU #0
FUJITSU SEMICONDUCTOR LIMITED
14.6 Operations of LIN-UART and LIN-UART
bit8
bit7
bit6
bit5
0
1
0
Set compare data (during writing)
TIE
Retain receive data (during reading)
LBR MS SCDE SSM
Reserved
0
0
0
×
×
SOT
SIN
Slave CPU #1
CHAPTER 14 LIN-UART
Setting Procedure Example
bit4
bit3
bit2
bit1
0
0
RBI
Reserved
×
×
0
bit0
TBI
237

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents