English
Language : 

4509 Datasheet, PDF (4/142 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
4509 Group
PIN DESCRIPTION
Pin
Name
Input/Output
Function
VDD
Power supply
—
Connected to a plus power supply.
VSS
Ground
—
Connected to a 0 V power supply.
CNVSS CNVSS
—
Connect CNVSS to VSS and apply “L” (0V) to CNVSS certainly.
RESET Reset input/output
I/O
An N-channel open-drain I/O pin for a system reset. When the SRST instruction,
watchdog timer, the voltage drop detection circuit (only for H version) or the built-in
power-on reset (only for H version) causes the system to be reset, the RESET pin out-
puts “L” level.
XIN
XOUT
System clock input
System clock output
Input
Output
I/O pins of the main clock generating circuit. When using a ceramic resonator, connect it
between pins XIN and XOUT. A feedback resistor is built-in between them. When using
the RC oscillation, connect a resistor and a capacitor to XIN, and leave XOUT pin open.
D0–D5
I/O port D
Input is examined by
skip decision.
I/O
Each pin of port D has an independent 1-bit wide I/O function.
The output structure can be switched to N-channel open-drain or CMOS by software.
For input use, set the latch of the specified bit to “1” and select the N-channel open-drain.
Ports D2 and D3 are equipped with a pull-up function and a key-on wakeup function.
Both functions can be switched by software.
Ports D2 and D3 are also used as AIN4 and AIN5, respectively.
P00–P03 I/O port P0
I/O
Port P0 serves as a 4-bit I/O port.
The output structure can be switched to N-channel open-drain or CMOS by software.
For input use, set the latch of the specified bit to “1” and select the N-channel open-drain.
Port P0 has a key-on wakeup function and a pull-up function. Both functions can be
switched by software.
Ports P00, P01 and P02 are also used as SIN, SOUT and SCK, respectively.
P10–P13 I/O port P1
I/O
Port P1 serves as a 4-bit I/O port.
The output structure can be switched to N-channel open-drain or CMOS by software.
For input use, set the latch of the specified bit to “1” and select the N-channel open-drain.
Port P1 has a key-on wakeup function and a pull-up function. Both functions can be
switched by software.
Ports P11, P12 and P13 are also used as CNTR1, CNTR0 and INT, respectively.
P20, P21 I/O port P2
I/O
Port P2 serves as a 2-bit I/O port.
The output structure can be switched to N-channel open-drain or CMOS by software.
For input use, set the latch of the specified bit to “1” and select the N-channel open-drain.
Port P2 has a key-on wakeup function and a pull-up function. Both functions can be
switched by software.
Ports P20 and P21 are also used as AIN0 and AIN1, respectively.
P30, P31 I/O port P3
I/O
Port P3 serves as a 2-bit I/O port.
The output structure can be switched to N-channel open-drain or CMOS by software.
For input use, set the latch of the specified bit to “1” and select the N-channel open-drain.
Ports P30 and P31 are also used as AIN2 and AIN3, respectively.
CNTR0 Timer input/output
I/O
CNTR0 pin has the function to input the clock for the timer 2 event counter, and to
output the PWM signal generated by timer 1.
This pin is also used as port P12.
CNTR1 Timer input/output
I/O
CNTR1 pin has the function to input the clock for the timer 1 event counter, and to
output the PWM signal generated by timer 2.
This pin is also used as port P11.
INT
Interrupt input
Input
INT pin accepts external interrupts. It has the key-on wakeup function which can be
switched by software.
This pin is also used as port P13.
AIN0–AIN5 Analog input
Input
A/D converter analog input pins.
AIN0–AIN5 are also used as ports P20, P21, P30, P31, D2 and D3, respectively.
SCK
Serial interface clock I/O
I/O
Serial interface data transfer synchronous clock I/O pin. SCK pin is also used as port P02.
SOUT
Serial interface data output Output Serial interface data output pin. SOUT pin is also used as port P01.
SIN
Serial interface data input
Input Serial interface data input pin. SIN pin is also used as port P00.
Rev.1.02 2006.12.22 page 4 of 140
REJ03B0147-0102