
341
CHAPTER 15 UART
15.9.3 Bidirectional communication function (normal mode)
In operation modes 0 and 2, ordinary serial bidirectional communication can be
performed in a one-to-one connection. The synchronization method is asynchronous
in operation mode 0 and synchronous in operation mode 2.
■
Bidirectional communication function
To operate the UART in normal mode (operation modes 0 and 2), the settings shown in Figure
15.9-6 "Settings for UART1 operation mode 0" are necessary.
Figure 15.9-6 Settings for UART1 operation mode 0
❍
Inter-CPU connection
Connect the two CPUs to each other as shown in Figure 15.9-7 "Example of connection for
UART1 bidirectional communication".
Figure 15.9-7 Example of connection for UART1 bidirectional communication
❍
Communication procedure
Communication can start at any time from the sending side when send data is ready. The
receiving side receives send data and periodically returns ANS (in this example for each byte).
Figure 15.9-8 "Example of bidirectional communication flow" shows an example of the
bidirectional communication flow.
: Used bit
: Unused bit
1: Set to 1
0: Set to 0
PEN
bit15
0
P
bit14
SBL
bit13
CL
bit12
1
AD
bit11
REC
bit10
0
RXE
bit9
TXE
bit8
MD1
bit7
1
MD0
bit6
0
CS2
bit5
CS1
bit4
CS0
bit3
bit2
SCKE
bit1
SOE
bit0
SCR1, SMR1
Mode 0
Mode 2
PE
ORE FRE RDRF TDRE
RIE
TIE
SSR1,
SIDR1/SODR1
Mode 0
Mode 2
Send data is set (for writing)/receive data is
retained (for reading)
SOT1
SIN1
SCK1
Output
CPU-1
SOT1
SIN1
SCK1
Input
CPU-2
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......