M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
Table 16.1. Unassigned Pin Handling in Single-chip Mode
Pin name
Ports P1, P6 to P10
X
(3)
OUT
X
IN
AV
CC
AV
, V
SS
REF
NOTES:
1. When setting the port for output mode and leave it open, be aware that the port remains in input mode until it is
switched to output mode in a program after reset. For this reason, the voltage level on the pin becomes
indeterminate, causing the power supply current to increase while the port remains in input mode. Futhermore,
by considering a possibility that the contents of the direction registers could be changed by noise or noise-
induced runaway, it is recommended that the contents of the direction registers be periodically reset in software,
for the increased reliability of the program.
2. Make sure the unused pins are processed with the shortest possible wiring from the microcomputer pins (within 2
cm).
3. With external clock or VCC input to XIN pin.
4. When using the 48-pin package, set PACR2, PACR1, PACR0 to "100
PACR2, PACR1, PACR0 to "001
5. When the main clock oscillation circuit is not used, set the CM05 bit in the CM0 register to "0" (main clock stops)
to reduce power consumption.
Figure 16.7. Unassigned Pins Handling
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
After setting for input mode, connect every pin to V
or after setting for output mode, leave these pins open.
Open
Connect via resistor to V
Connect to V
CC
Connect to V
SS
".
2
Microcomputer
Port P1, P6 to P10
In single-chip mode
NOTE:
1. When using the 48-pin package, set PACR2, PACR1, PACR0 to "100
When using the 42pin-package, set PACR2, PACR1, PACR0 to "001
page 229
f o
3
2
9
C
2 /
6
) T
Connection
(pull-up)
(5)
CC
(1)
(Input mode)
·
·
·
·
·
·
(Input mode)
(Output mode)
Open
X
IN
X
Open
OUT
V
CC
AV
CC
AV
SS
V
REF
16. Programmable I/O Ports
via a resistor(pull-down);
SS
(1, 2, 4)
". When using the 42-pin package, set
2
V
SS
".
2
".
2