|
4559 Datasheet, PDF (5/148 Pages) Renesas Technology Corp – SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER | |||
|
◁ |
4559 Group
PIN DESCRIPTION
Table 3 Pin description
Pin
VDD
VSS
CNVSS
VDCE
XIN
XOUT
XCIN
XCOUT
RESET
D0âD5
D6, D7
P00âP03
P10âP13
P20âP23
P30âP33
C
COM0âCOM3
SEG0âSEG31
CNTR
INT
VLC3âVLC1
Name
Power source
Power source
CNVSS
Voltage drop
detection circuit
enable
Main clock input
Main clock output
Sub clock input
Sub clock output
Reset I/O
I/O port D
(Input is examined
by skip decision.)
Output port D
I/O port P0
I/O port P1
I/O port P2
I/O port P3
Output port C
Common output
Segment output
Timer I/O
Interrupt input
LCD power source
Input/Output
â
â
â
Input
Input
Output
Input
Output
I/O
I/O
Output
I/O
I/O
I/O
I/O
Output
Output
Output
I/O
Input
â
Function
Connected to a plus power supply.
Connected to a 0 V power supply.
This pin is shared with the VPP pin which is the power source input pin for
programming the built-in QzROM. Connect to VSS through a resistor about 5 kâ¦.
This pin is used to operate/stop the voltage drop detection circuit.
When âHâ level is input to this pin, the circuit starts operating.
When âLâ level is input to this pin, the circuit stops operating.
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.
I/O pins of the sub-clock generating circuit. Connect a 32.768 kHz quartz-crystal
oscillator between pins XCIN and XCOUT. A feedback resistor is built-in between them.
XCIN and XCOUT pins are also used as ports D6 and D7, respectively.
An N-channel open-drain I/O pin for a system reset. When the SRST instruction,
watchdog timer, the built-in power-on reset or the voltage drop detection circuit
causes the system to be reset, the RESET pin outputs âLâ level.
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.
Port D5 is also used as INT pin.
Each pin of port D has an independent 1-bit wide output function. The output
structure is N-channel open-drain.
Ports D6 and D7 are also used as XCIN pin and XCOUT pin, respectively.
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âP03 are also used as SEG16âSEG19, respectively.
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 P10âP13 are also used as SEG20âSEG23, respectively.
Port P2 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 P2 has a key-on wakeup function and
a pull-up function. Both functions can be switched by software.
Ports P20âP23 are also used as SEG24âSEG27, respectively.
Port P3 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 P3 has a key-on wakeup function and
a pull-up function. Both functions can be switched by software.
Ports P30âP33 are also used as SEG28âSEG31, respectively.
1-bit output port. The output structure is CMOS. Port C is also used as CNTR pin.
LCD common output pins. Pins COM0 and COM1 are used at 1/2 duty, pins COM0â
COM2 are used at 1/3 duty and pins COM0âCOM3 are used at 1/4 duty.
LCD segment output pins.
SEG0âSEG2 pins are used as VLC3âVLC1 pins, respectively.
SEG16âSEG31 pins are used as Ports P00âP03, Ports P10âP13, Ports P20âP23, and
Ports P30âP33, respectively.
CNTR pin has the function to input the clock for the timer 1 event counter and to
output the PWM signal generated by timer 2. CNTR pin is also used as Port C.
INT pin accepts external interrupts. They have the key-on wakeup function which
can be switched by software. INT pin is also used as Port D5.
These are the LCD power supply pins. If an internal resistor is used, connect the
VLC3 pin to the VDD pin. (If brightness adjustment is required, connect via a resistor.)
When using an external power supply, apply voltage such that VSS ⤠VLC1 ⤠VLC2 â¤
VLC3 ⤠VDD. Pins VLC3 to VLC1 also function as pins SEG0 to SEG2.
Rev.1.04 Aug 23, 2007 Page 5 of 146
REJ03B0188-0104
|
▷ |