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

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

Advertisement

21.3.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.
I Register settings in two-way communication
Set the registers as shown in Figure 21.3-6 "Register settings in two-way communication"
before starting two-way communication.
15
Bit
PEN P
SCR/SMR
Mode 0
Mode 2
0
SSR,
SIDR/SODR
PE ORE FRE TDRF
Mode 0
Mode 2
*1
DDR7
*1 : When UART0 is used, set the bits 1 and 2 of DDR7.
1 : Set to "1"
0 : Set to "0"
I Connection between CPUs in two-way communication
Figure 21.3-7 "Connection between CPUs in two-way communication" shows the connection
between CPUs in two-way communication.
Figure 21.3-7 Connection between CPUs in two-way communication
Figure 21.3-6 Register settings in two-way communication
14
13
12
11
10
SBL CL AD 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)
-
-
: Bit used
: Bit not used
: Set "0" when pin input is used
SOT0
SIN0
SCK0
Output
CPU1
9
8
7
6
5
0
0
1
0
P77 P76 P75 P74 P73 P72 P71 P70
SOT0
SIN0
SCK0
Input
CHAPTER 21 UART
4
3
2
1
0
CPU2
415

Advertisement

Table of Contents
loading

Table of Contents