English
Language : 

M16C62N Datasheet, PDF (87/213 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Serial I/O
Mitsubishi microcomputers
M16C / 62N Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Serial I/O
Serial I/O is configured as five channels: UART0, UART1, UART2, S I/O3 and S I/O4.
UART0 to 2
UART0, UART1 and UART2 each have an exclusive timer to generate a transfer clock, so they operate
independently of each other.
Figure 1.14.1 shows the block diagram of UART0, UART1 and UART2. Figures 1.14.2 and 1.14.3 show
the block diagram of the transmit/receive unit.
UARTi (i = 0 to 2) has two operation modes: a clock synchronous serial I/O mode and a clock asynchronous
serial I/O mode (UART mode). The contents of the serial I/O mode select bits (bits 0 to 2 at addresses
03A016, 03A816 and 037816) determine whether UARTi is used as a clock synchronous serial I/O or as a
UART.
UART0 through UART2 are almost equal in their functions with minor exceptions. UART2, in particular, is
used for the SIM interface with some extra settings added in clock-asynchronous serial I/O mode (Note). It
also has the bus collision detection function that generates an interrupt request if the TxD pin and the RxD
pin are different in level. UART and IIC mode can be used in UART2.
Table 1.14.1 shows the comparison of functions of UART0 through UART2, and Figures 1.14.4 to 1.14.9
show the registers related to UARTi.
Note: SIM : Subscriber Identity Module
Table 1.14.1. Comparison of functions of UART0 through UART2
Function
UART0
UART1
CLK polarity selection
Possible (Note 1) Possible (Note 1)
UART2
Possible (Note 5)
LSB first / MSB first selection
Possible (Note 1) Possible (Note 1) Possible (Note 2)
Continuous receive mode selection
Transfer clock output from multiple
pins selection
Serial data logic switch
Possible (Note 1) Possible (Note 1) Possible (Note 5)
Impossible
Possible (Note 1) Impossible
Impossible
Impossible
Possible (Note 4)
Sleep mode selection
Possible (Note 3) Possible (Note 3) Impossible
TxD, RxD I/O polarity switch
TxD, RxD port output format
Parity error signal output
Impossible
CMOS output
Impossible
Impossible
CMOS output
Impossible
Possible
N-channel open-drain
output
(Note 6)
Possible (Note 4)
Bus collision detection
Impossible
Impossible
Possible
Note 1: Only when clock synchronous serial I/O mode.
Note 2: Only when clock synchronous serial I/O mode and 8-bit UART mode.
Note 3: Only when UART mode.
Note 4: Using for SIM interface.
Note 5: Since CLK2 and CTS2/RTS2 do not connect to outside, this function cannot be used.
Note 6: Connect this pin to Vcc via a pull-up resistor on the outside.
86