M16C/62 Group (M16C/62P, M16C/62PT)
1. Overview
1.6 Pin Description
Table 1.9 Pin Description (100-pin and 128-pin Version) (1)
Power
supply
Signal name Pin name I/O type
Description
Power supply input VCC1, VCC2
VSS
I
I
-
Apply 2.7 to 5.5 V to the VCC1 and VCC2 pins and 0 V to the VSS pin. The VCC
apply condition is that VCC1 ≥ VCC2.(2)
Analog power
supply input
Reset input
CNVSS
AVCC
VCC1
Applies the power supply for the A-D converter. Connect the AVCC pin to
VCC1. Connect the AVSS pin to VSS.
AVSS
____________
RESET
CNVSS
I
I
VCC1
VCC1
The microcomputer is in a reset state when applying "L" to the this pin.
Switches processor mode. Connect this pin to VSS to when after a reset to start
up in single-chip mode. Connect this pin to VCC1 to start up in microprocessor
mode.
External data bus
width select input
BYTE
I
VCC1
Switches the data bus in external memory space. The data bus is 16 bits long
when the this pin is held "L" and 8 bits long when the this pin is held "H". Set it
to either one. Connect this pin to VSS when an single-chip mode.
Inputs and outputs data (D0 to D7) when these pins are set as the separate bus.
Inputs and outputs data (D8 to D15) when external 16-bit data bus is set as the
separate bus.
Bus control pins(4) D0 to D7
D8 to D15
I/O
I/O
VCC2
VCC2
A0 to A19
A0/D0 to
A7/D7
O
VCC2
VCC2
Output address bits (A0 to A19).
I/O
Input and output data (D0 to D7) and output address bits (A0 to A7) by time-
sharing when external 8-bit data bus are set as the multiplexed bus.
Input and output data (D0 to D7) and output address bits (A8 to A15) by time-
sharing when external 16-bit data bus are set as the multiplexed bus.
Output _C___S__0__ to _C___S__3__ signals. _C___S__0__ to _C___S__3__ are chip-select signals to specify an
external space.
______
A1/D0 to
A8/D7
I/O
O
VCC2
VCC2
VCC2
______
______
CS0 to CS3
________ ______
_________
_______
________ _________
______ ________
_____
________
WRL/WR
O
WRH or BHE and WR
Output WRL, WRH, (WR, BHE), RD signals. WRL and
can be switched by program.
_________
WRH/_B__H___E__
_____
________
_____
RD
• WRL, _W___R___H__ and RD are selected
________
The WRL signal becomes "L" by writing data to an even address in an external
memory space.
The _W___R___H__ signal becomes "L" by writing data to an odd address in an external
memory space.
_____
The RD pin signal becomes "L" by reading data in an external memory space.
______
_____
• WR, _B__H___E__ and RD are selected
______
The WR signal becomes "L" by writing data in an external memory space.
_____
The RD signal becomes "L" by reading data in an external memory space.
The _B__H___E__ signal becomes "L" by accessing an odd address.
______
_____
Select WR, _B__H___E__ and RD for an external 8-bit data bus.
ALE
O
I
VCC2
VCC2
VCC2
VCC2
ALE is a signal to latch the address.
__________
__________
HOLD
While the HOLD pin is held "L", the microcomputer is placed in a hold state.
__________
_________
HLDA
O
I
In a hold state, HLDA outputs a "L" signal.
________
RDY
While applying a "L" signal to the _R__D___Y__ pin, the microcomputer is placed in a wait
state.
I : Input
O : Output
I/O : Input and output
Power supply : Power supplies which relate to the external bus pins are separated as VCC2, thus they can be inter-
faced using the different voltage as VCC1.
NOTES:
1. In this manual, hereafter, VCC refers to VCC1 unless otherwise noted.
2. In M16C/62PT, apply 2.7 to 5.5 V to the VCC1 and VCC2 pins. Also the apply condition is that VCC1 ≥ VCC2.
3. When use VCC1 ≥ VCC2, contacts due to some points or restrictions to be checked.
4. This pin function is not in M16C/62PT.
page 16
Rev.2.10 Nov. 07, 2003
of 84