CHAPTER 10 SERIAL INTERFACE FUNCTION
User’s Manual U14492EJ3V0UD
446
10.3 Asynchronous Serial Interfaces 1, 2 (UART1, UART2)
10.3.1 Features
•
Clocked (synchronous) mode/asynchronous mode can be selected
•
Operation clock
Synchronous mode: Baud rate generator/external clock selectable
Asynchronous mode: Baud rate generator
•
Transfer rate
600 bps to 153600 bps (in asynchronous mode, f
XX
= 50 MHz)
•
Full-duplex communications (LSB first)
On-chip reception buffer register n (RXBn)
•
Three-pin configuration
TXDn: Transmit data output pin
RXDn: Receive data input pin
ASCKn: Synchronous serial clock I/O
•
Reception error detection function
•
Parity error
•
Framing error
•
Overrun error
•
Interrupt sources: 2 types
•
Reception completion interrupt (INTSRn):
Interrupt is generated when receive data is transferred from the
shift register to the reception buffer register n (RXBn) after serial
transfer is completed during a reception enabled state.
•
Transmission completion interrupt (INTSTn): Interrupt is generated when the serial transmission of trans-
mit data (8/7 bits) from the shift register is completed.
•
The character length of transmit/receive data is specified with the ASIMn0 register (extension bits are specified
with the ASIMn1 register)
•
Character length:
7 or 8 bits
9 bits (when extension bit is added)
•
Parity functions: Odd, even, 0, or no parity
•
Transmission stop bits: 1 or 2 bits
•
Communication mode: 1-frame transfer or 2-frame continuous transfer enabled
•
On-chip dedicated baud rate generator
Remarks 1.
n = 1, 2
2.
f
XX
: Internal system clock