Master/Slave Mode Communication Function (Multi-Processor Mode) - Fujitsu MB90335 Series Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 18 UART
18.7 Explanation of Operation of UART
18.7.4
Master/Slave Mode Communication Function
(Multi-processor mode)
Operation mode 1 allows communication between multiple CPUs connected in a master/
slave configuration. However, this is available only as master.
■ Master/Slave Mode Communication Function
To operate UART in the multi-processor mode (operation mode 1), the settings described in Figure 18.7-8
must be executed.
SCR0, SCR1,
SMR0, SMR1
SSR0, SSR1,
SIDR0, SIDR1/
SODR0, SODR1
: Used bit
: Unused bit
: Set to "1"
1
: Set to "0"
0
: Set to "0" when using input of pin
Inter-CPU connection
One master CPU and two or more slave CPUs are connected to a pair of common communication lines to
make up the master/slave communication system as shown in Figure 18.7-9. The UART can be used only
as the master CPU.
Figure 18.7-9 Connection Example for UART Master-slave Communications
Master CPU
424
Figure 18.7-8 UART Operation Mode 1 Setting
bit15 bit14 bit13 bit12 bit11 bit10
PEN
P
SBL
CL
0
1
PE
ORE FRE RDRF TDRE BDS
SOT0,
SOT1
SIN0,
SIN1
SOT
SIN
Slave CPU #0
FUJITSU MICROELECTRONICS LIMITED
bit9
bit8
bit7
A/D
REC RXE
TXE
MD1 MD0 SCKL M2L2 M2L1 M2L0 SCKE SOE
0
0
Setting transfer data (at writing)/
RIE
TIE
Holding receive data (at reading)
DDR4 D47 D46 D45 D44 D43 D42 D41 D40
SOT
Slave CPU #1
MB90335 Series
bit6
bit5
bit4
bit3
bit2
1
SIN
CM44-10137-6E
bit1
bit0

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents