English
Language : 

M16C28 Datasheet, PDF (205/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
14. Serial I/O
Table 14.7 lists the functions of the input/output pins in UART mode. Table 14.8 lists the P64 pin func-
tions during UART mode. Note that for a period from when the UARTi operation mode is selected to when
transfer starts, the TxDi pin outputs an “H”. (If the N-channel open-drain output is selected, this pin is in a
high-impedance state.)
Table 14.7 I/O Pin Functions in UART mode(1)
Pin name
Function
Method of selection
TxDi (i = 0 to 2) Serial data output
(P63, P67, P70)
(Outputs "H" when performing reception only)
RxDi
Serial data input
(P62, P66, P71)
PD6_2 bit, PD6_6 bit in the PD6 register and the PD7_1 bit in the PD7 register
(Can be used as an input port when performing transmission only)
CLKi
Input/output port
(P61, P65, P72)
Transfer clock input
CTSi/RTSi
CTS input
(P60, P64, P73)
RTS output
Input/output port
Set the CKDIR bit in the UiMR register to "0"
Set the CKDIR bit in the UiMR register to "1"
Set the PD6_1 bit and PD6_5 bit in the PD6 register to "0", PD7_2 bit in the PD7
register to "0"
Set the CRD bit in the UiC0 register to "0"
Set the CRS bit in the UiC0 register to "0"
Set the PD6_0 bit and PD6_4 bit in the PD6 register to "0", the PD7_3 bit in the
PD7 register "0"
Set the CRD bit in the UiC0 register to "0"
Set the CRS bit in the UiC0 register to "1"
Set the CRD bit in the UiC0 register "1"
NOTES:
1. When the U1MAP bit in PACR register is set to “1” (P73 to P70), UART1 pin is assgined to P73 to P70.
Table 14.8 P64 Pin Functions in UART mode (1)
Pin function
Bit set value
P64
CTS1
RTS1
CTS0 (2)
U1C0 register
CRD CRS
1
0
0
0
1
0
0
UCON register
RCSP CLKMD1
0
0
0
0
0
0
1
0
PD6 register
PD6_4
Input: 0, Output: 1
0
0
NOTES:
1. When the U1MAP bit in PACR register is “1” (P73 to P70), this table lists the P70 functions.
2. In addition to this, set the CRD bit in the U0C0 register to “0” (CTS0/RTS0 enabled) and the CRS bit
in the U0C0 register to “1” (RTS0 selected).
Rev. 2.00 Jan. 31, 2007 page 185 of 385
REJ09B0047-0200