CHAPTER 12 SERIAL INTERFACE UART6
Preliminary User’s Manual U16846EJ1V0UD
254
Figure 12-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 TXB6 register to “00H” and start
transmission after SBTT6 bit is set to 1.
INTST6 occurred?
No
Yes
Clear TXE6 and RXE6 bits of ASIM6
register to 0.
(SBTT6 bit is cleared automatically.)
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 12-23. SBF Transmission
T
X
D6
INTST6
SBTT6
1
2
3
4
5
6
7
8
9
10
11
12
13
Stop
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)