Preliminary User’s Manual U19014EJ1V0UD
223
CHAPTER 10 SERIAL INTERFACE UART6
10.1 Functions of Serial Interface UART6
Serial interface UART6 has the following two modes.
(1) Operation stop mode
This mode is used when serial communication is not executed and can enable a reduction in the power
consumption.
For details, see
10.4.1 Operation stop mode
.
(2) Asynchronous serial interface (UART) mode
The functions of this mode are outlined below.
For details, see
10.4.2 Asynchronous serial interface (UART) mode
and
10.4.3 Dedicated baud rate
generator
.
•
Maximum transfer rate: 312.5 kbps
•
Two-pin
configuration T
X
D6: Transmit data output pin
R
X
D6: Receive data input pin
•
Data length of communication data can be selected from 7 or 8 bits.
•
Dedicated internal 8-bit baud rate generator allowing any baud rate to be set
•
Transmission and reception can be performed independently (full duplex operation).
•
LSB-first
communication
Cautions 1. If clock supply to serial interface UART6 is not stopped (e.g., in the HALT mode), normal
operation continues. If clock supply to serial interface UART6 is stopped (e.g., in the STOP
mode), each register stops operating, and holds the value immediately before clock supply
was stopped. The T
X
D6 pin also holds the value immediately before clock supply was
stopped and outputs it. However, the operation is not guaranteed after clock supply is
resumed. Therefore, reset the circuit so that POWER6 = 0, RXE6 = 0, and TXE6 = 0.
2. Set POWER6 = 1 and then set TXE6 = 1 (transmission) or RXE6 = 1 (reception) to start
communication.
3. TXE6 and RXE6 are synchronized by the base clock (f
XCLK6
) set by CKSR6. To enable
transmission or reception again, set TXE6 or RXE6 to 1 at least two clocks of the base clock
after TXE6 or RXE6 has been cleared to 0. If TXE6 or RXE6 is set within two clocks of the
base clock, the transmission circuit or reception circuit may not be initialized.
4. Set transmit data to TXB6 at least one base clock (f
XCLK6
) after setting TXE6 = 1.
5. If data is continuously transmitted, the communication timing from the stop bit to the next
start bit is extended two operating clocks of the macro. However, this does not affect the
result of communication because the reception side initializes the timing when it has
detected a start bit.
electronic components distributor