R01UH0092EJ0110 Rev.1.10
Page 189 of 807
Jul 31, 2012
M16C/64C Group
13. Programmable I/O Ports
Figure 13.16 Unassigned Pin Handling in Memory Expansion Mode and Microprocessor Mode
Table 13.15
Unassigned Pin Handling in Memory Expansion Mode and Microprocessor Mode
Pin Name
Connection
(2)
Ports P0 to P5
One of the following:
•
Set to input mode and connect a pin to VSS via a resistor (pull-down)
•
Set to input mode and connect a pin to VCC2 via a resistor (pull-up)
•
Set to output mode and leave the pins open
(1, 3)
Ports P6 to P10
One of the following:
•
Set to input mode and connect a pin to VSS via a resistor (pull-down)
•
Set to input mode and connect a pin to VCC1 via a resistor (pull-up)
•
Set to output mode and leave the pins open
BHE
, ALE,
HLDA
, XOUT
(5)
, BCLK
(6)
Open
HOLD
,
RDY
Connect to VCC2 via a resistor (pull-up)
XIN
Connect to VCC1 via a resistor (pull-up)
AVCC
Connect to VCC1
AVSS, VREF
Connect to VSS
Notes:
1.
When setting a port to output mode and leaving it open, be aware that the port remains in input mode until it
is switched to output mode by a program after reset. For this reason, the voltage level on the pin becomes
undefined, causing the power supply current to increase while the port remains in input mode.
Furthermore, since the values of the direction registers can be changed by noise or noise-induced loss of
control, it is recommended that the values of the direction registers be regularly reset in software to improve
the reliability of the program.
2.
Connect unassigned pins with shortest possible wiring from the MCU pins (maximum 2 cm).
3.
When the CNVSS pin has the VSS level applied to it, these pins are set as input ports until the processor
mode is switched by a program after reset. For this reason, the voltage levels on these pins become
undefined, causing the power supply current to increase while they remain set as input ports.
4.
Ports P7_0, P7_1, and P8_5 are N-channel open drain outputs. When ports P7_0, P7_1, and P8_5 are set
to output mode, make sure a low is output from the pins.
5.
This applies when an external clock is input to the XIN pin or when VCC1 is connected via a resistor.
6.
When the PM07 bit in the PM0 register is 1 (BCLK not output), connect it to VCC2 via a resistor (pull-up).
XIN
XOUT
AVCC
AVSS
VREF
Open
MCU
VCC2
Memory expansion mode or
microprocessor mode
HOLD
RDY
ALE
BHE
HLDA
(Input mode)
.
.
.
(Input mode)
(Output mode)
Open
.
.
.
VSS
VCC1
VCC1
BCLK
Ports P6 to P10
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...