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

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

Скачать:  PDF   ZIP
1
4Bit Single Chip Microcontroller
DMC42C3008
DESCRIPTION
The DMC42C3008 is a 4-bit single chip microcomputer having
8K bytes ROM and is designed with CMOS silicon gate technology.
The DMC42C3008 includes such peripherals as various timers,
A/D converter, serial communication interface,on-chip oscillator
and clock circuitry. It also comes with high-voltage I/O pins
that can directly drive a fluorescent display.
The high performance CPU and internal peripherals allow flexible & cost
effective system design in industrial and home appliances.
AND the OTP device (42P3008) can shorten system development periods
and help the process for software debugging.
PIN CONFIGURATION
7
36
6
37
20
19
21
18
17
16
15
14
13
12
11
10
9
5
4
3
2
1
PC3 / TOC
42
41
40
39
38
34
33
32
31
30
29
28
27
26
25
24
23
22
V
disp
P10 / SCK
P11 / SI
P12 / SO
PC2
RESETB
8
XI
XO
V
SS
/ AV
SS
TEST
PA0 / AD0
PA1 / AD1
PA2 / AD2
PA3 / AD3
PB0 / AD4
PB1 / AD5
PB2 / AD6
PB3 / AD7
AV
DD
V
DD
P00 / INT0
P01 / INT1
P02 / INT2 / TI2
P13 / BUZ
P03 / INT3
P20 / CLO
P21
P22
P23
P60
P61
P62
P63
35
P40
P41
P42
P43
P50
P51
P52
P53
D
M
C
4
2
C
3
0
0
8
2
4Bit Single Chip Microcontroller
DMC42C3008
FEATURES
Memory mapped I/O
PWM
- 14 bit PWM output X 1ch
Program memory : 8192 x 10bits
8-bit serial communication interface
Data memory : 512 x 4bits
- External / Internal clock selection
- Mode : Transmit, Receive
Instructions
Receive only
- Various bit manipulation
Clock continuous
- 8-bit data operation
- 7-bit relative branch
8-bit A/D converter
- 1 byte absolute call
- 8-bit successive approximate type
- 8 channels
Instruction cycle times
- Sample and hold
- Main ( XI = 4.19MHz )
- Conversion time : 17.1us at 4.19MHz
. 15.3 us ( XI/64 = 65.5KHz )
. 1.91 us ( XI/8 = 524.0KHz )
34 I/O Pins
. 0.95 us ( XI/4 = 1.05MHz )
- CMOS Pins : 13
- High voltage Pins : 21
4 Register Bank
- Internal pull-up resistor ( Mask option )
- Internal pull-down resistor ( Mask option )
General register : 8 x 4-bit respectively
Power saving mode
Accumulator
- STOP : Main clock, CPU clock stop
- Bit Accumulator (CY), 4 bit Accumulator (A), - STBY : Only CPU clock stop
8 bit Accumulator (XA)
Main clock operation
Multiple vectored interrupt source
Operating voltage range
- External interrupt : 4
- VDD = 5V 10%
- Internal interrupt : 6
- V
disp
= VDD - 40V
Watch timer(at 4.19MHz)
Package : 42 SDIP
- fast mode : 3.91 msec
- normal mode : 0.5 sec
APPLICATION
- buzzer output : 1, 2, 4 KHz
Microwave Oven, Home Appliances
Basic interval timer
- 8 kinds of period
- Used stabilization wait timer to wake up
Stop mode
One 8-bit timer / event counter
Watchdog timer
- 4 kinds of period
3
4Bit Single Chip Microcontroller
DMC42C3008
P00
-
P03
P10
-
P13
P20
-
P23
P40
-
P43
P50
-
P53
P60
-
P63
PA0
-
PA3
PB0
-
PB3
PC2
-
PC3
TOC / PC3
IRQTC 2
BLOCK DIAGRAM
DMC42CORE
BASIC
INTERVAL
TIMER
I
RQBT
WATCH
TIMER
IRQWT
TIMER/EVENT
COUNTER 2
SERIAL
INTERFACE
IRQS0
INTERRUPT
CONTROL
8-BIT ADC
IRQAD
BUZ / P13
TI2 / P02
SCK / P10
SI / P11
SO / P12
INT3 / P03
PA0~PA3,
PB0~PB3/
AD0-AD7
PORT0
PORT1
PORT2
PORT4
PORT5
PORT6
PORTA
PORTB
PORTC
PROGRAM MEMORY
(8192 X 10BITS)
DATA MEMORY
(512 X 4BITS)
Fx / 2
n
CPU
CLOCK
AV
DD
AV
SS
V
DD
P20 / CLO
V
SS
XI
XO
RESETB
TEST
CLOCK
OUTPUT
CONTRO
L
CLOCK
DIVIDER
CLOCK
GENERATOR
STOP/
IDLE
CONTROL
WATCHDOG
TIMER
PULSE WIDTH
MODULATION
INT2 / P02
INT1 / P01
INT0 / P00
4
4Bit Single Chip Microcontroller
DMC42C3008
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
002FH
000AH
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
DMC42C3008
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
32CH
T/E counter mode register 2
W
32CH.3
clock source select. counter
00
32DH
(TMOD2)
start (ch2)
32EH
T/E counter register 2
R
readable count value (ch2)
00
32FH
(TMCNT2)
330H
T/E reference register 2
W
count reference register (ch2)
FF
331H
(TMREF2)
332H
Basic Timer mode register(BMOD)
R/W 332H.3
clock select, Bit start
0
334H
Basic interval timer count
R
readable count register
00
335H
register(BITCNT)
336H
Watch timer mode register
R/W 336H.3
clock/buzzer select. bit3
00
337H
(WMOD)
readable
338H
Watch dog timer mode register
W
clock source sel. timer EN/DIS
00
(WDTM)
339H
WDTF
R
WDT flag
0
340H
Pwm mode register0(PWMOD0)
R/W
6.14bit pwm counter EN/DIS
0
342H
Pwm0 data register high
W
O
14bit pwm data register high
00
343H
(PWMODH)
344H
Pwm0 data register low
W
O
14bit pwm data register low
00
345H
(PWMODL)
354H
PWM3
PWM2
PWM1
PWM0
W
O
pwm output enable mode
00
355H
PWM6
PWM5
PWM4
register (PWM0 = 14bit)
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)
3B2H
Power on flag (PONF)
P/W 3B2H.0
O
power on reset flag
0
3C2H
IME
R/W 3C2H.3
O
Interrupt priorty select, IME flag.
00
3C3H
IPSR3
IPSR2
IPSR1
IPSR0