English
Language : 

M16C6K9 Datasheet, PDF (10/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C/6K9 Group
Pin Description
Pin Description
Pin name Signal name
Vcc, Vss
Power supply
____________
RESET
input
Reset input
XIN
Clock input
XOUT
Clock output
M0,M1
FVCC
AVCC
AVSS
VREF
P00 to P07
Chip mode
setting
Power supply
input for flash
memory pro-
gramming
Analog power
supply input
Analog power
supply input
Reference
voltage input
I/O port P0
P10 to P17
P20 to P27
I/O port P1
I/O port P2
P30 to P37 I/O port P3
P40 to P47 I/O port P4
P50 to P57 I/O port P5
I/O type
Input
Input
Output
Input
Input
Input/output
Input/output
Input/output
Input/output
Input/output
Input/output
Function
Apply 3.0 to 3.6 V to VCC . Apply 0V to VSS
A “L” on this input resets the microcomputer.
These pins are provided for the main clock generating circuit.
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.
Connect to VSS
This pin is a power supply input for on-chip flash memory
programming. During the normal operation, 0V to 3.6V can
be applied. When programming on-chip flash memory, 3.0V
to 3.6V should be applied.
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.
This pin is a reference voltage input for the A-D converter.
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 in-
put 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 port supports CMOS input level. And output type sup-
ports CMOS 3 state or N channel open drain selectable.
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.
This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). P20-P27 are avail-
able for directly driving LED's.P20 to P24 also function as
UART2 or SI/O pins as selected by software.
This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). The port can be
used for LPC bus interface I/O pins by software selection.
This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). By software selecting,
the port can also be used for LPC bus interface I/O pins,
Timer A0 to A2 output pins PWM output pins or serial interrupt
output I/O pins. P40 to P46 pins' level can be read regardless
the setting of input port or output port. If P40 or P43 are used
for output ports, the function that clears P40 or P43 to "0" after
the read of output data buffer from host CPU is available.
This is an 8-bit I/O port equivalent to P0. (Except that output type
is CMOS 3 state only). Key on wake interrupt 0 and comparator
input function support. P57 in this port outputs a divide-by-8 or
divide-by-32 clock of XIN or a clock of the same frequency as
XCIN as selected by software.
Rev.1.00 Jun 06, 2003 page 10 of 290