To all our customers
Regarding the change of names mentioned in the document, such as Hitachi
Electric and Hitachi XX, to Renesas Technology Corp.
The semiconductor operations of Mitsubishi Electric and Hitachi were transferred to Renesas
Technology Corporation on April 1st 2003. These operations include microcomputer, logic, analog
and discrete devices, and memory chips other than DRAMs (flash memory, SRAMs etc.)
Accordingly, although Hitachi, Hitachi, Ltd., Hitachi Semiconductors, and other Hitachi brand
names are mentioned in the document, these names have in fact all been changed to Renesas
Technology Corp. Thank you for your understanding. Except for our corporate trademark, logo and
corporate statement, no changes whatsoever have been made to the contents of the document, and
these changes do not constitute any alteration to the contents of the document itself.
Renesas Technology Home Page: http://www.renesas.com
Renesas Technology Corp.
Customer Support Dept.
April 1, 2003
Cautions
Keep safety first in your circuit designs!
1. Renesas Technology Corporation puts the maximum effort into making semiconductor products better
and more reliable, but there is always the possibility that trouble may occur with them. Trouble with
semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with appropriate
measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or
(iii) prevention against any malfunction or mishap.
Notes regarding these materials
1. These materials are intended as a reference to assist our customers in the selection of the Renesas
Technology Corporation product best suited to the customer's application; they do not convey any
license under any intellectual property rights, or any other rights, belonging to Renesas Technology
Corporation or a third party.
2. Renesas Technology Corporation assumes no responsibility for any damage, or infringement of any
third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or
circuit application examples contained in these materials.
3. All information contained in these materials, including product data, diagrams, charts, programs and
algorithms represents information on products at the time of publication of these materials, and are
subject to change by Renesas Technology Corporation without notice due to product improvements or
other reasons. It is therefore recommended that customers contact Renesas Technology Corporation
or an authorized Renesas Technology Corporation product distributor for the latest product information
before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corporation assumes no responsibility for any damage, liability, or other loss
rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corporation by various
means, including the Renesas Technology Corporation Semiconductor home page
(http://www.renesas.com).
4. When using any or all of the information contained in these materials, including product data, diagrams,
charts, programs, and algorithms, please be sure to evaluate all information as a total system before
making a final decision on the applicability of the information and products. Renesas Technology
Corporation assumes no responsibility for any damage, liability or other loss resulting from the
information contained herein.
5. Renesas Technology Corporation semiconductors are not designed or manufactured for use in a device
or system that is used under circumstances in which human life is potentially at stake. Please contact
Renesas Technology Corporation or an authorized Renesas Technology Corporation product distributor
when considering the use of a product contained herein for any specific purposes, such as apparatus or
systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
6. The prior written approval of Renesas Technology Corporation is necessary to reprint or reproduce in
whole or in part these materials.
7. If these products or technologies are subject to the Japanese export control restrictions, they must be
exported under a license from the Japanese government and cannot be imported into a country other
than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the
country of destination is prohibited.
8. Please contact Renesas Technology Corporation for further details on these materials or the products
contained therein.
HD404639R Series
4-Bit Single-Chip Microcomputer
Rev. 6.0
Sept. 1998
Description
The HD404639R Series is a member of the HMCS400-series microcomputers designed to increase
program productivity with large-capacity memory. The HD404639R Series, completely compatible with
the HD404639 Series, reduces current dissipation in half and includes a high-speed version. Each
microcomputer has a high-precision dual-tone multi frequency (DTMF) generator, four timers, two serial
interfaces, voltage comparator, input capture circuit, 32-kHz oscillator for clock, and four low-power
dissipation modes.
The HD404639R Series includes 5 chips: the HD404638R and HD40A4638R with 8-kword ROM; the
HD404639R and HD40A4639R with 16-kword ROM; the HD407A4639R with 16-kword PROM.
HD40A4638R, HD40A4639R, HD407A4639R are high-speed versions (minimum instruction cycle time:
0.5
µs).
The HD407A4639R is a PROM version ZTAT™ microcomputer. A program can be written to the PROM
by a PROM writer, which can dramatically shorten system development periods and smooth the process
from debugging to mass production. (The ZTAT™ version is 27256-compatible.)
ZTAT
TM
: Zero Turn Around Time. ZTAT is a trademark of Hitachi Ltd.
Features
•
8,192-word
×
10-bit ROM (HD404638R, HD40A4638R)
•
16,384-word
×
10-bit ROM (HD404639R, HD40A4639R, HD407A4639R)
•
1,152-digit
×
4-bit RAM
•
61 I/O pins and 7 dedicated input pins
12 high-current output pins: Eight 15-mA sinks (a maximum of 7 pins can be used at the same time)
and four 10-mA sources
•
Four timer/counters
•
Eight-bit input capture circuit
•
Three timer outputs (including two PWM outputs)
•
Two event counter inputs (including one double-edge function)
•
Two clock-synchronous 8-bit serial interfaces
HD404639R Series
•
Comparator (4 channels)
•
On-chip DTMF generator: f
OSC
= 400 kHz, 800 kHz, 2 MHz, 3.58 MHz, 4 MHz, 7.16 MHz, or 8 MHz
(7.16 MHz and 8 MHz are only available for HD40A4638R, HD40A4639R and HD407A4639R)
•
Built-in oscillators
Main clock: Ceramic oscillator or crystal (an external clock is also possible)
Subclock: 32.768-kHz crystal
•
Eleven interrupt sources
Five by external sources, including three double-edge function
Six by internal sources
•
Subroutine stack up to 16 levels, including interrupts
•
Four low-power dissipation modes
Subactive mode
Standby mode
Watch mode
Stop mode
•
One external input for transition from stop mode to active mode
•
Instruction cycle time: 1
µs
(f
OSC
= 4 MHz at 1/4 division ratio), 0.5
µs
(f
OSC
= 8 MHz at 1/4 division
ratio)
1/4, 1/8, 1/16, or 1/32 division ratio can be selected
•
Operation voltage
2.7 V to 6.0 V (HD404638R, HD404639R, HD40A4638R, HD40A4639R)
2.7 V to 5.5 V (HD407A4639R)
With V
CC
= 2.2 V to 6.0 V, watch mode can be supported, and instructions can be executed in
subactive mode (not applicable to the HD407A4639R).
•
Two operating modes
MCU mode
MCU/PROM mode (HD407A4639R)
Ordering Information
Type
Mask ROM
Instruction Cycle
Time (µs)
1 (f
OSC
= 4 MHz at 1/4
division ratio)
Product Name
HD404638R
Model Name
HD404638RF
ROM (Words)
8,192
Package
80-pin
plastic QFP
(FP-80B)
HD404639R
0.5 (f
OSC
= 8 MHz at1/4 HD40A4638R
division ratio)
HD40A4639R
ZTAT™
0.5 (f
OSC
= 8 MHz at 1/4 HD407A4639R
division ratio)
HD404639RF
HD40A4638RF
HD40A4639RF
16,384
8,192
16,384
HD407A4639RF 16,384
2
HD404639R Series
Pin Arrangement
VT
ref
V
CC
TONER
TONEC
SEL
RC
0
RB
3
RB
2
RB
1
RB
0
RA
3
RA
2
RA
1
RA
0
R9
3
R9
2
80 7978 7776 757473727170 69686766 65
RD
0
/COMP
0
RD
1
/COMP
1
RD
2
/COMP
2
RD
3
/COMP
3
RE
0
/VC
ref
TEST
OSC
1
OSC
2
RESET
X1
X2
GND
D
0
D
1
D
2
D
3
D
4
D
5
D
6
D
7
D
8
D
9
D
10
D
11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
R9
1
R9
0
R8
3
R8
2
R8
1
R8
0
R7
3
R7
2
R7
1
R7
0
R6
3
R6
2
R6
1
R6
0
R5
3
/SO
2
R5
2
/SI
2
R5
1
/SCK
2
R5
0
R4
3
/SO
1
R4
2
/SI
1
R4
1
/SCK
1
R4
0
/EVND
R3
3
/EVNB
R3
2
/TOD
FP-80B
25 2627 2829 303132333435 36373839 40
D
12
/STOPC
D
13
/INT
0
R0
0
/INT
1
R0
1
/INT
2
R0
2
/INT
3
R0
3
/INT
4
R1
0
R1
1
R1
2
R1
3
R2
0
R2
1
R2
2
R2
3
R3
0
/TOB
R3
1
/TOC
(Top view)
3