CHAPTER 11 SERIAL INTERFACE UART6
Preliminary User’s Manual U16898EJ1V0UD
204
Figure 11-22. Example of Setting Procedure of SBF Transmission (Flowchart)
Start
Read BRGC6 register and save current
set value of BRGC6 register to general-
purpose register.
Clear TXE6 and RXE6 bits of ASIM6
register to 0 (to disable transmission/
reception).
Set value to BRGC6 register to realize
desired SBF length.
Set character length of data to 8 bits
and parity to 0 or even using ASIM6
register.
Set TXE6 bit of ASIM6 register to 1 to
enable transmission.
Set SBTT6 bit to 1, and set TXB6
register to
“
00H
”
to start transmission.
INTST6 occurred?
No
Yes
Clear TXE6 and RXE6 bits of ASIM6
register to 0. (SBTT6 bit is automatically
cleared.)
Rewrite saved BRGC6 value to BRGC6
register.
Re-set PS61 bit, PS60 bit, and CL6 bit
of ASIM6 register to desired value.
Set TXE6 bit of ASIM6 register to 1 to
enable transmission.
End
Figure 11-23. SBF Transmission
T
X
D6
INTST6
1
2
3
4
5
6
7
8
9
10
11
12
13
Stop
SBTT6
Remark T
X
D6: T
X
D6 pin (output)
INTST6: Transmission completion interrupt request
SBTT6: Bit 5 of asynchronous serial interface control register 6 (ASICL6)
www.DataSheet4U.com
www.DataSheet4U.com