Two-Way Communication Function (Normal Mode) - Fujitsu MB90480 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 19 UART

19.5.3 Two-Way Communication Function (Normal Mode)

Normal serial two-way communication in a 1:1 connection can be performed in
operation modes 0 and 2. The synchronization type is "asynchronous" for operation
mode 0 and "synchronous" for operation mode 2.
Register settings in two-way communication
Set the registers as shown in Figure 19.5-6 before starting two-way communication.
15
bit
SCR/SMR
PEN P
Mode 0
Mode 2
0
SSR,
SIDR/SODR
PE ORE FRE TDRF
Mode 0
Mode 2
*
DDR7
*
: To use UART0, set the bits 0 and 2 of DDR7.
: Bit used
: Bit undefined
1 : Set to "1"
0 : Set to "0"
: Set "0" when pin input is used
Connection between CPUs in two-way communication
Figure 19.5-7 shows the connection between CPUs in two-way communication.
Figure 19.5-7 Connection between CPUs in two-way communication
SOT0
SIN0
SCK0
CPU1
432
Figure 19.5-6 Register settings in two-way communication
14
13
12
11
10
SBL CL A/D REC RXE TXE MD1 MD0 CS2 CS1 CS0 BCH SCKE SOE
0
1
0
-
RIE TIE Set conversion data (during write)/store reception data (during read)
-
-
Output
9
8
7
6
5
0
0
1
0
P77 P76 P75 P74 P73 P72 P71 P70
SOT0
SIN0
SCK0
Input
CPU2
4
3
2
1
0

Advertisement

Table of Contents
loading

Table of Contents