Notice
1.
All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from errors in or omissions from the information included herein.
Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly specified in a Renesas Electronics data sheets or data books, etc.
Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”:
Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to
guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a
Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire
control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
“Standard”:
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
4508 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
REJ03B0148-0103
Rev.1.03
2009.07.27
DESCRIPTION
The 4508 Group is a 4-bit single-chip microcomputer designed with
CMOS technology. Its CPU is that of the 4500 series using a simple,
high-speed instruction set. The computer is equipped with two 8-bit
timers (each timer has two reload registers), interrupts, 10-bit A/D
converter, Serial interface and oscillation circuit switch function.
FEATURES
●
Minimum instruction execution time .................................. 0.5
µ
s
(at 6 MHz oscillation frequency, in through-mode)
●
Supply voltage .......................................................... 1.8 V to 5.5 V
(It depends on operation source clock, oscillation frequency and
operating mode.)
●
Timers
Timer 1 ................................. 8-bit timer with two reload registers
Timer 2 ................................. 8-bit timer with two reload registers
●
Interrupt ........................................................................ 5 sources
ROM (PROM) size
(✕ 10 bits)
4096 words
4096 words
4096 words
4096 words
4096 words
4096 words
4096 words
4096 words
●
Key-on wakeup function pins ................................................... 12
●
Input/Output port ...................................................................... 14
●
A/D converter
10-bit successive comparison method ........................ 4 channel
●
Serial intereface ............................................................. 8-bit
✕
1
●
Voltage drop detection circuit (only for H version)
Reset occurrence .................................... Typ. 2.6 V (Ta = 25 °C)
Reset release .......................................... Typ. 2.7 V (Ta = 25 °C)
●
Power-on reset circuit (only for H version)
●
Watchdog timer
●
Clock generating circuit (on-chip oscillator/ceramic resonator/RC
oscillation)
●
LED drive directly enabled (port D)
APPLICATION
Electrical household appliance, consumer electronic products, office
automation equipment, etc.
RAM size
(✕ 4 bits)
256 words
256 words
256 words
256 words
256 words
256 words
256 words
256 words
Part number
M34508G4FP (Note)
M34508G4-XXXFP
M34508G4HFP (Note)
M34508G4H-XXXFP
M34508G4GP (Note)
M34508G4-XXXGP
M34508G4HGP (Note)
M34508G4H-XXXGP
Note:
Shipped in blank
Package
PRSP0020DA-A
PRSP0020DA-A
PRSP0020DA-A
PRSP0020DA-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
PLSP0020JB-A
ROM type
QzROM
QzROM
QzROM
QzROM
QzROM
QzROM
QzROM
QzROM
PIN CONFIGURATION
V
DD
V
SS
X
IN
X
OUT
CNV
SS
RESET
P2
1
/A
IN1
P2
0
/A
IN0
D
3
/A
IN5
D
2
/A
IN4
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
P0
0
/S
IN
P0
1
/S
OUT
P0
2
/S
CK
P0
3
P1
0
P1
1
/CNTR1
P1
2
/CNTR0
P1
3
/INT
D
0
D
1
Outline FP: PRSP0020DA-A (20P2N-A)
GP: PLSP0020JB-A (20P2F-A)
Pin configuration (top view) (4508 Group)
M34508G4-XXXFP/GP
M34508G4FP/GP
M34508G4H-XXXFP/GP
M34508G4HFP/GP
Rev.1.03 2009.07.27
REJ03B0148-0103
page 1 of 140
4508 Group
PERFORMANCE OVERVIEW
Parameter
Number of
basic instructions
M34508G4
M34508G4H
Minimum instruction execution time
Memory sizes ROM
RAM
Input/Output D
0
–D
3
ports
I/O
131
132
0.5
µ
s (at 6 MHz oscillation frequency, in through mode)
4096 words
✕
10 bits
256 words
✕
4 bits
Four independent I/O ports.
Input is examined by skip decision.
Ports D
2
and D
3
are equipped with a pull-up function and a key-on wakeup function.
Both functions can be switched by software.
Ports D
2
and D
3
are also used as A
IN4
, and A
IN5
, respectively.
4-bit I/O port; each pin is equipped with a pull-up function and a key-on wakeup function.
Both functions and output structure can be switched by software.
Ports P0
0
, P0
1
and P0
2
are also used as S
IN
, S
OUT
and S
CK
, respectively.
4-bit I/O port; each pin is equipped with a pull-up function and a key-on wakeup function.
Both functions and output structure can be switched by software.
Ports P1
1
, P1
2
and P1
3
are also used as CNTR1, CNTR0 and INT, respectively.
2-bit I/O port; each pin is equipped with a pull-up function and a key-on wakeup function.
Both functions and output structure can be switched by software.
Ports P2
0
and P2
1
are also used as A
IN0
and A
IN1
, respectively.
Two independent I/O; CNTR1 and CNTR0 pins are also used as ports P1
1
and P1
2
, respectively.
1-bit input; INT pin is also used as port P1
3
.
Three independent I/O;
S
IN
, S
OUT
, and S
CK
are also used as ports P0
0
, P0
1
, and P0
2
, respectively.
Four independent input; A
IN0
, A
IN1
, A
IN4
, A
IN5
are also used as P2
0
, P2
1
, D
2
and D
3
, respectively.
8-bit programmable timer/event counter with two reload registers and PWM output function.
8-bit programmable timer/event counter with two reload registers and PWM output function.
16-bit timer (fixed dividing frequency) (for watchdog)
10-bit wide, This is equipped with an 8-bit comparator function.
4 channel (A
IN0
, A
IN1
, A
IN4
, A
IN5
pins)
8-bit
✕
1
Typ. 2.6 V (Ta = 25 °C)
Typ. 2.7 V (Ta = 25 °C)
Built-in type
5 (one for external, two for timer, one for A/D, one for Serial interface)
1 level
8 levels
CMOS silicon gate
FP: 20-pin plastic molded SOP (PRSP0020DA-A)
GP: 20-pin plastic molded SSOP (PLSP0020JB-A)
–20 °C to 85 °C
1.8 V to 5.5 V (It depends on operation source clock, oscillation frequency and operating mode.)
2.2 mA (Ta = 25°C, V
DD
= 5.0 V, f(X
IN
) = 6.0 MHz, f(STCK) = f(X
IN
)/1)
0.1
µ
A (Ta = 25°C, V
DD
= 5.0 V, output transistors in the cut-off state)
Function
P0
0
–P0
3
I/O
P1
0
–P1
3
I/O
P2
0
, P2
1
I/O
CNTR0,
CNTR1
INT
Timer I/O
Timers
Interrupt input
S
IN
, S
OUT
, Serial interface
S
CK
input/output
A
IN0
, A
IN1,
Analog input
A
IN4
, A
IN5
Timer 1
Timer 2
Watchdog timer function
A/D
converter
Analog input
Serial interface
Voltage drop Reset occurrence
detection
Reset release
circuit (Note)
Power-on reset circuit (Note)
Interrupt
Sources
Nesting
Subroutine nesting
Device structure
Package
Operating temperature range
Supply voltage
Power
Active mode
dissipation
RAM back-up mode
(typical value)
Note: These circuits are equipped with only the H version.
Rev.1.03 2009.07.29
REJ03B0148-0103
page 3 of 140