Daewoo Semiconductor DMC42C1008, DMC42P1008 Datasheet

1
4Bit Single Chip Microcontroller DMC42C1008
DESCRIPTION
The DMC42C1008 is a microcomputer of the 4-bit single chip microcomputer DMC42xx series which can match an 8-bit microcomputer in the data processing capability. The DMC42C1008 can handle 1-bit, 4-bit, and 8-bit data as well as operates at high speed (minimum instruction execution time : 0.95us) it contains a LCD pannel controller/driver.
PIN CONFIGURATION
P02/INT2
P00/INT0/TI0
P01/INT1
64
62
63
53
54
55
56
57
58
59
60
61
52
49
50
51
44
45
46
47
48
41
42
43
BIAS
VLC0
V
SS
P62
P61
P60
VLC2
VLC1 P82
P81
P21
P20/CLO
P83
P63 P22
P80
25 33313029282726 363534 39383732 40
SEG12
SEG14
SEG13
SEG23
SEG22
SEG21
SEG20
SEG19
SEG18
SEG17
SEG16
SEG15
SEG24
SEG27
SEG26
SEG25
COM0
SEG29
SEG28
COM3
COM2
COM1
SEG31
SEG30
1
3
2
12
11
10
9
8
7
6
5
4
13
16
15
14
21
20
19
18
17
24
23
22
P50/kS4
P42/kS2
P43/kS3
P33
V
DD
XTI
XTO
TEST
XI
X0
P40/kS0
P41/kS1
5353P32
P13/BUZ
P30
P31
P03/INT3
P10/SCK
P11/SI
P12/SO
P23
DMC42C1008
80 72747576777879 697071 66676873 65
2
4Bit Single Chip Microcontroller DMC42C1008
FEATURE
Memory mapped I/O 8-bit serial communication interface
- External / Internal clock selection
Program memory : 8192 x 10bits - Mode : Transmit ·Receive
Receive only
Data memory : 512 x 4bits Clock continuous
Instructions LCD controller/driver
- Various bit manipulation - selectable number of segments ;
- 8-bit data operation 20/24/28/32 segment (4/8/12 lines can
- 7-bit relative branch be specified as bit ports)
- 1 byte absolute call - Display mode selection
· Static
Instruction cycle times · 1/2 duty (1/2 bias)
- Main ( XI = 4.19MHz ) · 1/3 duty (1/2 bias) . 15.3 us ( XI/64 = 65.5KHz ) · 1/3 duty (1/3 bias) . 1.91 us ( XI/8 = 524.0KHz ) · 1/4 duty (1/3 bias) . 0.95 us ( XI/4 = 1.05MHz )
- Sub ( XTI = 32.768KHz ) Key scan . 122 us ( XTI/4 = 8.19KHz ) - 4, 6, 8 Pins Selectable : Port 4, 5
- Falling edge operation
4 Register Bank
64 I/O Pins
General register : 8 x 4-bit respectively - LCD driver output pins : 36
. Segment ouput pins : 20
Accumulator . Segment CMOS output pins : 12
- Bit Accumulator (CY), 4 bit Accumulator (A), . Common ounput pins : 4 8 bit Accumulator (XA) - CMOS input/output pins : 32
Multiple vectored interrupt source Power saving mode
- External interrupt : 4 - STOP : Main clock, CPU clock stop
- Internal interrupt : 4 - STBY : Only CPU clock stop Main clock operation
Watch timer
- fast mode : 3.91 msec Package : 80 QFP
- normal mode : 0.5 sec
- buzzer output : 1, 2, 4 KHz
APPLICATION
Basic interval timer
- 8 kinds of period VTR, Camera, Rice Cooker, Telephone
- Used stabilization wait timer to wake up Stop mode Blood Pressure Gauge, CD Player
One 8-bit timer / event counter
3
4Bit Single Chip Microcontroller DMC42C1008
P20 ¡- P23
P30 ¡- P33
P60 ¡- P63
P80 ¡- P83
CPU CLOCK
DMC42 CORE
BASIC
INTERVAL
TIMER
IRQBT
WATCH
TIMER
IRQTC0
TIMER/ EVENT
COUNTER
IRQWT
PORT2
PORT3
PORT6
PORT8
LCD
CONTROL
/
DRIVER
DISPLAY
RAM
PROGRAM MEMORY
(8192 X 10BITS)
Fx / 2
V
DD
P20/CLO
V
SS
RESETB
CLOCK
OUTPUT
CONTROL
CLOCK
GENERATOR
STOP/ IDLE
CONTROL
XTI
XTO
CLOCKED
SERIAL
INTERFACE
IRQS0
XO
XI
n
DATA MEMORY
(512 X 4BITS)
BIT SEQ.
BUFFER(16)
INTERRUPT
CONTROL
SEG0~SEG19
BIAS
VLC0~VLC2
COM0~COM3
SEG20~SEG30
(BP0~BP11)
FLCD
FLCD
BUZ/P13
SO/P12
SI/P11
SCK/P10
TI0/INT0/P00
KS0/P40 KS7/P53
INT3/P03
INT1/P01 INT2/P02
CLOCK
DIVIDER
TEST
BLOCK DIAGRAM
4
4Bit Single Chip Microcontroller DMC42C1008
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
002FH 000AH 0060H 000CH
6 IRQ2
External interrupt 2
000EH
0010H
8 IRQ3
External interrupt 3
0012H
9 IRQS0
Serial I/O 0
0014H
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 DMC42C1008
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 readable count value (ch0) 00
323H (TMCNT0)
324H T/E reference register 0 W count reference register (ch0) FF
325H (TMREF0)
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
390H Lcd display mode register W O duty/bias/clock/seg/bitport 00
391H (LCDMD) select
392H Lcd control register (LCON) W O display ON/OFF 0 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 3C4H External interrupt mode register0 W O external interrupt 0 edge 00
(IMOD0) detection 3C5H External interrupt mode register1 W O external interrupt 1 edge 00
(IMOD1) detection 3C6H External interrupt mode register2 W O external interrupt 2 edge 00
(IMOD2) detection 3C7H External interrupt mode register3 W O external interrupt 3 edge 00
(IMOD3) detection 3D8H IE2 IRQ2 IEBT IRQBT R/W O O Interrupt EN/IRQ flag 0 3D9H IEWT IRQWT R/W O O Interrupt EN/IRQ flag 0
6
4Bit Single Chip Microcontroller DMC42C1008
ADDRESS Hardware Module Name R/W Addressing Unit REMARKS INITIAL
b3 b2 b1 b0 1 bit 4 bit 8bit VALUE
3DAH IEKSF IRQKS IES0 IRQS0 R/W O O Interrupt EN/IRQ flag 0 3DBH IETC0 IRQTC0 R/W O O Interrupt EN/IRQ flag 0
3DCH IE1 IRQ1 IE0 IRQ0 R/W O O Interrupt EN/IRQ flag 0 3DDH IE3 IRQ3 R/W O O Interrupt EN/IRQ flag 0
3DEH R/W O O Interrupt EN/IRQ flag 0 3E0H PW03 PW02 PW01 PW00 W O port 0, 1 mode register (PMGA) 00 3E1H PW13 PW12 PW11 PW10 3E2H PW23 PW22 PW21 PW20 W O port 2, 3 mode register (PMGB) 00 3E3H PW33 PW32 PW31 PW30 3E4H PW43 PW42 PW41 PW40 W O port 4, 5 mode register (PMGC) 00 3E5H PW53 PW52 PW51 PW50 3E6H PW63 PW62 PW61 PW60 W O port 6, 7 mode register (PMGD) 00 3E7H PW73 PW72 PW71 PW70 3E8H PW83 PW82 PW81 PW80 W O port 8, 9 mode register (PMGE) 00 3E9H PW93 PW92 PW91 PW90 3F0H PORT0 (R0) R/W O O R0 Port Data Register 0 3F1H PORT1 (R1) R/W O O R1 Port Data Register 0 3F2H PORT2 (R2) R/W O O R2 Port Data Register 0 3F3H PORT3 (R3) R/W O O R3 Port Data Register 0 3F4H PORT4 (R4) R/W O O O R4 Port Data Register 0 3F5H PORT5 (R5) R/W O O R5 Port Data Register 0 3F6H PORT6 (R6) R/W O O R6 Port Data Register 0 3F8H PORT8 (R8) R/W O O R8 Port Data Register 0
Loading...
+ 14 hidden pages