Bidirectional Communication Function (Normal Mode) - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

CHAPTER 21 UART
21.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 21.7-5 must be executed.
SCR3 to SCR0,
SMR3 to SMR0
Mode 0
Mode 2
SSR3 to SSR0,
SIDR3 to SIDR0/
SODR3 to 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 21.7-6, connect 2 CPUs each other.
Figure 21.7-6 Example of Bidirectional Communication Connect for UART
512
Figure 21.7-5 Setting of Operation Mode 0 in UART
bit15 bit14 bit13 bit12 bit11 bit10
PEN
P
SBL
CL
AD
1
0
PE
ORE FRE RDRF TDRE BDS
SOT
SIN
Output
SCK
CPU-1
bit9
bit8
bit7
bit6
bit5
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)
DDR4
D47 D46 D45 D44 D43 D42 D41 D40
DDR9
D96 D95 D94 D93 D92 D91 D90
Input
bit4
bit3
bit2
bit1
bit0
SOT
SIN
SCK
CPU-2

Advertisement

Table of Contents
loading

Table of Contents