Mitsubishi microcomputers
M16C / 6N0 / 6N1 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
8
Pin Description
Table 1.2.1. Pin description of M16C/6N group (1)
VCC, VSS
XIN
XOUT
AVCC
AVSS
P00 to P07
A0/D0 to
A7/D7
P30 to P37
Signal name
Power supply
input
Reset input
Clock input
Clock output
External data
bus width
select input
Reference
voltage input
I/O port P0
I/O port P3
Supply 4.2 to 5.5 V to the VCC pin. Supply 0 V to the VSS pin.
Function
This pin switches between processor modes. Connect it to the
VSS pin to operate in single-chip or memory expansion mode.
Connect it to the VCC pin to operate in microprocessor mode.
A "L" on this input resets the microcomputer.
This pin selects the width of an external data bus. A 16-bit width is
selected when this input is "L"; an 8-bit width is selected when this
input is "H". This input must be fixed to either "H" or "L". When
operating in single-chip mode, connect this pin to VSS.
Analog power
supply input
This pin is a power supply input for the A-D converter. Connect this
pin to VCC.
This is an 8-bit CMOS I/O port. It has an input/output port direction
register that allows the user to set each pin for input or output
individually. When set for input, the user can specify in units of four
bits via software whether or not they are tied to a pull-up resistor.
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as external interrupt pins as selected by software.
If the external bus is set as a 16-bit wide multiplexed bus, these pins
input and output data (D0 to D6) and output address (A1 to A7) separated
in time by multiplexing. They also output address (A0).
This is an 8-bit I/O port equivalent to P0.
If the external bus is set as a 16-bit wide multiplexed bus, these pins
input and output data (D7) and output address (A8) separated in time
by multiplexing. They also output address (A9 to A15).
Pin name
CNVSS
Input
Output
BYTE
Input
VREF
This pin is a reference voltage input for the A-D converter.
Input
Input/output
P10 to P17
I/O port P1
Input/output
D8 to D15
When set as a separate bus, these pins input and output data (D8 to D15).
Input/output
P20 to P27
I/O port P2
Input/output
I/O type
This pin is a power supply input for the A-D converter. Connect this
pin to VSS.
Analog power
supply input
7
D0 to D
When set as a separate bus, these pins input and output data (D0 to D7).
Input/output
A0 to A7
These pins output 8 low-order address bits (A0 to A7).
Output
If the external bus is set as an 8-bit wide multiplexed bus, these pins
input and output data (D0 to D7) and output 8 low-order address bits
(A0 to A7) separated in time by multiplexing.
Input/output
A0, A1/D0
to A7/D6
Output
Input/output
A8 to A15
These pins output 8 middle-order address bits (A8 to A15).
Output
A8/D7,
A9 to A15
Input/output
Output
P40 to P47
I/O port P4
This is an 8-bit I/O port equivalent to P0.
Input/output
Output
CS0 to CS3,
A16 to A19
These pins output CS0 to CS3 signals and A16 to A19. CS0 to CS3 are
chip select signals used to specify an access space. A16 to A19 are 4
high-order address bits.
RESET
This is an 8-bit I/O port equivalent to P0. Pins in this port also function
as A-D converter input pins.
Pins in this port also function as A-D converter input pins.
These pins are provided for the main clock generating circuit. Connect
a ceramic resonator or quartz crystal between the XIN and the XOUT
pins. To use an externally derived clock, input it to the XIN pin and
leave the XOUT pin open.