|
M16C62N Datasheet, PDF (107/213 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
Clock asynchronous serial I/O (UART) mode
Mitsubishi microcomputers
M16C / 62N Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Table 1.14.7 lists the functions of the input/output pins 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 is selected, this pin is in floating state.)
Table 1.14.7. Input/output pin functions in UART mode
Pin name
Function
Method of selection
TxDi
Serial data
(P63, P67, P70) output
RxDi
Serial data
(P62, P66, P71) input
Port P62, P66 and P71 direction register (bits 2 and 6 at address 03EE16,
bit 1 at address 03EF16)= â0â
(Can be used as an input port when performing transmission only)
CLKi
(P61, P65)
Programmable Internal/external clock select bit (bit 3 at address 03A016, 03A816) = â0â
I/O port
Transfer clock Internal/external clock select bit (bit 3 at address 03A016, 03A816) = â1â
input
Port P61 and P65 direction register (bits 1 and 5 at address 03EE16) = â0â
CTSi/RTSi
(P60, P64)
CTS input
CTS/RTS disable bit (bit 4 at address 03A416, 03AC16) =â0â
CTS/RTS function select bit (bit 2 at address 03A416, 03AC16) = â0â
Port P60 and P64 direction register (bits 0 and 4 at address 03EE16) = â0â
RTS output
CTS/RTS disable bit (bit 4 at address 03A416, 03AC16) = â0â
CTS/RTS function select bit (bit 2 at address 03A416, 03AC16) = â1â
Programmable CTS/RTS disable bit (bit 4 at address 03A416, 03AC16) = â1â
I/O port
Note 1: Since CLK2(P72) does not have external port, use internal as UART2 transfer clock.
_______ _______
_______ _______
Note 2: Set the CTS/RTS disable bit (bit 4 at address 037C16) to â1â because CTS2/RTS2(P73) does not have
external port.
106
|
▷ |