CHAPTER 15 UART
15.1 Overview of the UART
The UART is a general-purpose serial data communication interface for synchronous
or asynchronous communication (start-stop synchronization) with external devices.
The UART has an ordinary bidirectional communication function (normal mode) and a
master/slave-type communication function (multiprocessor mode: Only the master is
supported).
I UART functions
❍ UART functions
The UART is a general-purpose serial data communication interface that sends serial data to
and receives serial data from other CPUs and peripheral devices. The UART has the functions
listed in Table 15.1-1 "UART functions".
Table 15.1-1 UART functions
Data buffer
Transfer mode
Baud rate
Data length
Signal method
Receive-error detection
Interrupt request
Master/slave-type
communication function
(multiprocessor mode)
Note:
The UART appends neither a start bit nor stop bit, and transfers only the data itself during
clock synchronous transfer.
304
Full-duplex double buffer
•
Synchronous with the clock (without start/stop bits)
•
Asynchronous with the clock (start-stop synchronization cycle)
•
A dedicated baud-rate generator is provided. One of eight
types can be selected.
•
External clock input enabled
•
Internal clock (An internal clock whose pulses are supplied
from the 16-bit reload timer that corresponds to each channel
can be used.)
•
7 bits (only in asynchronous normal mode)
•
8 bits
Non Return to Zero (NRZ) method
•
Framing error
•
Overrun error
•
Parity error (disabled in multiprocessor mode)
•
Receive interrupt (receiving completed, receive-error
detection)
•
Send interrupt (sending completed)
Enables 1-to-n (master-to-slaves) communication.
(Only the master is supported.)
Function