338
CHAPTER 20 UART2, UART3
20.1
Overview of UART2, UART3
The UART2, UART3 with LIN (Local Interconnect Network) - Function is a general-
purpose serial data communication interface for performing synchronous or
asynchronous communication with external devices. UART2, UART3 provides
bidirectional communication function (normal mode), master/slave communication
function (multiprocessor mode in master/slave systems), and special features for LIN-
bus systems (working both as master or as slave device).
Please note that UART2, UART3 is not software compatible to the other UARTs.
■
UART2, UART3 Functions
●
UART2, UART3 functions
UART2, UART3 is a general-purpose serial data communication interface for transmitting serial data to
and receiving data from another CPU and peripheral devices. It has the functions listed in Table 20.1-1.
Table 20.1-1 UART2, UART3 Functions (1/2)
Item
Function
Data buffer
Full-duplex
Serial Input
The machine clock performs oversampling 5 times and the receive value is
determined by the majority decision of sampling value (asynchronous mode
only)
Transfer mode
•
Clock synchronous (start-stop synchronization and start-stop-bit-option)
•
Clock asynchronous (using start-, stop-bits)
Baud rate
•
A dedicated baud rate generator is provided, which consists of a 15-bit-
reload counter
•
An external clock can be input and also be adjusted by the reload counter
Data length
•
7 bits (not in synchronous or LIN mode)
•
8 bits
Signal mode
Non-return to zero (NRZ)
Start bit timing
Clock synchronization to the falling edge of the start bit in asynchronous
mode
Reception error detection
•
Framing error
•
Overrun error
•
Parity error (Not supported in Mode 1)
Interrupt request
• Reception interrupt (reception complete, reception error detect, LIN-
Synch-break detect)
• Transmission interrupt (transmission data empty)
•
Interrupt request to ICU (LIN synch field detection: LSYN)
•
Both transmission and reception support for extended intelligent
I/O service (EI
2
OS) and DMA function.
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......