page 15
3
8
f
o
4
0
2
,
1
0
.
n
u
J
0
.
1
.
v
e
R
p
u
o
r
G
1
8
/
C
2
3
M
1. Overview
1.7 Pin Description
Table 1.6 Pin Description (100-Pin and 144-Pin Packages)
Apply 3.0 to 5.5 V to the VCC pins.
Apply 0 V to the VSS pin.
Switches processor mode. Connect this pin to VSS to start up in single-chip
mode (memory expansion mode). Connect this pin to VCC to start up in
microprocessor mode.
___________
The microcomputer is in a reset state when applying "L" to the RESET pin.
I/O pins for the main clock oscillation circuit. Connect a ceramic resonator or
crystal oscillator between XIN and XOUT. To use an external clock, input the
clock to XIN and leave XOUT open.
Switches the data bus in external memory space 3. The data bus is 16 bits wide
when the BYTE pin is held "L" and 8 bits wide when the BYTE pin is held "H".
Set to either. Connect this pin to VSS when an external bus is not used.
Applies power supply for the A/D converter and D/A converter. Connect this
pin to VCC.
Applies power supply for the A/D converter and D/A converter. Connect this
pin to VSS.
Applies reference voltage for the A/D converter.
8-bit I/O ports in CMOS having a direction register to select input or output.
Each pin is set as an input port or output port. An input port in single-chip
mode can be set for a pull-up or for no pull-up in 4-bit unit by program. When
these pins are used as bus control pins in memory expansion mode and
microprocessor mode, internal pull-up resistor cannot be selected. Ports used
as input ports can be set for a pull-up or for no pull-up in the modes above.
Inputs and outputs data (D0 to D7) when these pins are set as the separate bus.
Analog input pins for the A/D converter
8-bit I/O ports having equivalent functions to P0
______
Input pins for the INT interrupt
Inputs and outputs data (D8 to D15) when these pins are set as the separate bus.
8-bit I/O ports having equivalent functions to P0
Outputs 8 low-order address bits (A0 to A7).
Inputs and outputs data (D0 to D7) and outputs 8 low-order address bits (A0 to
A7) by time-sharing when these pins are set as the multiplexed bus.
Analog input pins for A/D converter
8-bit I/O ports having equivalent functions to P0
Outputs 8 middle-order address bits (A8 to A15).
Inputs and outputs data (D8 to D15) and outputs 8 middle-order address bits
(A8 to A15) by time-sharing when external 16-bit data bus is set as the multi-
plexed bus.
Outputs row addresses and column addresses by time-sharing when accessing
the DRAM area.
VCC
VSS
CNVSS
____________
RESET
XIN
XOUT
BYTE
AVCC
AVSS
VREF
P00 to P07
D0 to D7
AN00 to AN07
P10 to P17
________
INT3 to INT5
D8 to D15
P20 to P27
A0 to A7
A0/D0 to
A7/D7
AN20 to AN27
P30 to P37
A8 to A15
A8/D8 to
A15/D15
MA0 to MA7
Power supply input
CNVSS
Reset input
Clock input
Clock output
Input to switch
external data bus
width
Analog power
supply input
Analog power
supply input
Reference voltage
input
I/O port P0
Data bus
Analog input pin
I/O port P1
______
INT interrupt input
pin
Data bus
I/O port P2
Address bus
Address bus/data
bus
Analog input pin
I/O port P3
Address bus
Address bus/data
bus
Address bus
I
O
I
I/O
I
I/O
I
I/O
O
I/O
I
I/O
O
I/O
O
Symbol
Function
I/O type
Description
I : Input
O : Output
I/O : Input and output