MDT10P72: 1. General Description
MDT10P72: 1. General Description
联系人;范先生 13632621646 0755-27945551/29491882
地址:深圳市宝安区西乡大道宝源华丰总部经济大厦1112-1113室
MDT10P72
1. General Description -PortB<7:4> interrupt on change
-CCP,SCM
This EPROM-Based 8-bit micro-controller uses a fully static A/D converter module:
CMOS technology process to achieve higher speed and -5 analog inputs multiplexed into one A/D
smaller size with the low power consumption and high converter
noise immunity. On chip memory includes 2K words of -8-bit resolution
ROM, and 128 bytes of static RAM. TMR0 : 8-bit real time clock/counter
TMR1 : 16-bit real time clock/count
2. Features TMR2 : 8-bit clock/counter(internal)
4 types of oscillator can be selected by
The followings are some of the features on the hardware programming option:
and software : RC-Low cost RC oscillator
Fully CMOS static design LFXT-Low frequency crystal oscillator
8-bit data bus XTAL-Standard crystal oscillator
On chip EPROM size : 2.0 K words HFXT-High frequency crystal oscillator
Internal RAM size : 160 bytes On-chip RC oscillator based Watchdog
(128 general purpose registers, 32 special Timer(WDT)
registers) 22 I/O pins with their own independent direction
37 single word instructions control
14-bit instructions
8-level stacks 3. Applications
Operating voltage : 2.5 V ~ 5.5 V (PRD Disable)
4.5 V ~ 5.5 V (PRD Enable) The application areas of this MDT10P72 range from
Operating frequency : DC ~ 20 MHz appliance motor control and high speed auto-motive to
The most fast execution time is 200 ns under 20 low power remote transmitters/receivers, pointing
MHz in all single cycle instructions except the devices, and telecommunications processors, such as
branch instruction Remote controller, small instruments, chargers, toy,
Addressing modes include direct, indirect and automobile and PC peripheral … etc.
relative addressing modes
Power-on Reset
Power edge-detector Reset
Power range-detector Reset
Sleep Mode for power saving
Capture,Compare,PWM module
Synchronous serial port with SCM
8 interrupt sources:
-External INT pin
-TMR0 timer,TMR1 timer,TMR2 timer
-A/D conversion completion
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 1 2008/6 Ver. 2.0
MDT10P72
4. Pin Assignment
/MCLR 1 28 PB7
PA0/AIC0 2 27 PB6
PA1/AIC1 3 26 PB5
PA2/AIC2 4 25 PB4
PA3/AIC3/Vref 5 24 PB3
PA4/RTCC 6 23 PB2
PA5/SS/AIC4 7 22 PB1
Vss 8 21 PB0/INT
OSC1/CLKIN 9 20 Vdd
OSC2/CLKOUT 10 19 Vss
PC0/T1OSO/T1CKI 11 18 PC7
PC1/T1OSI 12 17 PC6
PC2/CCP 13 16 PC5/SDO
PC3/SCK 14 15 PC4/SDI
Vss Ground
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 2 2008/6 Ver. 2.0
MDT10P72
6. Memory Map
BANK0
01 RTCC
02 PCL
03 STATUS
04 MSR
05 Port A
06 Port B
07 Port C
0A PCHLAT
0B INTS
0C PIFB1
0E TMR1L
0F TMR1H
10 T1STA
11 TMR2
12 T2STA
13 SCMBUF
14 SCMCTL
15 CCPL
16 CCPH
17 CCPCTL
1E ADRES
1F ADS0
BANK1
01 TMR
05 CPIO A
06 CPIO B
Address Description
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 3 2008/6 Ver. 2.0
MDT10P72
07 CPIO C
0C PIEB1
0E PSTA
12 T2PER
14 SCMSTA
1F ADS1
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 4 2008/6 Ver. 2.0
MDT10P72
(5) MSR (Memory Bank Select Register) : R04
b7 b6 b5 b4 b3 b2 b1 b0
(9)PCHLAT: R0A
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 5 2008/6 Ver. 2.0
MDT10P72
(11)PIFB1 (Peripheral Interrupt Flag Bit) : R0C
Bit Symbol Function
0 TMR1IF TMR1 interrupt flag
0 : TMR1 did not overflow
1 : TMR1 overflowed
1 TMR2IF TMR2 interrupt flag
0 : No TMR2 to T2PER match occurred
1 : TMR2 to T2PER match occurred
2 CCPIF CCP interrupt flag
0 : No TMR1 capture/compare occurred
1 : A TMR1 capture/compare occurred
3 SCMIF SCM interrupt flag
0 : Waiting SCM transmit/receive
1 : The SCM transmission/reception is complete
5~4 -- Unimplemented
6 ADIF A/D interrupt flag
0 : A/D conversion is not complete
1 : A/D conversion completed
7 -- Unimplemented
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 6 2008/6 Ver. 2.0
MDT10P72
Bit Symbol Function
5~4 T1CKPS1 1 1 = 1:8 Prescale value
~ 1 0 = 1:4 Prescale value
T1CKPS0 0 1 = 1:2 Prescale value
0 0 = 1:1 Prescale value
7~6 -- Unimplemented
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 7 2008/6 Ver. 2.0
MDT10P72
1 : The SCMBUF is written while it is still transmitting the previous word
0 ADRUN 0 : A/D converter module is shut off and consumes no operating current
1 : A/D converter module is operating
1 -- Unimplemented
*Note: determined by OSC mode, HF: fosc/32 XT: fosc/8 RC: fosc/2 LF: fosc/2
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 8 2008/6 Ver. 2.0
MDT10P72
(24) TMR (Time Mode Register) : R81
Bit Symbol Function
Prescaler Value RTCC rate WDT rate
0 0 0 1:2 1:1
0 0 1 1:4 1:2
0 1 0 1:8 1:4
0 1 1 1 : 16 1:8
2~0 PS2~0 1 0 0 1 : 32 1 : 16
1 0 1 1 : 64 1 : 32
1 1 0 1 : 128 1 : 64
1 1 1 1 : 256 1 : 128
Prescaler assignment bit :
3 PSC 0 — RTCC
1 — Watchdog Timer
RTCC signal Edge :
4 TCE 0 — Increment on low-to-high transition on RTCC pin
1 — Increment on high-to-low transition on RTCC pin
RTCC signal set :
5 TCS 0 — Internal instruction cycle clock
1 — Transition on RTCC pin
Interrupt edge select
6 IES 0 — Interrupt on falling edge on PB0
1 — Interrupt on rising edge on PB0
PORTB pull-hi
7 PBPH 0 — PORTB pull-hi are enable
1 — PORTB pull-hi are disable
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 9 2008/6 Ver. 2.0
MDT10P72
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mx mcu.com.cn
http;//www.mdtic.com.tw P. 10 2008/6 Ver. 2.0
MDT10P72
(33) Configurable options for EPROM (Set by writer) :
Oscillator Type
RC Oscillator
HFXT Oscillator
XTAL Oscillator
LFXT Oscillator
Power-range control
Power-range disable
Power-range enable
0ms
75ms
Address Description
000 The starting address of power on, external reset or WDT time-out reset.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 11 2008/6 Ver. 2.0
MDT10P72
Power-On Reset,
Register Address Power range detector /MCLR or WDT Reset Wake-up from SLEEP
Reset
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 12 2008/6 Ver. 2.0
MDT10P72
Power-On Reset,
Register Address Power range detector /MCLR or WDT Reset Wake-up from SLEEP
Reset
Power-on reset 1 1 0 x
Power-range reset 1 1 u 0
8. Instruction Set :
Mnemonic
Instruction Code Operands Function Operating Status
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 13 2008/6 Ver. 2.0
MDT10P72
Mnemonic
Instruction Code Operands Function Operating Status
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 14 2008/6 Ver. 2.0
MDT10P72
9. Electrical Characteristics
*Note: Temperature=25°C
2.Operation Current :
(1) HF (C=10p) , WDT - enable, PRD – disable
Sleep,WDT-disable,
4M 10M 20M Sleep
PRD-disable
2.5V 350u 770u 1.4m 20u 1u
3.0V 450u 880u 1.7m 37u 1u
4.0V 730u 1.4m 2.6m 42u 1u
5.0V 1.1m 2.0m 3.6m 52u 1u
5.5V 1.6m 2.9m 4.8m 80u 1u
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mx mcu.com.cn
http;//www.mdtic.com.tw P. 15 2008/6 Ver. 2.0
MDT10P72
(3) LF (C=10p) , WDT - enable, PRD - disable,
Sleep,WDT-disable,
32K 455K 1M Sleep
PRD-disable
2.5V 25u (2.7V) 80u 100u 120u 1u
3.0V 35u 100u 130u 37u 1u
4.0V 50u 140u 190u 42u 1u
5.0V 100u 200u 250u 52u 1u
5.5V 200u 300u 350u 80u 1u
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 16 2008/6 Ver. 2.0
MDT10P72
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 17 2008/6 Ver. 2.0
MDT10P72
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 18 2008/6 Ver. 2.0
MDT10P72
6. Temperature & WDT (Vdd = 5V) :
Temperature(°C) -40 -20 0 30 50 80
WDT time(ms) 12.5 14.2 16.1 17.5 19.5 21.7
These parameters are for reference only.
7. PRD :
(1)PRD reset voltage :
Voltage
Vih 4.0±10%
Vil 3.6±10%
Unit = V
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 19 2008/6 Ver. 2.0
MDT10P72
10.OSC1 timing requirements :
External clock high or low time 2.5us (min) LF mode (1MHz)
(osc1) 80ns (min) XT mode (4MHz)
15ns (min) HF mode (20MHz)
External clock rise or fall time (osc1) 50ns (max) LF mode (1MHz)
15ns (max) XT mode (4MHz)
5ns (max) HF mode (20MHz)
These parameters are for reference only.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 20 2008/6 Ver. 2.0
MDT10P72
10. Block Diagram
S ta ck 8 Le ve ls EP ROM P ortA
RAM P A0~P A5
2Kx14 (MDT10P 72)
128X8 6 bits
P ort A
11 bits
11 bits 14 bits
Ins truction
O s cilla tor Circuit De code r Control Circuit
P ortC
P C0~P C7
8bits
P ortC
Da ta 8-bit
P owe r on Re s e t
Working Re gis te r
P owe r Down Re s e t S ta tus Re gis te r
ALU
P owe r Ra nge De te ctor
A/D 8bit
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
http;//www.mx mcu.com.cn P. 21 2008/6 Ver. 2.0