CHAPTER 14 ASYNCHRONOUS SERIAL INTERFACE (UART)
User’s Manual U16896EJ2V0UD
413
(1) Starting procedure
The procedure to start continuous transmission is shown below.
Figure 14-5. Continuous Transmission Starting Procedure
TXDn (output)
Data (1)
Data (2)
<5>
<1>
<2>
<4>
INTSTn (output)
TXBn register
FFH
FFH
Data (1)
Data (2)
Data (3)
Data (1)
Data (2)
Data (3)
<3>
ASIFn register
(TXBFn, TXSFn bits)
00
11
Note
11
01
01
11
01
11
TXSn register
Start
bit
Stop
bit
Stop
bit
Start
bit
10
Note
Refer
to
14.7 Cautions (2)
.
ASIFn Register
Transmission Starting Procedure
Internal Operation
TXBFn TXSFn
•
Set transmission mode
<1> Start transmission unit
0
0
•
Write data (1)
1
0
<2> Generate start bit
•
Read ASIFn register (confirm that TXBFn bit = 0)
Start data (1) transmission
1
0
0
0
1
Note
1
1
1
•
Write data (2)
<<Transmission in progress>>
1 1
<3> INTSTn interrupt occurs
•
Read ASIFn register (confirm that TXBFn bit = 0)
0
0
1
1
•
Write data (3)
<4> Generate start bit
Start data (2) transmission
<<Transmission in progress>>
1 1
<5> INTSTn interrupt occurs
•
Read ASIFn register (confirm that TXBFn bit = 0)
0
0
1
1
•
Write data (4)
1
1
Note
Refer
to
14.7 Cautions (2)
.