ChipFind - документация

Электронный компонент: DMC42C4008

Скачать:  PDF   ZIP
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
P80 1
64
V
DD
applications requiring up to 64K bytes of
P81 2
63
P63
programmable memory.
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
55
PC3
P02 /INT2 / TI2 11
54
PC2
P03 / INT3 12
53
PC1
P10 / SCK 13
52
PC0
P22
51 PD1
P11 / SI 14
51
AV
DD
P23
50 PD0
P12 / SO 15
50
AV
SS
P00 / INT0 TI0
49 PC3
P13 / BUZ 16
49
PB3 / AD7
P01 / INT1 TI1
48 PC2
P30 17
48
PB2 / AD6
P02 / INT2 TI2
47 PC1
P31 18
47
PB1 / AD5
P03 / INT3
46 PC0
P32 19
46
PB0 / AD4
P10 / SCK
45 AV
DD
P33 20
45
PA3 / AD3
P11 / SI
44 AV
SS
RESETB 21
44
PA2 / AD2
P12 / SO
43 PB3 / AD7
XI 22
43
PA1 / AD1
P13 / BUZ
42 PB2 / AD6
XO 23
42
PA0 / AD0
P30
41 PB1 / AD5
P40 24
41
P93
P31
40 PB0 / AD4
P41 25
40
P92
P32
39 PA3 / AD3
P42 26
39
P91
P33
38 PA2 / AD2
P43 27
38
P90
RESETB
37 PA1 / AD1
P50 28
37
P73
XI
36 PA0 / AD0
P51 29
36
P72
XO
35 P93
P52 30
35
P71
P40
34 P92
P53 31
34
P70
P41
33 P91
V
SS
32
33
TEST
DMC42C4008
D
M
C
4
2
C
4
0
0
P42
P43
P51
P52
P53
V
SS
TEST
P70
P71
P72
P73
P90
P50
P21
P20 / CLO
P83
P82
P81
P80
V
DD
P63
P62
P61
P60
PD3
PD2
64
57
58
61
62
63
59
60
52
53
54
55
56
22
21
20
28
27
26
25
24
23
32
31
30
29
1
3
2
12
11
10
9
8
7
6
5
4
13
16
15
14
19
18
17
PIN CONFIGURATIONS
2
4Bit Single Chip Microcontroller
DMC42C4008
FEATURE

Memory mapped I/O
8-bit A/D converter
- 8-bit successive approximate type
Program memory : 8192 x 10bits
- 8 channels
- Sample and hold
Data memory : 512 x 4bits
- Conversion time : 17.1 us at 4.19MHz
Instructions
Key scan
- Various bit manipulation
- 4, 6, 8 Pins Selectable : Port 4, 5
- 8-bit data operation
- Falling edge operation
- 7-bit relative branch
- 1 byte absolute call
56 I/O Ports
- CMOS Ports : 40
Instruction cycle times
- N-channel open drain Ports : 16
- Main ( XI = 4.19MHz )
- Direct LED drive
. 15.3 us ( XI/64 = 65.5KHz )
- Internal pull-up resistor (Mask option)
. 1.91 us ( XI/8 = 524.0KHz )
. 0.95 us ( XI/4 = 1.05MHz )
Power saving mode
- STOP : Main clock, CPU clock stop
4 Register Bank
- 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
APPLICATION
- Internal interrupt : 7
VTR, Audio, Telephone, Printer, Refrigerator
Watch timer
Fan Heater, Washing Machine
- fast mode : 3.91 msec
- normal mode : 0.5 sec
- buzzer output : 1, 2, 4 KHz
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
P00
-
P03
P10
-
P13
P20
-
P23
P30
-
P33
P40
-
P43
P50
-
P53
P60
-
P63
P70
-
P73
P80
-
P83
P90
-
P93
PA0
-
PA3
PB0
-
PB3
PC0
-
PC3
PD0
-
PD3

