Bidirectional Communication Function (Normal 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.3

Bidirectional Communication Function (Normal Mode)

In the mode 0 and 2, typical serial bidirectional communication on the one-to-one
connection is available. The communication clock mode becomes asynchronous for the
operation mode 0, synchronous for the operation mode 2.
■ Bidirectional Communication Function
To operate UART in the normal mode (operation mode 0, operation mode 2), the settings described in
Figure 18.7-5 must be executed.
SCR1, SCR0,
SMR1, SMR0
Mode 0
Mode 2
SSR1, SSR0,
SIDR1, SIDR0/
SODR1, SODR0
Mode 0
Mode 2
: Used bit
: Unused bit
1
: Set to "1"
0
: Set to "0"
: Set to "0" when using input of pin
Inter-CPU connection
As shown in Figure 18.7-6, connect 2 CPUs each other.
Figure 18.7-6 Example of Bidirectional Communication Connect for UART
CPU-1
422
Figure 18.7-5 Setting of Operation Mode 0 in UART
bit15 bit14 bit13 bit12 bit11 bit10
PEN
P
SBL
CL
A/D
1
0
PE
ORE FRE RDRF TDRE BDS
SOT
SIN
Output
SCK
FUJITSU MICROELECTRONICS LIMITED
bit9
bit8
bit7
bit6
REC RXE
TXE
MD1 MD0 SCKL M2L2 M2L1 M2L0 SCKE SOE
0
0
0
0
1
0
Setting transfer data (at writing)/
RIE
TIE
Holding receive data (at reading)
D47 D46 D45 D44 D43 D42 D41 D40
DDR4
Input
MB90335 Series
bit5
bit4
bit3
bit2
bit1
bit0
SOT
SIN
SCK
CPU-2
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents