M16C/26 Group
1. Overview
1.6 Pin Description
Table 1.4 and 1.5 describe the available pins.
Table 1.4. Pin Description(1)
Pin name Signal name I/O type
Function
VCC,VSS Power supply
input
Apply 2.7V to 5.5V to the VCC pin, and 0V to the Vss pin.
CNVSS
CNVSS
IVCC
Input
Connect this pin to Vss.
IVCC
Leave this pin open.
____________
RESET Reset input
Input
"L" on this input resets the microcomputer.
XIN
Clock input
Input
These pins are provided for the main clock generating circuit input/output.
Connect a ceramic resonator or 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.
XOUT
Clock output
Output
AVCC
AVSS
VREF
Analog power
supply input
Analog power
supply input
Reference
This pin is a power supply input for the A/D converter. Connect this
pin to VCC.
This pin is a power supply input for the A/D converter. Connect this
pin to VSS.
Input
This pin is a reference voltage input for the A/D converter.
Voltage input
P15~P17 I/O port P1
Input/
This is an 3-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 used for input, a pull-up resister option can be selected for the
output
entire group of three pins. Additional software selectable secondary
______
functions are: 1) P15 to P17 can be configured as external INT interrupt
pins, and; 2) P15 can input a trigger for the A/D converter.
P60~P67 I/O port P6
P70~P77 I/O port P7
Input/
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 used for input, a pull-up resister option can be selected for the
entire group of four pins. Pins in this port also function as UART0 and
UART1 I/O.
output
Input/
This is an 8-bit I/O port equivalent to P6. (P70 and P71 are N channel
open-drain output) P7 can also function as I/O for timer A0 to A3, as
selected by software. Additional programming options are: P70 to P73 can
assume UART2 I/O capabilities, and P72 to P75 can function as output
pins for the three-phase motor control timer.
output
P80~P83, I/O port P8
P85~P87
Input/
P80 to P83 and P85 to P87 are an 7-bit I/O port equivalent to P6.When
used for input, a pull-up resister option can be selected for the entire
group of four pins or three pins. Additional software-selectable secondary
functions are: 1) P80 and P81 can act as either I/O for Timer A4, or as
output pins for the three-phase motor control timer; 2) P82 to P83 can be
output
______
_______ _____
configured as external INT interrupt pins; 3) P85 can be used as NMI/SD.
P85 can not be used as I/O port while the three-phase motor control is
enabled. Apply a stable "H" to P85 after setting the direction register for
P85 to "0" when the three-phase motor control is enabled, and; 4) P86 and
P87 can serve as I/O pins for the sub-clock generation circuit. In this latter
case, a quartzoscillator must be connented between P86 (XCOUT pin) and
P87 (XCIN pin).
Rev.1.00 2004.6.10 page 7 of 37
REJ09B0176-0100Z