English
Language : 

M16C62P_06 Datasheet, PDF (191/421 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
M16C/62P Group (M16C/62P, M16C/62PT)
17. Serial Interface
17. Serial Interface
Note
The M16C/62P (80-pin version) and M16C/62PT (80-pin version) do not include CLK2, CTS2/RTS2 and
SIN pins. Do not use the function which needs these pins.
Serial interface is configured with 5 channels: UART0 to UART2, SI/O3 and SI/O4.
17.1 UARTi (i=0 to 2)
Note
The M16C/62P (80-pin version) and M16C/62PT (80-pin version) do not include CLK2, CTS2/RTS2 pins
of UART2.
[Precautions when using UART2]
• Clock synchronous
serial I/O mode
• Clock asynchronous
serial I/O mode
(UART mode)
• Special mode 2
• Special mode 3
• Special mode 4
(SIM mode)
Cannot be used.
The CTS2/RTS2 function and the external clock of transfer clock cannot be used. Set
the CKDIR bit in the U2MR register to “0” and the CRD bit in the U2C0 register to
“1” when using the UART mode.
The slave mode cannot be used. Set the CKDIR bit register to “0” when using the
Special mode 2.
The external clock of transfer clock cannot be used. Set the CKDIR bit register to “0”
when using the Special mode 3.
The external clock of transfer clock cannot be used. Set the CKDIR bit register to “0”
when using the Special mode 4 (SIM mode).
UARTi each have an exclusive timer to generate a transfer clock, so they operate independently of each other.
Figures 17.1 to 17.3 shows the block diagram of UART0 to UART2. Figure 17.4 shows the UARTi Transmit/
Receive Unit.
UARTi has the following modes:
• Clock synchronous serial I/O mode
• Clock asynchronous serial I/O mode (UART mode).
• Special mode 1 (I2C mode)
• Special mode 2
• Special mode 3 (Bus collision detection function, IE mode) : UART0, UART1
• Special mode 4 (SIM mode) : UART2
Figures 17.5 to 17.12 show the UARTi-related registers.
Refer to tables listing each mode for register setting.
Rev.2.41 Jan 10, 2006 Page 176 of 390
REJ09B0185-0241