Bidirectional Communication Function (Normal Mode) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 UART
17.7.3

Bidirectional Communication Function (Normal Mode)

In operation mode 0 or 2, normal serial bidirectional communication (one-to-one
connection) is available. Select operation mode 0 for asynchronous communication
and operation mode 2 for synchronous communication.
■ Bidirectional Communication Function
The settings shown in Figure 17.7-4 are required to operate UART in normal mode (operation mode 0 or 2).
SCR0/SCR1,
SMR0/SMR1
Mode 0
Mode 2
SSR0/SSR1,
SIDR0/SIDR1
SODR0/SODR1
Mode 0
Mode 2
DDR4 (UART0)
DDR6 (UART1)
: Bit used
x : Bit not used
1 : Set "1"
0 : Set "0"
: Set "0" to use an input pin
Inter-CPU connection
As shown in Figure 17.7-5, interconnect two CPU's.
Figure 17.7-5 Connection Example of UART Bidirectional Communication
504
Figure 17.7-4 Settings for UART Operation Mode 0
bit 15
14
13
12
PEN P SBL
CL AD
0
×
×
1
PE OREFRE
RDRFTDRE
×
×
SOT
SIN
Ouput
SCK
CPU-1
11
10
9
8
7
6
REC
RXE
TXE
MD1 MD0 CS2
×
0
0
0
×
0
1
0
Set conversion data (during writing).
BDS
RIE TIE
Retain receive data (during reading).
Input
5
4
3
2
1
0
CS1 CS0
RST
SCKE SOE
×
×
SOT
SIN
SCK
CPU-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents