M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 294

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Table 2.17.1. Relation between ports and I/O functions of built-in peripheral devices
Table 2.17.2. Examples of working on unused pins in single-chip mode
Note 1:
Note 2:
Note 3:
P6
P7
P8
P8
P8
P9
P9
P9
P10
X
UV
USB D+, USB D-
LPF
Ports P0 to P10 (excluding P8
NMI
AV
VbusDTCT
OUT
0
2
6
0
2
3
CC
SS
(6) I/O functions of built-in peripheral devices
(7) Examples of working on non-used pins
, P8
, P8
, P8
Port
, V
, AV
Table 2.17.1 shows relation between ports and I/O functions of built-in peripheral devices.
(Note 1)
Table 2.17.2 contains examples of working on non-used pins. There are shown here for mere ex-
amples. In practical use, make suitable changes and perform sufficient evaluation in compliance with
you application.
(a) Single-chip mode
When an external clock is input to the X
If setting these pins in output mode and opening them, ports are in input mode until switched into
output mode by use of software after reset. Thus the voltage levels of the pins become unstable,
and there can be instances in which the power source current increases while the ports are in
input mode.
In view of an instance in which the contents of the direction registers change due to a runaway
generated by noise or other causes, setting the contents of the direction registers periodically by
use of software increases program reliability.
Output “L” if port P7
Port P7
REF
1
3
7
CC
, P8
Pin name
, BYTE
4
0
and P7
________
I/O pins/Serial sound interface, I
Timer A0 to A3 I/O pins / I/O pins or I
LED drive output pins
Timer A4 I/O pins
Input pins for external interrupt
Sub-clock oscillation circuit I/O pins
Attach/Detach control pin for USB
SOF output pin for USB
A/D trigger input pin
A/D converter input pins / key-input interrupt function input pins
page 285 of 354
1
are N channel open drain output.
0
and P7
5
)
After setting for input mode, connect every pin to V
resistor; or after setting for output mode, leave these pins open.
(Note 1, Note 2, Note 3)
Connect to V
Connect to V
Connect to V
Open
Open
Open
Open
1
are set to output mode.
CC
CC
SS
IN
Internal peripheral device I/O pins
pin.
via a resistor (pull-up)
2
C and SPI communication pins for UART0 and UART1
2
C, SPI communication pins for UART2 and UART3 /
Connection
SS
or V
CC
2. Programmable I/O Ports
via a

Related parts for M30245_06