DMC42 CORE
BASIC
INTERVAL
TIMER
IRQBT
WATCH
TIMER
IRQWT
TIMER/EVENT
COUNTER 0
IRQTC 0
TIMER/EVENT
COUNTER 1
IRQTC 1
TIMER/EVENT
COUNTER 2
IRQTC 2
SERIAL
INTERFACE
IRQS0
INTERRUPT
CONTROL
8-BIT ADC
IRQAD
BUZ/P13
TI0 / P00
TI1 / P01
TI2 / P02
SCK/P10
SI / P11
SO / P12
INT0/P00
INT1/P01
INT2/P02
INT3/P03
PA0~PA3
,
PB0~PB3
PORT0
PORT1
PORT2
PORT3
PORT4
PORT5
PORT6
PORT7
PORT8
PORT9
PORT
A
PORT
B
PORT
C
PORT
D
PROGRAM MEMORY
(8192 X 10BITS)
DATA MEMORY
(512 X 4BITS)
Fx / 2
n
CPU
CLOCK
CLOCK
OUTPUT
CONTRO
L
CLOCK
DIVIDER
CLOCK
GENERATOR
STOP/
IDLE
CONTROL
RESETB
TEST
AV
DD
AV
SS
V
DD
P20 / CLO
V
SS
XI
XO
BLOCK DIAGRAM
4
4Bit Single Chip Microcontroller
DMC42C4008
PROGRAM MEMORY (ROM)
VECTOR ADDRESS
CONTENTS
Prioty
INTERRUPT SUORCE
0000H
VECTOR
0000H
0
RESET
Reset Signal
ADDRESS AREA
0002H
1
IRQBT
Basic Interval Timer
001FH
0004H
2
IRQ0
External interrupt 0
0020H
ZERO-PAGE
0006H
3
IRQ1
External interrupt 1
CALL AREA
0008H
4
IRQTC0
Timer Event Counter 0
005FH
000AH
5
IRQTC1
Timer Event Counter 1
0060H
000CH
6
IRQ2
External interrupt 2
000EH
7
IRQTC2
Timer Event Counter 2
0010H
8
IRQ3
External interrupt 3
0012H
9
IRQS0
Serial I/O 0
0014H
10
IRQAD
8 bit ADC
8K Byte
0016H
0018H
12
IRQWT
Watch Timer
001AH
13
IRQKS
Key Scan
001CH
1FFFH
001EH
15
-
reserved
DATA MEMORY (RAM)
DIRECT
INDIRECT
STACK
GENERAL
m
@HL
@DE @DL
REGISTER
$00
RB=0
RB=1
PAGE0
RB=2
RB=4
(256 Byte)
MP=0
SPS=0
$FF
$00
PAGE1
(256 Byte)
MB=0
MB=0
MP=1
SPS=1
BANK 0 $FF
(1K)
$00
PAGE2
(256 Byte)
MP=2
SPS=2
$FF
$00
PAGE3
I/O
(256 Byte)
MEMORY
MP=3
; Usable
$FF
5
4Bit Single Chip Microcontroller
DMC42C4008
I/O ADDRESS MAP
ADDRESS
Hardware Module Name
R/W
Addressing Unit
REMARKS
INITIAL
b3
b2
b1
b0
1 bit
4 bit
8bit
VALUE
318H
Stack pointer low (SPL)
R/W
O
Stack pointer low
E
319H
Stack pointer high (SPH)
R/W
O
stack pointer high
F
31AH
SP3
SP2
SP1
SP0
R/W
O
Stack Page Select Low (SPSL)
0
31BH
-
-
SP5
SP4
R/W
O
Stack Page Select High (SPSh)
0
31CH
AC
IS1
IS0
R/W
O
O
O
Psw low (PSWL)
0
31DH
CY
Z
OV
T
Psw high (PSWH)
0
320H
T/E counter mode register 0
W
320H.3
O
Clock source select. counter
00
321H
(TMOD0)
start (ch0)
322H
T/E counter register 0
R
O
readable count value (ch0)
00
323H
(TMCNT0)
324H
T/E reference register 0
W
O
count reference register (ch0)
FF
325H
(TMREF0)
326H
T/E counter mode register 1
W
326H.3
O
clock source select. counter start
00
327H
(TMOD1)
(ch1)
328H
T/E counter register 1
R
O
readable count value (ch1)
00
329H
(TMCNT1)
32AH
T/E reference register 1
W
O
count reference register (ch1)
FF
32BH
(TMREF1)
32CH
T/E counter mode register 2
W
32CH.3
O
clock source select. counter
00
32DH
(TMOD2)
start (ch2)
32EH
T/E counter register 2
R
O
readable count value (ch2)
00
32FH
(TMCNT2)
330H
T/E reference register 2
W
O
count reference register (ch2)
FF
331H
(TMREF2)
332H
Basic Timer mode register(BMOD)
R/W 332H.3
O
clock select, Bit start
0
334H
Basic interval timer count
R
O
readable count register
00
335H
register(BITCNT)
336H
Watch timer mode register
R/W 336H.3
O
clock/buzzer select. bit3
00
337H
(WMOD)
readable
386H
Adc8 mode register (ADCM8)
R/W 386H.3
O
analog input pin select. start &
00
387H
low 4bit readable
388H
Adc8 output latch (ADCOL8)
R
O
8bit conversion data
00
389H
3A0H
Power control register
O
system clock select, idle, stop
00
(PCON)
R/W
mode
3A2H
Operating mode register (SCMOD)
R/W
O
main/sub system clock select
0
3A4H
Clock output mode register
W
O
cpu clock output select, clock
00
(CLOMD)
out EN/DIS
3A8H
Serial interface mode register0
W
3A8H.3
O
receive/transmit mode. clock
00
3A9H
(SIOM0)
select
3AAH
Serial interface buffer0
R/W
serial shift register 0
XX
3ABH
(SBUFF0)
3ACH
Serial interface mode register1
W
3ACH.3
O
receive/transmit mode, clock
00
3ADH
(SIOM1)
select