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

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

Скачать:  PDF   ZIP
MDT10P20(BC)
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P. 1 2005/6 VER 1.3
1. General Description
This EPROM-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 2.0 K
bytes of ROM, and 80 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 : 2 K words
u
Internal RAM size : 80 bytes
(72 general purpose, 8 special registers)
u
36 single word instructions
u
14-bit instructions
u
2-level stacks
u
Operating voltage : 2.3 V ~ 6.0 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
4 oscillator start-up time :
150
s, 20 ms, 40 ms, 80 ms
u
8-bit real time clock/counter(RTCC)
with 8-bit programmable prescaler
u
4 types of oscillator can be selected by
code options :
RC
Low cost RC oscillator
LFXT
Low frequency crystal oscillator
XTAL
Standard crystal oscillator
HFXT
High frequency crystal
oscillator
u
On-chip RC oscillator based
Watchdog Timer(WDT) can be operated
freely
u
20 I/O pins with their own independent
direction control
3. Applications
The application areas of this MDT10P20
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.
MDT10P20(BC)
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P. 2 2005/6 VER 1.3
4. Pin Assignment
DIP / SOP / SKINNY
RTCC 1
28 /MCLR
V
dd
2
27 OSC1
N/C 3
26 OSC2
V
ss
4
25 PC7
N/C 5
24 PC6
PA0 6
23 PC5
PA1 7
22 PC4
PA2 8
21 PC3
PA3 9
20 PC2
PB0 10
19 PC1
PB1 11
18 PC0
PB2 12
17 PB7
PB3 13
16 PB6
PB4 14
15 PB5
SSOP
VSS 1
28 /MCLR
RTCC 2
27 OSC1
VDD 3
26 OSC2
VDD
4
25 PC7
PA0 5
24 PC6
PA1 6
23 PC5
PA2 7
22 PC4
PA3 8
21 PC3
PB0 9
20 PC2
PB1 10
19 PC1
PB2 11
18 PC0
PB3 12
17 PB7
PB4 13
16 PB6
VSS 14
15 PB5
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
PC0~PC7
I/O
Port C, 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
MDT10P20(BC)
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P. 2 2005/6 VER 1.3
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
Port C
08~0F
Internal RAM, General Purpose Register
10~1F
Internal Memory Select Register
30~3F
Internal Memory Select Register
50~5F
Internal Memory Select Register
70~7F
Internal Memory Select 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
A10
A9
A8
A7~A0



Write PC, JUMP, CALL --- from STATUS b6 b5
LJUMP, LCALL --- from instruction word
RTWI, RET --- from STACK
Write PC --- from ALU
LJUMP, JUMP, LCALL, CALL --- from instruction word
RTWI, RET --- from STACK
MDT10P20(BC)
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P. 3 2005/6 VER 1.3
(4) STATUS (Status register) : R3
Bit
Symbol
Function
0
1
2
3
4
6
--
5



7
C
HC
Z
PF
TF
page



----
Carry bit
Half Carry bit
Zero bit
Power loss Flag bit
Time overflow Flag bit
Page select bit :
00 : 000H --- 1FFH
01 : 200H --- 3FFH
10 : 400H --- 5FFH
11 : 600H --- 7FFH
General purpose bit

(5) MSR (Memory Select Register) : R4

Memory Select Register :
00 : 10~1F
01 : 30~3F
10 : 50~5F
11 : 70~7F

b7
b6
b5
b4
b3
b2
b1
b0

Read only "1"
Indirect Addressing Mode
(6) PORT A : R5
PA3~PA0, I/O Register

(7) PORT B : R6
PB7~PB0, I/O Register

(8) PORT C : R7
PC7~PC0, I/O Register
MDT10P20(BC)
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P. 4 2005/6 VER 1.3
(9) 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
(10) CPIO A, CPIO B, CPIO C (Control Port I/O Mode Register)
The CPIO register is "write -only"
"0", I/O pin in output mode;
"1", I/O pin in i nput mode.

(11) EPROM Option by Writer Programming:
Oscillator Type
Oscillator Start-up Time
RC Oscillator
150
s,20ms,40ms,80ms
HFXT Oscillator
20 ms,40ms,80ms
XTAL Oscillator
20ms,40 ms,80ms
LFXT Oscillator
40ms,80 ms
Watchdog Timer control
Watchdog timer disable all the time
Watchdog timer enable all the time