4Bit Single Chip Microcontroller
The DMC42C1106 is a 4-bit single chip
microcomputer designed with CMOS silicon
The DMC42C1106 includes such peripherals
as various timers, A/D converter (8ch), serial
communication interface (8bit),LCD Driver
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 program memory.
SEG20 6 59 COM1
P02 / INT2 7 58 COM2
P01 / INT1 / TI1 8 57 COM3
P00 / INT0 / TI0 9 56 SEG13
P13/BUZ 10 55 SEG12
P12 / SO 11 54 SEG11
P11 / SI 12 53 SEG10
P10 / SCK 13 52 SEG9
P23 14 51 SEG8
P22 15 50 SEG7
P21 16 49 SEG6
P01/INT1/TI1 1 51
COM2
P20 / CLO 17 48 SEG5
P00/INT0/TI0 2 50
COM3
PC3 18 47 SEG4
P13 / BUZ 3 49
SEG13
PC2 19 46 SEG3
P12 / SO 4 48
SEG12
P43 20 45 SEG2
P11 / SI 5 47
SEG11
P42 21 44 SEG1
P10 / SCK 6 46
SEG10
P41 22 43 SEG0
P23 7 45
SEG9
P40 23 42 PA0 / AD0
P22 8 44
SEG8
PB3 / AD7 24 41 PA1 / AD1
P21 9 43
SEG7
PB2 / AD6 25 40 PA2 / AD2
P20 / CLO 10 42
SEG6
PB1 / AD5 26 39 PA3 / AD3
PC3 11 41
SEG5
PB0 / AD4 27 38
PC2 12 40
SEG4
XTI 28 37 AV
SS
P43 13 39
SEG3
XTO 29 36 TEST
P42 14 38
SEG2
XI 30 35 RESETB
P41 15 37
SEG1
XO 31 34 DGRMEN
P40 16 36
SEG0
VSS 32 33
PB3 / AD7 17 35
PA0 / AD0
PB2 / AD6 18 34
PA1 / AD1
PB1 / AD5 19 33
PA2 / AD2
DMC42C1106
V
DD
64 63 62 61 60 59 58 57 56 55 54 53 52
20 21 22 23 24 25 26 27 28 29 30 31 32
AV
DD
4Bit Single Chip Microcontroller
8-bit serial communication interface
- External / Internal clock selection
Program memory : 6144 x 10bits
- Mode : Transmit ·Receive
Data memory : 384 x 4bits
- Various bit manipulation
- selectable number of segments (21)
. 15.3 us ( XI/64 = 65.5KHz )
. 1.91 us ( XI/8 = 524.0KHz )
. 0.95 us ( XI/4 = 1.05MHz )
- LCD driver output pins : 25
- Sub ( XTI = 32.768KHz )
. 122 us ( XTI/4 = 8.19KHz )
. Segment CMOS outputpins : 12
- CMOS input/output pins : 25
General register : 8 x 4-bit respectively
- STOP : Main clock, CPU clock stop
- STBY : Only CPU clock stop
- Bit Accumulator (CY), 4 bit Accumulator (A),
Package : 64 QFP, 64 SDIP
Multiple vectored interrupt source
VTR, Camera, Rice Cooker, Telephone
Blood Pressure Gauge, CD Player
- buzzer output : 1, 2, 4 KHz
- Used stabilization wait timer to wake up Stop mode
Two 8-bit timer / event counters
4Bit Single Chip Microcontroller
P00 ¡- P02
P10 ¡- P13
P20 ¡- P23
P40 ¡- P43
VLC0 ¡- VLC2
COM0 ¡- COM3
SEG0 ¡- SEG20
PA0 ¡- PA3
PB0 ¡- PB3
PC2 ¡- PC3
DMC42 CORE
BASIC
INTERVAL
TIMER
IRQBT
WATCH
TIMER
IRQWT
P13/BUZ
TIMER/
EVENT
COUNTER 0
IRQTC
P00 / TI0
P01 / TI1
SERIAL
INTER-
FACE
IRQS0
P10 / SCK
P11 / SI
P12 / SO
8-BIT
ADC
IRQAD
PA0~PA3,
PB0~PB3/
AD0~AD7
PORT0
PORT1
PORT2
PORT4
LCD
CONTR
OL
/
DRIVER
DISPLAY
RAM
PORTA
PORTB
PORTC
PROGRAM
MEMORY
CLOCK
DIVIDER
CLOCK
GENERATO
R
STOP/
IDLE
CONTRO
TIMER/
EVENT
COUNTER 1
IRQTC
DATA MEMORY
(384 X 4BITS)
n
P00 / INT0
P02 / INT2
P01 / INT1
4Bit Single Chip Microcontroller
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
5 IRQTC1
Timer Event Counter 1
0060H 000CH
6 IRQ2
External interrupt 2
000EH
0010H
0012H
9 IRQS0
Serial I/O 0
0014H
10 IRQAD
8 bit ADC
6K Byte
0016H
0018H
12 IRQWT
Watch Timer
001AH
13 IRQKS
Key Scan
001CH
17FFH 001EH
15 -
reserved
4Bit Single Chip Microcontroller
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)
332H Basic Timer mode register(BMOD) R/W 332H.3 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
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
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
O receive/transmit mode, clock 00
3ADH (SIOM1) select
3AEH Serial interface buffer1 R/W O serial shift register 1 00
3AFH (SBUFF1)
3B2H Power on flag (PONF) P/W
4Bit Single Chip Microcontroller
ADDRESS Hardware Module Name R/W Addressing Unit REMARKS INITIAL
b3 b2 b1 b0 1 bit 4 bit 8bit VALUE
3C2H IME R/W
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
3D8H IE2 IRQ2 IEBT IRQBT R/W O O Interrupt EN/IRQ flag 0
3D9H IEAD8 IRQAD8 IEWT IRQWT R/W O O Interrupt EN/IRQ flag 0
3DAH IES0 IRQS0 R/W O O Interrupt EN/IRQ flag 0
3DBH IETC1 IRQTC1 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 IES1 IRQS1 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
3EAH PWA3 PWA2 PWA1 PWA0 W O port a, b mode register (PMGF) 00
3EBH PWB3 PWB2 PWB1 PWB0
3ECH PWC3 PWC2 PWC1 PWC0 W O port c, d mode register (PMGG) 00
3EDH PWD3 PWD2 PWD1 PWD0
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
3FAH PORTA (RA) R/W O O RA Port Data Register 0
3FBH PORTB (RB) R/W O O RB Port Data Register 0
3FCH PORTC (RC) R/W O O O RC Port Data Register 0