DAEWOO DMC42C4008

1
4Bit Single Chip Microcontroller
DMC42C4008
DESCRIPTION
The DMC42C4008 is a 4-bit single chip
microcomputer having 8K bytes ROM and is
designed with CMOS silicon gate technology.
The DMC42C4008 includes peripherals such
as various timers, A/D converter(8ch), serial
communication interface(8bit), on-chip oscillator
and clock circuit. It provides the hardware
features, architectural enhancements and
instructions which are necessary to make it
a powerful and cost effective controller for
applications requiring up to 64K bytes of
programmable memory.
P63
59
58
57
56
55
54
53
PD2
V DD
60
PD3
P80
61
P60
P81
62
P61
P82
63
P62
P20 / CLO
64
P83
P21
PIN CONFIGURATIONS
52
P80
1
64
V DD
P81
2
63
P63
P82
3
62
P62
P83
4
61
P61
P20 / CLO
5
60
P60
P21
6
59
PD3
P22
7
58
PD2
P23
8
57
PD1
P00 / INT0 / TI0
9
56
PD0
P01 / INT1 / TI1
10
P02 /INT2 / TI2
11
P03 / INT3
12
P10 / SCK
13
P22
1
51
PD1
P11 / SI
14
P23
2
50
PD0
P12 / SO
15
PC3
P13 / BUZ
16
17
P00 / INT0
3
TI0
49
D
M
C
4
2
C
4
0
0
55
PC3
54
PC2
53
PC1
52
PC0
51
AV DD
50
AV SS
49
PB3 / AD7
48
PB2 / AD6
47
PB1 / AD5
4
TI1
48
PC2
P30
P02 / INT2
5
TI2
47
PC1
P31
18
P03 / INT3
6
46
PC0
P32
19
P10 / SCK
7
45
AV DD
P33
20
P11 / SI
8
44
AV SS
RESETB
21
44
PA2 / AD2
XI
22
43
PA1 / AD1
P01 / INT1
P12 / SO
9
P13 / BUZ
10
DMC42C4008
46
PB0 / AD4
45
PA3 / AD3
43
PB3 / AD7
42
PB2 / AD6
XO
23
42
PA0 / AD0
PB1 / AD5
P40
24
41
P93
P30
11
41
P31
12
40
PB0 / AD4
P41
25
40
P92
P32
13
39
PA3 / AD3
P42
26
39
P91
PA2 / AD2
P43
27
38
P90
28
37
P73
17
35
P93
P52
30
35
P71
P40
18
34
P92
P53
31
34
P70
P41
19
33
P91
V SS
32
33
TEST
20
21
22
23
24
25
26
27
28
29
30
31
32
P90
P72
XO
P73
36
P71
29
P72
P51
P70
PA0 / AD0
TEST
36
V SS
16
P53
PA1 / AD1
XI
P51
37
P50
P52
38
P50
RESETB
15
P43
14
P42
P33
2
4Bit Single Chip Microcontroller
DMC42C4008
FEATURE
Memory mapped I/O
Program memory : 8192 x 10bits
Data memory
:
512 x 4bits
Instructions
- Various bit manipulation
- 8-bit data operation
- 7-bit relative branch
- 1 byte absolute call
Instruction cycle times
- Main ( XI = 4.19MHz )
. 15.3 us ( XI/64 = 65.5KHz )
. 1.91 us ( XI/8 = 524.0KHz )
. 0.95 us ( XI/4 = 1.05MHz )
4 Register Bank
8-bit A/D converter
- 8-bit successive approximate type
- 8 channels
- Sample and hold
- Conversion time : 17.1 us at 4.19MHz
Key scan
- 4, 6, 8 Pins Selectable : Port 4, 5
- Falling edge operation
56 I/O Ports
- CMOS Ports : 40
- N-channel open drain Ports : 16
- Direct LED drive
- Internal pull-up resistor (Mask option)
Power saving mode
- STOP : Main clock, CPU clock stop
- STBY : Only CPU clock stop
Main clock operation
General register : 8 x 4-bit respectively
Package : 64 QFP, 64 SDIP
Accumulator
- Bit Accumulator (CY), 4 bit Accumulator (A),
8 bit Accumulator (XA)
Multiple vectored interrupt source
- External interrupt : 4
- Internal interrupt : 7
Watch timer
- fast mode : 3.91 msec
- normal mode : 0.5 sec
- buzzer output : 1, 2, 4 KHz
APPLICATION
VTR, Audio, Telephone, Printer, Refrigerator
Fan Heater, Washing Machine
Basic interval timer
- 8 kinds of period
- Used stabilization wait timer to wake up Stop mode
Three 8-bit timer / event counters
8-bit serial communication interface
- External / Internal clock selection
- Mode : Transmit ·Receive
Receive only
Clock continuous
3
4Bit Single Chip Microcontroller
DMC42C4008
BLOCK DIAGRAM
BASIC
INTERVAL
TIMER
PORT0
P00 ¡- P03
PORT1
P10 ¡- P13
PORT2
P20 ¡- P23
PORT3
P30 ¡- P33
PORT4
P40 ¡- P43
PORT5
P50 ¡- P53
PORT6
P60 ¡- P63
PORT7
P70 ¡- P73
PORT8
P80 ¡- P83
PORT9
P90 ¡- P93
PORT
A
PA0 ¡- PA3
PORT
B
PB0 ¡- PB3
PORT
C
PC0 ¡- PC3
PORT
D
PD0 ¡- PD3
IRQBT
BUZ/P13
WATCH
TIMER
DMC42 CORE
IRQWT
TI0 / P00
TIMER/EVENT
COUNTER 0
IRQTC 0
TI1 / P01
TIMER/EVENT
COUNTER 1
IRQTC 1
TI2 / P02
PROGRAM MEMORY
DATA MEMORY
(8192 X 10BITS)
(512 X 4BITS)
TIMER/EVENT
COUNTER 2
IRQTC 2
Fx / 2
SERIAL
INTERFACE
IRQS0
CLOCK
GENERATOR
STOP/
IDLE
CONTROL
TEST
XO
XI
VSS
RESETB
IRQAD
P20 / CLO
8-BIT ADC
VDD
PA0~PA3
,
PB0~PB3
CPU
CLOCK
INTERRUPT
CONTROL
AV DD
INT0/P00
INT1/P01
INT2/P02
INT3/P03
CLOCK
OUTPUT CLOCK
CONTRO DIVIDER
L
AV SS
SCK/P10
SI / P11
SO / P12
n
4
4Bit Single Chip Microcontroller
DMC42C4008
PROGRAM MEMORY (ROM)
0000H
VECTOR ADDRESS
CONTENTS
VECTOR
ADDRESS AREA
0000H
0002H
001FH
0020H
0004H
ZERO-PAGE
CALL AREA
0006H
0008H
005FH
000AH
0060H
000CH
000EH
0010H
0012H
0014H
8K Byte
Prioty
0
1
2
3
4
5
6
7
8
9
10
INTERRUPT SUORCE
Reset Signal
RESET
Basic Interval Timer
IRQBT
External interrupt 0
IRQ0
External interrupt 1
IRQ1
IRQTC0 Timer Event Counter 0
IRQTC1 Timer Event Counter 1
External interrupt 2
IRQ2
Timer
Event Counter 2
IRQTC2
External interrupt 3
IRQ3
Serial I/O 0
IRQS0
8 bit ADC
IRQAD
0016H
0018H
001AH
12
13
IRQWT
IRQKS
Watch Timer
15
-
reserved
Key Scan
001CH
1FFFH
001EH
DATA MEMORY (RAM)
DIRECT
m
INDIRECT
STACK
@HL
@DE @DL
$00
PAGE0
(256 Byte)
$FF
$00
PAGE1
(256 Byte) MB=0
BANK 0 $FF
(1K)
$00
PAGE2
(256 Byte)
$FF
$00
PAGE3
I/O
(256 Byte)MEMORY
$FF
MB=0
MP=0
SPS=0
MP=1
SPS=1
MP=2
SPS=2
MP=3
GENERAL
REGISTER
RB=0
RB=1
RB=2
RB=4
; Usable
5
4Bit Single Chip Microcontroller
DMC42C4008
I/O ADDRESS MAP
ADDRESS
Hardware Module Name
b3
318H
319H
31AH
31BH
31CH
31DH
320H
321H
322H
323H
324H
325H
326H
327H
328H
329H
32AH
32BH
32CH
32DH
32EH
32FH
330H
331H
332H
334H
335H
336H
337H
386H
387H
388H
389H
3A0H
3A2H
3A4H
3A8H
3A9H
3AAH
3ABH
3ACH
3ADH
b2
b1
R/W
b0
Stack pointer low (SPL)
Stack pointer high (SPH)
SP3
SP2
SP1
SP0
SP5
SP4
AC
IS1
IS0
CY
Z
OV
T
T/E counter mode register 0
(TMOD0)
T/E counter register 0
(TMCNT0)
T/E reference register 0
(TMREF0)
T/E counter mode register 1
(TMOD1)
T/E counter register 1
(TMCNT1)
T/E reference register 1
(TMREF1)
T/E counter mode register 2
(TMOD2)
T/E counter register 2
(TMCNT2)
T/E reference register 2
(TMREF2)
Basic Timer mode register(BMOD)
Basic interval timer count
register(BITCNT)
Watch timer mode register
(WMOD)
Adc8 mode register (ADCM8)
Adc8 output latch (ADCOL8)
Power control register
(PCON)
Operating mode register (SCMOD)
Clock output mode register
(CLOMD)
Serial interface mode register0
(SIOM0)
Serial interface buffer0
(SBUFF0)
Serial interface mode register1
(SIOM1)
Addressing Unit
1 bit
R/W
R/W
R/W
R/W
R/W
O
W
320H.3
4 bit
8bit
O
O
O
O
O
O
REMARKS
INITIAL
VALUE
R
O
Stack pointer low
stack pointer high
Stack Page Select Low (SPSL)
Stack Page Select High (SPSh)
Psw low (PSWL)
Psw high (PSWH)
Clock source select. counter
start (ch0)
readable count value (ch0)
W
O
count reference register (ch0)
FF
O
00
00
W
O
00
R
O
clock source select. counter start
(ch1)
readable count value (ch1)
W
O
count reference register (ch1)
FF
O
00
W
326H.3
E
F
0
0
0
0
00
32CH.3
R
O
clock source select. counter
start (ch2)
readable count value (ch2)
W
O
count reference register (ch2)
FF
O
clock select, Bit start
readable count register
0
00
clock/buzzer select. bit3
readable
analog input pin select. start &
low 4bit readable
8bit conversion data
00
R/W 332H.3
R
O
R/W 336H.3
O
R/W 386H.3
O
R
O
O
R/W
R/W
W
O
W
3A8H.3
O
O
R/W
W
3ACH.3
O
system clock select, idle, stop
mode
main/sub system clock select
cpu clock output select, clock
out EN/DIS
receive/transmit mode. clock
select
serial shift register 0
receive/transmit mode, clock
select
00
00
00
00
0
00
00
XX
00
6
4Bit Single Chip Microcontroller
ADDRESS
Hardware Module Name
b3
3AEH
3AFH
3B2H
3C2H
3C3H
3C4H
3C5H
3C6H
3C7H
3D8H
3D9H
3DAH
3DBH
3DCH
3DDH
3DEH
3E0H
3E1H
3E2H
3E3H
3E4H
3E5H
3E6H
3E7H
3E8H
3E9H
3EAH
3EBH
3ECH
3EDH
3F0H
3F1H
3F2H
3F3H
3F4H
3F5H
3F6H
3F7H
3F8H
3F9H
3FAH
3FBH
3FCH
3FDH
b2
b1
DMC42C4008
R/W
b0
Serial interface buffer1
(SBUFF1)
Power on flag (PONF)
IME
IPSR3
IPSR2
IPSR1
IPSR0
External interrupt mode register0
(IMOD0)
External interrupt mode register1
(IMOD1)
External interrupt mode register2
(IMOD2)
External interrupt mode register3
(IMOD3)
IE2
IRQ2
IEBT
IRQBT
IEAD8
IRQAD8 IEWT
IRQWT
IES0
IRQS0
IETC1
IRQTC1 IETC0
IRQTC0
IE1
IRQ1
IE0
IRQ0
IETC2
IRQTC2 IES1
IRQS1
IE3
IRQ3
PW03
PW02
PW01
PW00
PW13
PW12
PW11
PW10
PW23
PW22
PW21
PW20
PW33
PW32
PW31
PW30
PW43
PW42
PW41
PW40
PW53
PW52
PW51
PW50
PW63
PW62
PW61
PW60
PW73
PW72
PW71
PW70
PW83
PW82
PW81
PW80
PW93
PW92
PW91
PW90
PWA3
PWA2
PWA1
PWA0
PWB3
PWB2
PWB1
PWB0
PWC3
PWC2
PWC1
PWC0
PWD3
PWD2
PWD1
PWD0
PORT0 (R0)
PORT1 (R1)
PORT2 (R2)
PORT3 (R3)
PORT4 (R4)
PORT5 (R5)
PORT6 (R6)
PORT7 (R7)
PORT8 (R8)
PORT9 (R9)
PORTA (RA)
PORTB (RB)
PORTC (RC)
PORTD (RD)
Addressing Unit
1 bit
4 bit
REMARKS
8bit
INITIAL
VALUE
R/W
O
serial shift register 1
00
P/W 3B2H.0
R/W 3C2H.3
O
O
power on reset flag
Interrupt priorty select, IME flag.
0
00
00
O
external interrupt 0 edge
detection
external interrupt 1 edge
detection
external interrupt 2 edge
detection
external interrupt 3 edge
detection
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
Interrupt EN/IRQ flag
port 0, 1 mode register (PMGA)
W
O
port 2, 3 mode register (PMGB)
00
W
O
port 4, 5 mode register (PMGC)
00
W
O
port 6, 7 mode register (PMGD)
00
W
O
port 8, 9 mode register (PMGE)
00
W
O
port a, b mode register (PMGF)
00
W
O
port c, d mode register (PMGG)
00
R0 Port Data Register
R1 Port Data Register
R2 Port Data Register
R3 Port Data Register
R4 Port Data Register
R5 Port Data Register
R6 Port Data Register
R7 Port Data Register
R8 Port Data Register
R9 Port Data Register
RA Port Data Register
RB Port Data Register
RC Port Data Register
RD Port Data Register
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
O
W
O
W
O
W
O
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
00
00
00
0
0
0
0
0
0
0
00
7
4Bit Single Chip Microcontroller
DMC42C4008
PIN DESCRIPTION
PIN
SYMBOL
P00
P01
P02
P03
P10
P11
P12
P13
P20
P21~ P23
P3
P4
P5
P6
P7
P8
P9
PA
PB
PC
PD
INT0/TI0
INT1/TI1
INT2/TI2
INT3
SCK
SI
SO
BUZ
CLO
Key scan
AD0~AD3
AD4~AD7
SHARED
PIN
INT0/TI0
INT1/TI1
INT2/TI2
INT3
SCK
SI
SO
BUZ
CLO
AD0~AD3
AD4~AD7
P00
P01
P02
P03
P10
P11
P12
P13
P20
P4-P5
PA
PB
XI
XO
-
RESETB
TEST
AVDD, AVSS
VDD, VSS
-
I/O
FUNCTION
I/O
4-BIT I/O PORT
PORT 0
BPS
I/O
4-BIT I/O PORT
PORT 1
BPS
I/O
4-BIT I/O PORT
PORT 2
4-BIT I/O PORT. PORT3
4-BIT I/O PORT. PORT4
4-BIT I/O PORT. PORT5
4-BIT I/O PORT. PORT6
4-BIT I/O PORT. PORT7
4-BIT I/O PORT. PORT8
4-BIT I/O PORT. PORT9
4-BIT I/O PORT. PORTA
4-BIT I/O PORT. PORTB
4-BIT I/O PORT. PORTC
4-BIT I/O PORT. PORTD
External interrupt input port
rising/falling edge detection
Event pulse input port for the
timer/event counters
Serial clock in/out port
Serial data input port
Serial data output port
Buzzer output port
Clock output port
4, 6, 8, bits Key scan input selectable
Analog input for the 8-bit A/D converter
BP
I/O
I
I/O
I
O
O
O
I
I
I
I
RESET
XI, XO are the input and output, respectively, of an inverting amplifier. The pins
can be configured for use as an on-chip
oscillator.
Reset input pin
Connect to VSS
Power & ground for the A/D converter
Power & ground
NOTE ) P4, P5, PC, PD : 8-bit operation possible
PORT
TYPE
BP
BD
BP-PDND
INPUT
BP
BD
BP
BPS
BP
OSC1
IP1
BP1
8
4Bit Single Chip Microcontroller
DMC42C4008
I/O CIRCUITS
BP
BPS
VDD VDD
VDD VDD
OUTPU
T
PUR
(M.O)
DATA
PA
OUTPUT
ENABLE
PUR
(M.O)
DATA
PA
VSS
VSS
INTERNAL
INTERNAL
Schmitt Trigger
BD
BP-PDND
VDD
VDD
PUR
(M.O)
PA
DATA
OUTPU
T
Output
TR
Disable
(P-CH)
OUTPUT
ENABLE
INTERNA
L
NOTE) PUR : Pull-Up Resistor
M.O : Mask Option
PUR
(M.O)
DATA
PA
Output
TR
Disable
(N-CH)
VSS
VSS
INTERNA
L
VD
9
4Bit Single Chip Microcontroller
IP1
DMC42C4008
BP1
VDD
PAD
PAD
VSS
P73/TEST(OTP
)
OSC1
VDD
XO
XI
PAD
VSS
10
4Bit Single Chip Microcontroller
DMC42C4008
ABSOLUTE MAXIMUM RATINGS
(TA = 0¡É to 70¡É, VDD = 5V ±10%, fX = 4.19MHz)
PARAMETER
SYMBOL
CONDITION
RATING
UNIT
VDD
-
-0.3 to +7.0
V
Input Voltage
VI
All I/O ports
-0.3 to VDD+0.3
V
Output Voltage
VO
-
-0.3 to VDD+0.3
V
Output Current High
IOH
One I/O port active
-15
mA
All I/O ports active
-30
One I/O port active
Peak Value
+30
-
RMS Value
+15
Total value for ports
Peak Value
+100
P1, P2, P3, P8
RMS Value
+60
Total value for ports
Peak Value
+100
P0, P4, P5, P6
RMS Value
+60
Supply Voltage
Output Current Low
mA
IOL
Operating Temperature
TA
-
-40 to +85
¡É
Storage Temperature
Tstg
-
-55 to +125
¡É
* RMS values are calculated as peak value x Duty
* Exceeding beyond those listed values under "Absolute Maximum Ratings" may cause permanent damage
to the device.
11
DMC42C4008
4Bit Single Chip Microcontroller
DC ELECTRICAL CHARACTERISTICS
(VSS = 0, VDD = 5V ±10%, TA = 25¡É, fX = 4.19MHz)
PARAMETER SYMBOL
High Level
TEST
MIN.
TYP.
MAX.
Port 0 ~ Port D
0.7VDD
-
VDD
RESETB, XI
0.8VDD
-
VDD
Port 0 ~ Port D (Excepted TEST/R73)
-
-
0.3VDD
RESETB, XI, TEST/R73
-
-
0.2VDD
VIH
VIL
Input Voltage
High Level
Output Voltage
VOH
Low Level
Output Voltage
Input Leakage
All Ports Except Open
(IOH = - 4mA)
0.85VDD
-
-
Drain Ports
(IOH = - 1mA)
0.95VDD
-
-
(Port 4,5,C,D)
(IOH = - 100uA)
0.99VDD
-
-
All Ports
(IOL = 10mA)
-
-
0.5
(IOL = 4mA)
-
-
0.3
(IOL = 400uA)
-
-
60
All Pin Except XI, RESETB
-
-
3
(VIN = VDD)
-
1.2
100
All Pin Except RESETB, P73/TEST
-
-
-3
(VIN = 0V)
-
-1.2
-200
Dynamic
-
-
10
-
-
5
VOL
High Level
UNIT
CONDITION
Input Voltage
Low Level
LIMIT
IIH
V
V
V
V
mV
uA
Current
Low Level
Input Leakage
IIL
uA
Current
Supply Current
IDD1
Main Clock (XI) Mode
= 4.19MHz
VDD = 5V ±10%
Idle
Mode
mA
Dynamic
IDD2
Main Clock (XI) Mode
= 2MHz
Idle
Mode
-
-
2
-
-
1
VDD = 3V ±10%
12
DMC42C4008
4Bit Single Chip Microcontroller
DC ELECTRICAL CHARACTERISTICS
(VSS = 0, VDD = 5V ±10%, TA = 25¡É, fX = 4.19MHz)
PARAMETER SYMBOL
TEST
LIMIT
CONDITION
Supply Current
IDD3
(1)
Internal Pull-up
RPU
Resistor (M.O)
Pull-up
Resistor
MIN.
TYP.
MAX.
Main Clock (XI)
Stop
VDD = 5V ±10%
-
1
5
= 4.19MHz
Mode
VDD = 3V ±10%
-
0.5
3
-
-
40
20
-
60
10
-
30
All Ports
uA
VI or VO = 0V, VDD = 5V
RL1
Resistor
Pull-down
UNIT
VI = 0V, VDD = 5V ±10%
RESETB
RL2
VI = 0V, VDD = 5V ±10%
TEST
NOTES ) :
(1) Main system clock oscillation stops.
Kohm
13
4Bit Single Chip Microcontroller
DMC42C4008
AC ELECTRICAL CHARACTERISTICS
(TA = -40 to +85¡É, VDD = 2.7 to 6.0V)
PARAMETER
Cycle Time
TI Input Frequency
TI Input High, Low
Level Width
SCK Cycle Time
SYMBOL
TEST CONDITION
MIN.
TYP.
MAX.
UNIT
tCY
VDD = 4.5 to 6.0V
0.95
-
64
uS
VDD = 2.7 to 3.3V
3.8
-
64
uS
VDD = 4.5 to 6.0V
0
-
1
MHz
VDD = 2.7 to 3.3V
0
-
275
KHz
VDD = 4.5 to 6.0V
0.48
-
-
uS
VDD = 2.7 to 3.3V
1.8
-
-
uS
Input
800
-
-
nS
Output
950
-
-
nS
Input
3200
-
-
nS
Output
3800
-
-
nS
Input
400
-
-
nS
-
-
nS
-
-
nS
-
-
nS
fTI
tTIH
tTIL
tKCY
VDD = 4.5 to
6.0V
VDD = 2.7 to
3.3V
SCK High, Low Level Width tKH
tKL
VDD = 4.5 to
6.0V
VDD = 2.7 to
3.3V
Output tKCY/2~50
Input
1600
Output tKCY/2~15
SI Set up Time to SCK High tSIK
100
-
-
nS
SI Hold Time to SCK High
400
-
-
nS
Input
-
-
300
nS
Output
-
-
250
nS
Input
-
-
1000
nS
Output
-
-
1000
nS
5
-
-
uS
5
-
-
uS
5
-
-
uS
SCK to S0 Output
tKSI
tKSO
VDD = 4.5 to
Delay Time
VDD = 2.7 to
INT 0 ~ 4 Input Level
High, Low
RESETB Low Level
tINTH
tINTL
tRSL
14
4Bit Single Chip Microcontroller
DMC42C4008
AC Timing Measurement Points (Except XI and XTI)
Measurement
Points
0.8VD
0.2VD
0.8VD
0.2VD
1/XI
Clock Timing
tXH
tXL
XI
VDD0.4V
1/XTI
tXT
tXTL
XTI
VDD0.4V
Timer Event Counter
1/fTI
tTIL
TI0
tTIH
0.8VD
0.2VD
Serial Transfer Timing
tKC
tKL
SCK
tKH
0.8VD
0.2VD
tSIK
SI
tKSO
tKSI
0.8VD
0.2VD
Input Data
Output Data
SO
Interrupt Input Timing
INT0~3
KS0~7
tINT
tINT
0.8VD
0.2VD
RESETB Input Timing
RESET
tRS
0.2VD
15
DMC42C4008
4Bit Single Chip Microcontroller
RAM DATA RETENTION CHARACTERISTICS ( in STOP Mode )
(TA = -40 to +85¡É)
PARAMETER
SYMBOL
Data Retention
Supply Voltage
VDDDR
Data Retention
Supply Current
IDDDR
Release Signal Set
Time
tSREL
Oscillation
Stabilization
Wait Time
tWAIT
TEST CONDITION
MIN.
TYP.
MAX.
UNIT
2.0
-
6.0
V
-
0.1
10
uA
0
-
-
uS
When released by RESETB
-
217/fx
-
mS
When released by interrupt
Signal
-
NOTE 1)
-
mS
VDDDR = 2.0V
NOTE 1) Depends on the setting of the basic interval timer mode register.
(refer to the table below)
( fX = 4.19MHz )
BMOD2
BMOD1
BMOD0
Oscillation Stabilization
20
0
0
0
2 /fX (Approximately 250ms)
0
1
1
217/fX (Approximately 31.3ms)
1
0
0
215/fX (Approximately 7.82ms)
1
0
1
213/fX (Approximately 1.95ms)
16
4Bit Single Chip Microcontroller
DMC42C4008
RAM DATA RETENTION TIMING
When STOP mode is released by RESETB input
Internal Reset Operation
Stabilization Wait Time
Operation
Mode
STOP Mode
RAM Data retention
VDD
VDDDR
STOP instruction execution
tSREL
RESET
tWAI
When STOP mode is released by interrupt signal
Stabilization Wait Time
Operation
Mode
STOP Mode
RAM Data retention
VDD
VDDDR
STOP instruction execution
tSREL
Interrupt Signal
(Rising Edge)
tWAI
17
4Bit Single Chip Microcontroller
DMC42P4008
DMC42P4008
DESCRIPTION
The DMC42P4008 is a system evaluation LSI
having a built in One-Time Programming circuit.
A programming and verification for the internal
EPROM is achieved by using a general EPROM
programmer with an adapter socket.
The function of this device is exactly same as
the DMC42C4008 with programming of the internal
EPROM. The DMC42P4008 is the OTP version
of the DMC42C4008 with replacement of MASK
ROM to EPROM as an internal ROM.
DD
PIN CONFIGURATION
P22
P23
63
62
61
60
59
58
57
56
55
54
53
52
EPD4
64
1
51
2
PD1
P80
1
64
V DD
P81
2
63
P63
P82
3
62
P62
P83
4
61
P61
P20/CL0
5
60
P60
P21
6
59
PD3
P22
7
58
PD2
P23
8
57
PD1
P00/INT0/TI0
9
EPA12
56
PD0
P01/INT1/TI1
10
EPA13
55
PC3
P02/INT2/TI2
11
CEX
P03/INT3
12
P10/SCK
13
EPA8
P11/SI
14
EPA9
EPD4
50
PD0
P12/SO
15
EPA10
D
M
C
4
2
P
4
0
0
54
PC2
53
PC1
52
PC0
51
AV DD
50
AV SS
49
PB3/AD7
48
35
35
PB2/AD6
47
PB1/AD5
46
PB0/AD4
45
PA3/AD3
44
PA2/AD2
P00/INT0/TI0
3
EPA12
49
PC3
P13/BUZ
16
EPA11
P01/INT1/TI1
4
EPA13
48
PC2
P30
17
35
35
EPD0
P31
18
EPD1
PC0
P32
19
EPD2
AV DD
P33
20
EPD3
AV SS
RESETB
21
PB3/AD7
XI
22
43
PA1/AD1
PB2/AD6
35
XO
23
42
PA0/AD0
PB1/AD5
P40
24
EPA0
41
P93
25
EPA1
40
P92
P02/INT2/TI2
P03/INT3
P10/SCK
P11/SI
P12/SO
P13/BUZ
P30
P31
5
CEX
47
46
6
7
8
9
10
11
12
EPA8
45
EPA9
44
EPA10
43
DMC42P4008
EPA11
42
EPD0
41
PC1
EPD1
40
PB0/AD4
P41
26
EPA2
39
P91
P32
13
EPD2
39
PA3/AD3
P42
P33
14
EPD3
38
PA2/AD2
P43
27
EPA3
38
P90
RESETB
15
37
PA1/AD1
P50
28
EPA4
37
P73/TEST
XI
16
36
PA0/AD0
P51
29
EPA5
36
P72
35
P52
35
P71
35
34
P70
33
V PP /OEX
XO
35
17
35
35
P93
30
35
35
EPA6
EPA0/P40
18
34
P92
P53
31
EPA7
P91
V SS
32
20
21
22
23
24
25
26
27
28
29
30
31
32
P50
P51
P52
P53
V SS
V PP /OEX
P70
P71
P72
P73/TEST
P90
33
P43
19
P42
EPA1/P41
18
DMC42P4008
4Bit Single Chip Microcontroller
DEVICE OPERATION
The operational modes of the DMC42P4008 are listed in Table 1.
A single 5V power supply is required in the read mode.
All inputs are TTL levels except for VPP / OEX.
VPP = 12.5±0.5V
PINS
CEX
VPP / OEX
VDD
OUTPU
READ
VIL
VIL
5.0V
DOUT
PROGRAM
VIL
VPP
6.0V
DIN
VERIFY
VIL
VIL
6.0V
DOUT
PROGRAM INHIBIT
VIH
VPP
6.0V
High Z
MODE
TABLE 1. Operating Modes
MODE
PIN NAME
EPROM MODE
USER MODE
TEST
VIL
VIH
RESETB
VIL
VIH
VIL
TABLE 2. The modes of DMC42P4008
DC PROGRAMMING CHARACTERISTICS
PARAMETER
SYMBO
L
LIMIT
TEST CONDITION
MIN.
UNIT
MAX.
Input Low Voltage
VIL
-0.1
0.8
V
Input High Voltage
VIH
2.0
VDD
V
Output Low Voltage during Verify
VOL
IOL = 2.1mA
-
0.45
V
IOH = -400uA
2.4
-
V
Output High Voltage during Verify
VOH
Quick-pulse Programming
VPP
12.5
13.0
V
Quick-pulse Programming
VDD
6.0
6.5
V
19
4Bit Single Chip Microcontroller
DMC42C/P4008
PACKAGE DIMENSION
[ UNIT : Millimeter ]
64 SDIP
33
64
+0.1
-0.05
19.05
17.00 x 0.2
0.25
0°~ 15°
1
32
57.80 x 0.2
5.08Max
0.51Min
3.30 x 0.3
1.778
0.45 x 0.1
1.00 x 0.1
20
DMC42C/P4008
4Bit Single Chip Microcontroller
PACKAGE DIMENSION
[ UNIT : Millimeter ]
64 QFP
20.0±0.1
3.00MAX
14.0±0.1
17.9±0.25
0.15±0.05
1.0TYP
0.35±0.05
23.9±0.25
1.8±0.2
0.8±0.15