17. Serial Interface - Renesas M16C/62P Series Hardware Manual

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)

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)
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 (I
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
REJ09B0185-0241
http://www.xinpian.net
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).
2
C mode)
Page 176 of 390
提供单片机解密、IC解密、芯片解密业务
17. Serial Interface
010-62245566 13810019655

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents