![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
MDT10P20(BC) 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. u u u u modes Power-on Reset Power Edge-detector Reset Sleep mode for power saving 4 oscillator start-up time : 150 s, 20 ms, 40 ms, 80 ms 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 u 8-bit real time clock/counter(RTCC) with 8-bit programmable prescaler u 4 types of oscillator can be selected by code options : RCLow cost RC oscillator LFXTLow frequency crystal oscillator XTALStandard crystal oscillator HFXTHigh 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. 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 MDT10P20(BC) 4. Pin Assignment DIP / SOP / SKINNY RTCC Vdd N/C Vss N/C PA0 PA1 PA2 PA3 PB0 PB1 PB2 PB3 PB4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 /MCLR OSC1 OSC2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PB7 PB6 PB5 VSS RTCC VDD VDD PA0 PA1 PA2 PA3 PB0 PB1 PB2 PB3 PB4 VSS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 SSOP 28 27 26 25 24 23 22 21 20 19 18 17 16 15 /MCLR OSC1 OSC2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PB7 PB6 PB5 5. Pin Function Description Pin Name PA0~PA3 PB0~PB7 PC0~PC7 RTCC /MCLR OSC1 OSC2 Vdd Vss I/O I/O I/O I/O I I I O Function Description Port A, TTL input level Port B, TTL input level Port C, TTL input level Real Time Clock/Counter, Schmitt Trigger input levels Master Clear, Schmitt Trigger input levels Oscillator Input Oscillator Output Power supply Ground 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 MDT10P20(BC) 6. Memory Map (A) Register Map Address 00 01 02 03 04 05 06 07 08~0F 10~1F 30~3F 50~5F 70~7F Description Indirect Addressing Register RTCC PC STATUS MSR Port A Port B Port C Internal RAM, General Purpose Register Internal Memory Select Register Internal Memory Select Register Internal Memory Select Register 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 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 MDT10P20(BC) (4) STATUS (Status register) : R3 Bit 0 1 2 3 4 6X5 Symbol 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 7 XX General purpose bit Function (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 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 MDT10P20(BC) (9) TMR (Time Mode Register) Bit Symbol Prescaler Value Function RTCC rate WDT rate 000 1:2 1:1 001 1:4 1:2 010 1:8 1:4 011 1 : 16 1:8 100 1 : 32 1 : 16 101 1 : 64 1 : 32 110 1 : 128 1 : 64 111 1 : 256 1 : 128 Prescaler assignment bit : 0 X RTCC 1 X Watchdog Timer RTCC signal Edge : 0 X Increment on low-to-high transition on RTCC pin 1 X Increment on high-to-low transition on RTCC pin RTCC signal set : 0 X Internal instruction cycle clock 1 X Transition on RTCC pin 2X0 PS2X0 3 PSC 4 TCE 5 TCS (10) CPIO A, CPIO B, CPIO C (Control Port I/O Mode Register) The CPIO register is "write -only" x"0", I/O pin in output mode; x"1", I/O pin in i nput mode. (11) EPROM Option by Writer Programming: Oscillator Type RC Oscillator Oscillator Start-up Time 150 s,20ms,40ms,80ms 20 ms,40ms,80ms 20ms,40 ms,80ms 40ms,80 ms HFXT Oscillator XTAL Oscillator LFXT Oscillator Watchdog Timer control Watchdog timer disable all the time Watchdog timer enable all the time 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 MDT10P20(BC) Power Edge Detect PED Disable Security bit Security weak Disable Security Disable Security Enable PED Enable 7. Reset Condition for all Registers Register CPIO A CPIO B CPIO C TMR IAR RTCC PC STATUS MSR PORT A PORT B PORT C Address 00h 01h 02h 03h 04h 05h 06h 07h Power-On Reset 1111 1111 1111 1111 1111 1111 --11 1111 xxxx xxxx 1111 1111 0001 1xxx 100x xxxx - - - - xxxx xxxx xxxx xxxx xxxx /MCLR or WDT Reset 1111 1111 1111 1111 1111 1111 --11 1111 uuuu uuuu 1111 1111 000# #uuu 100u uuuu - - - - uuuu uuuu uuuu uuuu uuuu Note : u = unchanged, x = unknown, - = unimplemented, read as "0" # = value depends on the condition of the following table Condition /MCLR reset (not during SLEEP) /MCLR reset during SLEEP WDT reset (not during SLEEP) WDT reset during SLEEP Status: bit 4 u 1 0 0 Status: bit 3 u 0 1 0 This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 5 2005/6 VER 1.3 MDT10P20(BC) 8. Instruction Set Instruction Code Mnemonic Operands Function No operation Clear Watchdog timer Sleep mode Load W to TMODE register Return R R I Control I/O port register Store W to register Load register Load immediate to W Swap halves register Increment register Operating None 0/ WT 0/ WT,stop OSC W/ TMODE Stack/ PC W/ CPIO W/ R R/ t I/ W [R(0~3) R(4~7)]/ t R + 1/ t R + 1/ t W + R/ t R W/ t (R+/W+1/ t) R 1/ t R 1/ t R a W/ t I a W/ W R a W/ t I a W/ W R o W/ t /R/ t R(n)/ R(n-1)A C/ R(7) R(0)/ C R(n)/ (n+1)A C/ R(0) R(7)/ C 0/ W 0/ R 0/ R(b) 1/ R(b) r TF, PF TF, PF None None None None Z None None Z None CAHCAZ CAHCAZ Z None Z Z Z Z Z Z Z C C Z Z None None Status 010000 00000000 NOP 010000 00000001 CLRWT 010000 00000010 SLEEP 010000 00000011 TMODE 010000 00000100 RET 010000 00000rrr 010001 1rrrrrrr 011000 trrrrrrr 111010 iiiiiiii 010111 trrrrrrr 011001 trrrrrrr 011010 trrrrrrr 011011 trrrrrrr 011100 trrrrrrr 011101 trrrrrrr 011110 trrrrrrr 010010 trrrrrrr 110100 iiiiiiii 010011 trrrrrrr 110101 iiiiiiii 010100 trrrrrrr 110110 iiiiiiii 011111 trrrrrrr 010110 trrrrrrr 010101 trrrrrrr 010000 1xxxxxxx 010001 0rrrrrrr 0000bb brrrrrrr 0010bb brrrrrrr CPIO STWR LDWI LDR RA t SWAPR RAt INCR R At INCRSZ RA Increment registerAskip if zero ADDWR RAt Add W and register SUBWR RAt DECR RAt Subtract W from register Decrement register DECRSZ RAt Decrement registerA skip if zero ANDWR RAt AND W and register ANDWI I IORWR RAt IORWI I XORWI I COMR RA t RRR RAt RLR CLRW CLRR BCR BSR R RA b RA b Rt A AND W and immediate Inclu. OR W and register Inclu. OR W and immediate XORWR RAt Exclu. OR W and register Complement register Rotate right register Rotate left register Clear working register Clear register Bit clear Bit set Exclu. OR W and immediate I o W/ W This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 6 2005/6 VER 1.3 MDT10P20(BC) Instruction Code Mnemonic Operands 0001bb brrrrrrr 0011bb brrrrrrr 100nnn nnnnnnnn 101nnn nnnnnnnn 110000 nnnnnnnn 110001 iiiiiiii 11001n nnnnnnnn Note : W WT TMODE CPIO TF PF PC OSC Inclu. Exclu. AND : : : : : : : : : : : Working register Watchdog timer TMODE mode register Control I/O port register Timer overflow flag Power loss flag Program Counter Oscillator Inclusive `a ' Exclusive `o ' Logic AND `a ' : : 0 1 R: C: HC : Z: / : x : i : n: b t Bit position Target : Working register : General register General register address Carry flag Half carry Zero flag Complement Don't care Immediate data ( 8 bits ) Immediate address BTSC BTSS LCALL LJUMP CALL RTWI i JUMP n Function Operating Skip if R(b)=0 Skip if R(b)=1 n/ PCA PC+1/ Stack n/ PC n/ PC, PC+1/ Stack Stack/ PC, i/ W n/ PC Status None None None None None None None RA b Bit TestAskip if clear RA b Bit TestAskip if set n n n Long CALL subroutine Long JUMP to address Call subroutine Return, place immediate to W JUMP to address 9. Electrical Characteristics (A) Operating Voltage & Frequency Vdd R 2.3 V ~ 6.0 V FrequencyR0 Hz ~ 20 MHz (B) Input Voltage @ V ddx 5.0 V, Temperaturex25 J Port Vil Vih PA, PB, PC RTCC, /MCLR PA, PB, PC RTCC, /MCLR Min. Vss Vss 2.0 V 3.3 V Max. 1.0 V 1.0 V Vdd Vdd This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 7 2005/6 VER 1.3 MDT10P20(BC) Threshold Voltage : Port A, Port B, Port C V thx 1.5 V RTCC, /MCLR V il x 1.2 V, V ih x 3.1V (Schmitt Trigger) (C) Output Voltage @ V ddx 5.0 V, Temperaturex25 J , the typical value as followings : PA, PB, PC Port Iohx 20.0 mA Iol x 20.0 mA Iohx 5.0 mA Iol x 5.0 mA (D) Leakage Current @ V ddx 5.0 V, Temperaturex25 J , the typical value as followings : Iil Iih (E) Sleep Current @WDTDisable, Temperaturex25 J , the typical value as followings : Vddx 2.3 V Vddx 3.0 V Vddx 4.0 V Vddx 5.0 V Vddx 6.0 V IddO 1.0 A IddO 1.0 A IddO 1.0 A IddO 1.0 A IddO 1.0 A 0.1A (Max.) I 0.1 A (Max.) Vohx 3.40 V Vol x 0.50 V Vohx 4.50 V Vol x 0.10 V @WDTEnable, Temperaturex25 J , the typical value as followings : Vddx 2.3 V Vddx 3.0 V Vddx 4.0 V Vddx 5.0 V Vddx 6.0 V IddO 1.0 A Iddx 3.0 A Iddx 6.0 A Iddx 11.0 A Iddx 17.0 A This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 8 2005/6 VER 1.3 MDT10P20(BC) F) Operating Current Temperaturex25J , the typical value as followings : (i) OSC TypexRC (OSC1&OSC2 Internal Cap about 10P); WDTEnable; @ V ddx 5.0 V PED=Disable Cext. (F) Rext. (Ohm) 4.7 K 10.0 K 0P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 3P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 20P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 100P 47.0 K 100.0 K 300.0 K 470.0 K Frequency (Hz) 7.76 M 3.82 M 848 K 404 K 135.6 K 86 K 6.8 M 3.34 M 740 M 356 K 119 K 75.2 K 4.16 M 2.04 M 452 K 214.8 K 75.2 K 45.6 K 1.57 M 764 K 167.2 K 76.8 K 26.6 K 16.8 K Current (A) 980 A 560 A 240 A 185 A 155 A 150 A 880 A 510 A 230 A 185 A 155 A 150 A 610 A 380 A 200 A 175 A 155 A 151 A 335 A 245 A 175 A 165 A 160 A 155 A This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 9 2005/6 VER 1.3 MDT10P20(BC) Cext. (F) Rext. (Ohm) 4.7 K 10.0 K 300P 47.0 K 100.0 K 300.0 K 470.0 K Frequency (Hz) 672 K 321.6 K 70.4 K 33.2 K 11.1 K 7.04 K Current (A) 235 A 195 A 165 A 160 A 158 A 156 A (ii) OSC TypexLF (OSC1&OSC2 Internal Cap about 10P); WDTEnableQ PED=Disable Voltage/Frequency 2.3 V 3.0 V 4.0 V 5.0 V 6.0 V 32 K 7.0 A 15.0 A 35.0A 70.0 A 130.0 A 455 K 25.0 A 45.0 A 85.0 A 140.0 A 215.0 A 1M 40.0 A Sleep O 1.0 A 65.0 A 115.0 A 180.0 A 260.0 A 3.0 A 6.0 A 11.0 A 17.0 A (iii) OSC TypexXT (OSC1&OSC2 Internal Cap about 10P); Voltage/Frequency 2.1 V 3.0 V 4.0 V 5.0 V 6.0 V 1M 50.0 A 100.0 A 210.0 A 375.0 A 645.0 A 4M 120.0 A 230.0 A 400.0 A 590.0 A 850.0 A WDTEnableQPED=Disable 10 M 290 A 490 A 650 A 1.3 mA 1.6 mA Sleep O1.0 A 3.0 A 6.0 A 11.0 A 17.0 A This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 10 2005/6 VER 1.3 MDT10P20(BC) (iv) OSC TypexHF (OSC1&OSC2 Internal Cap about 10P); WDTEnableQ PED=Disable Voltage/Frequency 2.1 V 3.0 V 4.0 V 5.0 V 6.0 V 4M 150.0 A 280.0 A 510.0 A 800.0 A 1.3 mA 10 M 320.0 A 550.0 A 910.0 A 1.4 mA 1.9 mA 20 M X Sleep O1.0 A 3.0 A 6.0 A 11.0 A 17.0 A 950.0 A 1.5 mA 2.3 mA 3.2 mA (G) Power Edge-detector Reset Voltage (Not in Sleep Mode), @ V ddx 5.0 V VprO 1.8~2.2 V Vpr R Vdd (Power Supply) (H) The basic WDT time-out cycle time @Temperaturex25 J , the typical value as followings : Vdd =5.0 V, Temperature=25J ,the typical value as followings: Voltage (V) 2.3 3.0 4.0 5.0 6.0 Basic WDT time-out cycle time (ms) 25.2 22.4 20.4 18.8 18.0 This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 11 2005/6 VER 1.3 MDT10P20(BC) 10. Port A ,Port B and Port C Equivalent Circuit Working Register D QB Data I/P I/O Control CK I/O Control Latch Q Port I/O Pin D Write CK Data O/P Latch Q Data Bus QB D Read Data I/P Latch CK Input Resistor TTL Input Level This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 12 2005/6 VER 1.3 MDT10P20(BC) 11. MCLRB and RTCC Input Equivalent Circuit R U 1 K MCLRB Schmitt Trigger R U 1 K RTCC Schmitt Trigger This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 13 2005/6 VER 1.3 MDT10P20(BC) 12. Block Diagram Stack Two Levels EPROM 2048N14 RAM 72*8 Port A Port PA0~PA3 4 bits 11 bits 11 bits 14 bits Program Counters Instruction Register Special Register OSC1 OSC2 MCLR D0~D7 Port B Port PB0~PB7 8 bits Oscillator Circuit Instruction Decoder Control Circuit Data 8-bit Power on Reset Power Down Reset Working Register ALU Status Register Port PC0~PC7 8 bits Port C 8-bit Timer/Counter Prescale WDT/OST Timer RTCC This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw P. 14 2005/6 VER 1.3 MDT10P20(BC) 13. External Capacitor Selection For Crystal Oscillator @ V ddx 3.0 V~ 5.0 V Osc. Type Resonator Freq. 20 MHz HF 10 MHz 4 MHz 10 MHz XT 4 MHz 1 MHz 1 MHz LF 455 K 32 K C1 5 pF ~10 pF 10 pF ~50 pF 10 pF ~50 pF 10 pF ~30 pF 10 pF ~50 pF 10 pF ~30 pF 3 pF ~5 pF 10 pF ~30 pF 10 pF ~20 pF C2 10 pF~30 pF 20 pF ~100 pF 20 pF ~100 pF 10 pF ~50 pF 20 pF ~100 pF 20 pF ~50 pF 3 pF ~5 pF 20 pF ~50 pF 15 pF ~30 pF MDT10P20 OSC1 OSC2 C1 C2 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 2005/6 VER 1.3 |
Price & Availability of MDT10P20
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |