This EPROM-Based 8-bit micro-controller uses a fully static CMOS design technology
combines higher speeds and smaller size with the low power and high noise immunity of
CMOS.
On chip memory system includes 0.5 K(for MDT2005) bytes of ROM, and 32 bytes of static
RAM.
2. Features
The followings are some of the features on the hardware and software :
u Fully COMS static design
u 8-bit data bus
u On chip ROM size : 512 words for MDT2005
u Internal RAM size : 32 bytes
(25 general purpose registers, 7 special registers)
u 36 single word instructions
u 14-bit instructions
u 2-level stacks
u Operating voltage : 2.3V ~ 6.3 V
u Operating frequency : 0 ~ 20 MHz
u The most fast execution time is 200 ns under 20 MHz in all single cycle instructions except
the branch instruction
u Addressing modes include direct, indirect and relative addressing modes
u Power-on Reset
u Power edge-detector Reset
u Sleep Mode for power saving
u 8-bit real time clock/counter(RTCC) with 8-bit programmable prescaler
u 4 types of oscillator can be selected by programming option:
RC-Low cost RC oscillator
LFXT-Low frequency crystal oscillator
XTAL-Standard crystal oscillator
HFXT-High frequency crystal oscillator
u 4 oscillator start-up time can be selected by programming option:
150 µs, 20 ms, 40 ms, 80 ms
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 1 VER1.1
Page 2
MDT2005
u On-chip RC oscillator based Watchdog Timer(WDT) can be operated freely
u 12 I/O pins with their own independent direction control
3. Applications
The application areas of this MDT2005 range from appliance motor control and high speed
automot ive to low power remote transmitters/receivers, pointing devices, and
telecommunications processors, such as Remote controller, small instruments, chargers, toy,
automobile and PC peripheral … etc.
Watchdog timer disable all the time
Watchdog timer enable all the time
Power Edge Detect Security bit
PED Disable Security weak Disable
PED Enable Security Disable
Security Enable
The default EPROM security is weak disable. Once the IC was set in enable or disable, it’s
forbidden to set in disable or enable again.
(B) Program Memory
150 µs,20ms,40ms,80ms
Address Description
000-1FF Program memory for MDT2005
1FF The starting address of the power on, external reset
or WDT for MDT2005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 5 VER1.1
Page 6
eration
WT, stop OSC
7. Reset Condition for all Registers
Register Address Power-On Reset /MCLR or WDT Reset
MDT2005
IAR 00h
--
RTCC 01h xxxx xxxx uuuu uuuu
PC 02h 1111 1111 1111 1111
STATUS 03h 0001 1xxx 000# #uuu
MSR 04h 111x xxxx 111u uuuu
PORT A 05h - - - - xxxx - - - - uuuu
PORT B 06h xxxx xxxx uuuu uuuu
Note : u=unchanged, x=unknown, - =unimplemented, read as “0”
#=value depends on the condition of the following table
Condition Status: bit 4 Status: bit 3
/MCLR reset (not during SLEEP) u u
/MCLR reset during SLEEP 1 0
WDT reset (not during SLEEP) 0 1
WDT reset during SLEEP 0 0
8. Instruction Set
Instruction Code
010000 00000000 NOP No op
010000 00000001 CLRWT Clear Watchdog timer 0→WT TF, PF
010000 00000010 SLEEP Sleep mode 0→
010000 00000011 TMODE Load W to TMODE register W→TMODE None
010000 00000100 RET Return Stack→PC None
010000 00000rrr CPIO R Control I/O port register W→CPIO r None
010001 1rrrrrrr STWR R Store W to register W→R None
011000 trrrrrrr LDR R, t Load register R→t Z
111010 iiiiiiii LDWI I Load immediate to W I →W None
010111 trrrrrrr SWAPR R, t Swap halves register
Mnemonic
Operands
Function Operating Status
None
TF, PF
[R(0~3) ↔
R(4~7)]→t
None
011001 trrrrrrr INCR R, t Increment register R + 1→tZ
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 6 VER1.1
Page 7
MDT2005
Complement register
Instruction Code
011010 trrrrrrr INCRSZ R, t Increment register, skip if zero R + 1→tNone
011011 trrrrrrr ADDWR R, t Add W and register W + R→tC, HC, Z
011100 trrrrrrr SUBWR R, t Subtract W from register R ﹣W→t
011101 trrrrrrr DECR R, t Decrement register R ﹣1→t Z
011110 trrrrrrr DECRSZ R, t Decrement register, skip if zero R ﹣1→tNone
010010 trrrrrrr ANDWR R, t AND W and register R ∩ W→t Z
110100 iiiiiiii ANDWI i AND W and immediate i ∩ W→W Z
010011 trrrrrrr IORWR R, t Inclu. OR W and register R ∪ W→t Z
110101 iiiiiiii IORWI i Inclu. OR W and immediate i ∪ W→W Z
010100 trrrrrrr XORWR R, t Exclu. OR W and register R ⊕ W→t Z
110110 iiiiiiii XORWI i Exclu. OR W and immediate i ⊕ W→W Z
011111 trrrrrrr COMR R, t
010110 trrrrrrr RRR R, t Rotate right register R(n) →R(n-1), C
Mnemonic
Operands
Function Operating Status
C, HC, Z
(R+/W+1→t)
/R→t Z
C
→R(7), R(0)→C
010101 trrrrrrr RLR R, t Rotate left register R(n)→r(n+1),C→
R(0), R(7)→C
010000 1xxxxxxx CLRW Clear working register 0→W Z
010001 0rrrrrrr CLRR R Clear register 0→R Z
0000bb brrrrrrr BCR R, b Bit clear 0→R(b) None
0010bb brrrrrrr BSR R, b Bit set 1→R(b) None
0001bb brrrrrrr BTSC R, b Bit Test, skip if clear Skip if R(b)=0 None
0011bb brrrrrrr BTSS R, b Bit Test, skip if set Skip if R(b)=1 None
1000nn nnnnnnnn LCALL n Long CALL subroutine n→PC,
PC+1→Stack
1010nn nnnnnnnn LJUMP n Long JUMP to address n→PC None
110000 nnnnnnnn CALL n Call subroutine n→PC,
PC+1→Stack
110001 iiiiiiii RTIW i Return, place immediate to W Stack→PC, i→W None
11001n nnnnnnnn JUMP n JUMP to address n→PC None
None
None
Note :
W : Working register b : Bit position
WT : Watchdog timer t : Target
TMODE : TMODE mode register 0 : Working register
CPIO : Control I/O port register 1 : General register
TF : Timer overflow flag R : General register address
PF : Power loss flag C : Carry flag
PC : Program Counter HC : Half carry
OSC : Oscillator Z : Zero flag
C
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 7 VER1.1
Page 8
Inclu. : Inclusive ‘∪’ / : Complement
Exclu. : Exclusive ‘⊕’ x : Don’t care
AND : Logic AND ‘∩’ i : Immediate data ( 8 bits ) n : Immediate address
9. Electrical Characteristics
(A) Operating Voltage & Frequency
V
﹕2.3V ~ 6.3 V
dd
Frequency ﹕0 Hz ~ 20 MHz
(B) Input Voltage
@ Vdd=5.0 V, Temperature=25 ℃
MDT2005
Port Min. Max.
Vil
Vih
*
Threshold Voltage :
Port A, Port B Vth=1.5V
RTCC, /MCLR Vil=1.8 V, Vih=3.4 V (Schmitt Trigger)
(C) Output Voltage﹕
@ Vdd=5.0 V, Temperature=25 ℃, the typical value as followings :
Ioh=-20.0 mA Voh=4.0 V
Iol=20.0 mA Vol=0.5 V
Ioh=-5.0 mA Voh=4.7 V
PA, PB
RTCC, /MCLR
PA, PB
RTCC, /MCLR
PA, PB Port
Vss
Vss
2.0 V
3.5 V
1.0 V
1.5V
Vdd
Vdd
Iol=5.0 mA Vol=0.2 V
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 8 VER1.1
Page 9
(D) Leakage Current
@ Vdd=5.0 V, Temperature=25 ℃, the typical value as followings :
MDT2005
Iil
Iih
(E) Sleep Current
- 0.1µA (Max.)
+ 0.1µA (Max.)
@WDT-Disable, Temperature=25 ℃, the typical value as followings :
Vdd=2.3 V Idd<1.0 µA
Vdd=3.0 V Idd<1.0 µA
Vdd=4.0 V
Vdd=5.0 V
Vdd=6.3V
@WDT-Enable, Temperature=25 ℃, the typical value as followings :
Vdd=2.3 V Idd<1.0 µA
Vdd=3.0 V Idd=3.0 µA
Idd=2.0 µA
Idd=6.0 µA
Idd=10.0 µA
Vdd=4.0 V Idd=8.0 µA
Vdd=5.0 V Idd=16.0 µA
Vdd=6.3 V Idd=34.0 µA
(F) Operating Current
Temperature=25 ℃, the typical value as followings :
(i) OSC Type=RC ; WDT-Enable; @ Vdd=5.0 V
Cext. (F) Rext. (Ohm) Frequency (Hz) Current (A)
4.7 K 12.3M 2.1 mA
10.0 K 6.3 M 1.2 mA
3P 47.0 K 1.5 M
100.0 K 710 K
300.0 K 240 K
508 µA
385 µA
320 µA
470.0 K 155 K
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 9 VER1.1
To increase the stability of oscillator and the ability of anti-noise, the above values of the external capacitor range
can be recommended for reference, but the higher capacitance also increases the start -up time.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw P. 15 VER1.1
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.