INPUT/OUTPUT PINS
5.3 Examples of handling unused pins
5.3 Examples of handling unused pins
When unusing an I/O pin, some handling is necessary for this pin. Examples of handling unused pins are
described below.
The following are just examples. In actual use, the user shall modify them according to the user’s application
and properly evaluate their performance.
Table 5.3.1 Example of handling unused pins
Pin name
P1, P2, P5 to P7
Handling example
Set these pins to the input mode and connect each
pin to Vcc or Vss via a resistor; or set these pins to
the output mode and leave them open
(Note 1).
P6OUT
CUT
/INT
4
X
OUT
(Note 2),
V
CONT
(Note 3)
AV
CC
AV
SS
, V
REF
Connect this pin to Vcc via a resistor.
Select a falling edge for pin INT
4
.
Leave these pins open.
Connect this pin to Vcc.
Connect these pins to Vss.
Notes 1:
When leaving these pins open after they have been set to the output mode, note the following:
these port pins are placed in the input mode from reset until they are switched to the output mode
by software. Therefore, voltage levels of these pins are undefined and the power source current
may increase while these port pins are placed in the input mode.
Software reliability can be enhanced by setting the contents of the above ports’ direction registers
periodically. This is because these contents may be changed by noise, a program runaway which
occurs owing to noise, etc.
For unused pins, use the shortest possible wiring (within 20 mm from the microcomputer’s pins).
2:
This applies when a clock externally generated is input to pin X
IN
.
3:
Be sure that the PLL circuit operation enable bit (bit 1 at address BC
16
) = “0.”
When setting port pins to input mode
When setting port pins to output mode
P1, P2, P5 to P7
P1, P2, P5 to P7
X
OUT
V
CONT
Left open
X
OUT
V
CONT
Left open
V
CC
Left open
V
CC
Fig. 5.3.1 Example of handling unused pins
M37906
M37906
AV
CC
AV
SS
V
R EF
V
CC
AV
CC
AV
SS
V
R EF
V
CC
V
SS
P6OUT
CUT
/INT
4
V
SS
P6OUT
CUT
/INT
4
7906 Group User’s Manual Rev.2.0
5-7