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

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

Скачать:  PDF   ZIP
MDT1005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.1 2005/6 Ver1.4
1. General Description
This ROM-Based 8-bit micro-controller uses
a fully static CMOS design technology
combines higher speed and smaller size with
the low power and high noise immunity of
CMOS.
On chip memory system includes 0.5 K 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 CMOS static design
u
8-bit data bus
u
On chip ROM size : 512 words
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
u
On-chip RC oscillator based Watchdog
Timer(WDT) can be operated freely
u
Pull up resistors for the following pins :
PA0~PA3, PB0~PB7, /MCLR, RTCC
u
Pull down resistors for the following pins :
PA0~PA3, PB0~PB7, RTCC
u
12 I/O pins with their own independent
direction control
3. Applications
The application areas of this MDT1005
range from appliance motor control and high
speed automotive to low power remote
transmitters/receivers, pointing devices, and
telecommunications processors, such as
Remote controller, small instruments,
chargers, toy, automobile and PC
peripheral ... etc.



MDT1005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.2 2005/6 Ver1.4
4. Pin Assignment

PA2 1
18 PA1
PA3 2
17 PA0
RTCC 3
16 OSC1
/MCLR 4
15 OSC2
V
ss
5
14 V
dd
PB0 6
13 PB7
PB1 7
12 PB6
PB2 8
11 PB5
PB3 9
10 PB4
5. Pin Function Description
Pin Name
I/O
Function Description
PA0~PA3
I/O
Port A, TTL input level
PB0~PB7
I/O
Port B, TTL input level
RTCC
I
Real Time Clock/Counter, Schmitt Trigger input levels
/MCLR
I
Master Clear, Schmitt Trigger input levels
OSC1
I
Oscillator Input
OSC2
O
Oscillator Output
V
dd
Power supply
V
ss
Ground
MDT1005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.3 2005/6 Ver1.4
6. Memory Map
(A) Register Map
Address
Description
00
Indirect Addressing Register
01
RTCC
02
PC
03
STATUS
04
MSR
05
Port A
06
Port B
07~1F
Internal RAM, General Purpose Register
(1) IAR ( Indirect Address Register) : R0

(2) RTCC (Real Time Counter/Counter Register) : R1
(3) PC (Program Counter) : R2
Write PC, CALL --- always 0
LJUMP, JUMP, LCALL --- from instruction word
RTWI, RET --- from STACK
A8
A7~A0



Write PC --- from ALU
LJUMP, JUMP, LCALL, CALL --- from instruction word
RTWI, RET --- from STACK
MDT1005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.4 2005/6 Ver1.4
(4) STATUS (Status register) : R3
Bit
Symbol
Function
0
1
2
3
4
5
--
7
C
HC
Z
PF
TF
----
Carry bit
Half Carry bit
Zero bit
Power loss Flag bit
Time overflow Flag bit
General purpose bits
(5) MSR (Memory Select Register) : R4

(6) PORT A : R5
PA3~PA0, I/O Register
(7) PORT B : R6
PB7~PB0, I/O Register

(8) TMR (Time Mode Register)
Bit
Symbol
Function
Prescaler Value
RTCC rate
WDT rate



2
--
0



PS2
--
0
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
1 : 256
1 : 1
1 : 2
1 : 4
1 : 8
1 : 16
1 : 32
1 : 64
1 : 128
3
PSC
Prescaler assignment bit :
0
--
RTCC
1
--
Watchdog Timer
4
TCE
RTCC signal Edge :
0
--
Increment on low-to-high transition on RTCC pin
1
--
Increment on high-to-low transition on RTCC pin
5
TCS
RTCC signal set :
0
--
Internal instruction cycle clock
1
--
Transition on RTCC pin
MDT1005
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.5 2005/6 Ver1.4
(9) CPIO A, CPIO B (Control Port I/O Mode Register)
The CPIO register is "write-only"
"0", I/O pin in output mode;
"1", I/O pin in input mode.
(10) Configuration ROM
Bit 1
Bit 0
Oscillator Type
0
0
RC Oscillator
0
1
LFXT Oscillator
1
0
XTAL Oscillator
1
1
HFXT Oscillator
Bit 3
Bit 2
Oscillator Start-up Time
0
0
150
s
0
1
20 ms
1
0
40 ms
1
1
80 ms
Bit 4
Watchdog Timer control
0
Watchdog timer disable all the time
1
Watchdog timer enable all the time
Bit 5
Power Edge-detector
0
Disable
1
Enable
(B) Program Memory
Address
Description
000-1FF
Program memory
1FF
The starting address of the power on
external
reset or WDT