MDTIC MDT10P621

MDT10P621
-PortB<7:4> interrupt on change
-CCP,SCM
1. General Description
This EPROM-Based 8-bit micro-controller uses a
fully static CMOS technology process to achieve
higher speed and smaller size with the low power
consumption and high noise immunity. On chip
memory includes 4K words of ROM, and 192 bytes
of static RAM.
2. Features
u TMR0 : 8-bit real time clock/counter
TMR1 : 16-bit real time clock/count
TMR2 : 8-bit clock/counter(internal)
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
The followings are some of the features on the
hardware and software :
u On-chip RC oscillator based Watchdog
u Fully CMOS static design
Timer(WDT)
u 8-bit data bus
u 22 I/O pins with their own independent
u On chip EPROM size : 4.0 K words
direction control
u Internal RAM size : 224 bytes
(192 general purpose registers, 32 special 3. Applications
registers)
u 37 single word instructions
The application areas of this MDT10P621 range
u 14-bit instructions
from appliance motor control and high speed
u 8-level stacks
auto-motive
to
low
power
remote
u Operating voltage : 2.5 V ~ 5.5 V (PRD
transmitters/receivers, pointing devices, and
Disable)
4.5 V ~ 5.5 V (PRD Enable)
telecommunications processors, such as
u Operating frequency : DC ~ 20 MHz
Remote controller, small instruments, chargers,
u The most fast execution time is 200 ns
toy, automobile and PC peripheral … etc.
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 Power range-detector Reset
u Sleep Mode for power saving
u Capture,Compare,PWM module
u Synchronous serial port with SCM
u 7 interrupt sources:
-External INT pin
-TMR0 timer,TMR1 timer,TMR2 timer
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.1
2005/6 Ver1.9
MDT10P621
4. Pin Assignment
/MCLR
PA0
PA1
PA2
PA3
PA4/RTCC
PA5/SS
Vss
OSC1/CLKIN
OSC2/CLKOUT
PC0/T1OSO/T1CKI
PC1/T1OSI
PC2/CCP
PC3/SCK
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
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0/INT
Vdd
Vss
PC7
PC6
PC5/SDO
PC4/SDI
5. Pin Function Description
Pin Name
I/O
Function Description
PA0~PA3,PA5
I/O
Port A, TTL input level
RTCC/PA4
I/O
Real Time Clock/Counter, Schmitt Trigger input level
Open drain output
PB0~PB7
I/O
Port B, TTL input level / PB0:External interrupt input ,
PB4~PB7:Interrupt on pin change
PC0~PC7
I/O
Port C, Schmitt Trigger input level
/MCLR
I
Master Clear, Schmitt Trigger input level
OSC1/CLKIN
I
Oscillator Input/external clock input
OSC2/CLKOUT
O
Oscillator Output/in RC mode, the CLKOUT pin has 1/4
frequency of CLKIN
Vdd
Power supply
Vss
Ground
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.2
2005/5 Ver. 1.8
MDT10P621
6. Memory Map
(A) Register Map
Address
Description
BANK0
00
Indirect Addressing Register
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
20~7F
General purpose register
BANK1
01
TMR
05
CPIO A
06
CPIO B
07
CPIO C
0C
PIEB1
0E
PSTA
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.3
2005/5 Ver. 1.8
MDT10P621
Address
Description
12
T2PER
14
SCMSTA
A0~FF
General purpose register
(1) IAR ( Indirect Address Register) : R00
(2) RTCC (Real Time Counter/Counter Register) : R01
(3) PC (Program Counter) : R02,R0A
Write PC --- from PCHLAT
Write PC --- from PCHLAT
LJUMP, LCALL --- from instruction word
RTWI, RET --- from STACK
A11
A10~A8
A7~A0
Write PC --- from ALU
LJUMP, LCALL --- from instruction word
RTWI, RET, RTFI --- from STACK
(4) STATUS (Status register) : R03
Bit
Symbol
Function
0
C
Carry bit
1
HC
Half Carry bit
2
Z
Zero bit
3
PF
Power down Flag bit
4
TF
WDT Timer overflow Flag bit
5
RBS0
Register Bank Select bit :
0 : 00H --- 7FH ( Bank0 )
1 : 80H --- FFH ( Bank1 )
6-7
——
General purpose bit
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.4
2005/5 Ver. 1.8
MDT10P621
(5) MSR (Memory Bank Select Register) : R04
Memory Bank Select Register :
0 : 00~7F (Bank 0)
1 : 80~FF (Bank1)
b7
b6
b5
b4
b3
b2
b1
b0
Indirect Addressing Mode
(6) PORT A : R05
PA5~PA0, I/O Register
(7) PORT B : R06
PB7~PB0, I/O Register
(8) PORT C : R07
PC7~PC0, I/O Register
(9)PCHLAT : R0A
(10) INTS ( Interrupt Status Register ) : R0B
Bit
Symbol
Function
0
RBIF
PORT B change interrupt flag. Set when PB <7:4> inputs change
1
INTF
Set when INT interrupt occurs. INT interrupt flag.
2
TIF
3
RBIE
0 : disable PB change interrupt
1 : enable PB change interrupt
4
INTS
0 : disable INT interrupt
1 : enable INT interrupt
5
TIS
6
PEIE
7
GIS
Set when TMR0 overflows.
0 : disable TMR0 interrupt
1 : enable TMR0 interrupt
0 : disable all peripheral interrupt
1 : enable all peripheral interrupt
0 : disable global interrupt
1 : enable global interrupt
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.5
2005/5 Ver. 1.8
MDT10P621
(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
7~4
--
Unimplemented
(12) TMR1L : R0E
The LSB of the 16-bit TMR1
(13) TMR1H : R0F
The MSB of the 16-bit TMR1
(14) T1STA : R10
Bit
0
1
2
3
Symbol
Function
TMR1ON 0 : Stop TMR1
1 : enable TMR1
TMR1CLK 0 : Internal clock (Fosc/4)
1 : External clock from pin PC0
/T1SYNC TMR1CLK = 1
0 : Synchronize external clock
1 : Do not synchronize external clock
TMR1CLK = 0
This bit is ignored
T1OSCEN 0 : TMR1 Oscillator is shut off
1 : TMR1 Oscillator is enable
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.6
2005/5 Ver. 1.8
MDT10P621
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
(15) TMR2 : R11
TMR2 register
(16) T2STA : R12
Bit
Symbol
Function
1~0 T2CKPS1 0 0 = Prescaler is 1
~
0 1 = Prescaler is 4
T2CKPS0 1 x = Prescaler is 16
2
7~3
TMR2ON 0 : TMR2 is on
1 : TMR2 is off
--
Unimplemented
(17) SCMBUF : R13
Serial communication port buffer
(18) SCMCTL : R14
Bit
Symbol
Function
3~0
SCM3
~
SCM0
0 0 0 0 : SCM master mode , clock = Fosc/4
0 0 0 1 : SCM master mode , clock = Fosc/16
0 0 1 0 : SCM master mode , clock = Fosc/64
0 0 1 1 : SCM master mode , clock = TMR2 output/2
0 1 0 0 : SCM slave mode , clock = SCK pin , /SS control enable
0 1 0 1 : SCM slave mode , clock = SCK pin , /SS control disable
4
CKS
0 : Transmit happens on rising edge , receive on falling edge, Idle
state for clock is low level.
1 : Transmit happens on falling edge , receive on rising edge, Idle
state for clock is high level
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.7
2005/5 Ver. 1.8
MDT10P621
Bit
Symbol
Function
5
SCMEN 0 : disable SCM, then pc3, pc4, pc5 is I/O prot
1 : enable SCM
6
SCMROI 0 : No overflow
1 : Overflow
7
WCOL
0 : No collision
1 : The SCMBUF is written while it is still transmitting the previous
word
(19) CCPL : R15
Capture/Compare/PWM LSB
(20) CCPH : R16
Capture/Compare/PWM MSB
(21) CCPCTL : R17
Bit
Symbol
3~0
CCPM3
~
CCPM0
Function
0 0 0 0 : CCP off
0 1 0 0 : Capture mode , every falling edge
0 1 0 1 : Capture mode , every rising edge
0 1 1 0 : Capture mode , every 4 th rising edge
0 1 1 1 : Capture mode , every 16th rising edge
1 0 0 0 : Compare mode , set output on match
1 0 0 1 : Compare mode , clear output on match
1 0 1 0 : Compare mode , generate software interrupt on match
1 0 1 1 : Compare mode , trigger special event
1 1 x x : PWM mode
5~4 PWMLSB These bits are the two LSBs of the PWM duty cycle
7~6
--
Unimplemented
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.8
2005/5 Ver. 1.8
MDT10P621
(22) TMR (Time Mode Register) : R81
Bit
Symbol
Function
Prescaler Value
2~0
PS2~0
3
PSC
4
TCE
5
TCS
6
IES
7
PBPH
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
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 :
0 — RTCC
1 — Watchdog Timer
RTCC signal Edge :
0 — Increment on low-to-high transition on RTCC pin
1 — Increment on high-to-low transition on RTCC pin
RTCC signal set :
0 — Internal instruction cycle clock
1 — Transition on RTCC pin
Interrupt edge select
0 — Interrupt on falling edge on PB0
1 — Interrupt on rising edge on PB0
PORTB pull-hi
0 — PORTB pull-hi are enable
1 — PORTB pull-hi are disable
(23) CPIO A (Control Port I/O Mode Register) : R85
=“0”, I/O pin in output mode;
=“1”, I/O pin in input mode.
(24) CPIO B (Control Port I/O Mode Register) : R86
=“0”, I/O pin in output mode;
=“1”, I/O pin in input mode.
(25) CPIO C (Control Port I/O Mode Register) : R87
=“0”, I/O pin in output mode;
=“1”, I/O pin in input mode.
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.9
2005/5 Ver. 1.8
MDT10P621
(26) PIEB1 : R8C
Bit
Symbol
Function
0
TMR1IE
TMR1 interrupt enable bit
0 : disable TMR1 interrupt
1 : enable TMR1 interrupt
1
TMR2IE
TMR2 interrupt enable bit
0 : disable TMR2 interrupt
1 : enable TMR2 interrupt
2
CCPIE
CCP interrupt enable bit
0 : disable CCP interrupt
1 : enable CCP interrupt
3
SCMIE
SCM interrupt enable bit
0 : disable SCM interrupt
1 : enable SCM interrupt
7~4
--
Unimplemented
(27) PSTA : R8E
Bit
Symbol
0
PRDB
1
PORB
Function
0:Power range-detector Reset occurred
1:No Power range-detector Reset Occurred
0:Power on Reset occurred
1:No Power on Reset occurred
(28) T2PER : R92
Timer2 period
(29) SCMSTA : R94
Bit
Symbol
0
BF
7~1
--
Function
0 : Receive not complete
1 : Receive complete
Unimplemented
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.10
2005/5 Ver. 1.8
MDT10P621
(30) Configurable options for EPROM (Set by writer) :
Oscillator Type
RC
Oscillator
HFXT Oscillator
XTAL Oscillator
LFXT Oscillator
Watchdog Timer control
Watchdog timer disable all the time
Watchdog timer enable all the time
Power-range control
Power-range disable
Power-range enable
Oscillator-start Timer control
0ms
75ms
Power-edge Detect
Security state
PED Disable
Security Disable
PED Enable
Security Enable
(B) Program Memory
Address
000-FFF
Description
Program memory
000
The starting address of power on, external reset or WDT
time-out reset.
004
Interrupt vector
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.11
2005/5 Ver. 1.8
MDT10P621
7. Reset Condition for all Registers
Address
Power-On Reset,
Power range
detector Reset
IAR
00h
N/A
N/A
N/A
RTCC
01h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PC
0Ah,02h
0000 0000 0000
0000 0000 0000
PC+1
STATUS
03h
0001 1xxx
000# #uuu
000# #uuu
MSR
04h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PORT A
05h
--xx xxxx
--uu uuuu
--uu uuuu
PORT B
06h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PORT C
07h
xxxx xxxx
uuuu uuuu
uuuu uuuu
PCHLAT
0Ah
---0 0000
---0 0000
---u uuuu
INTS
0Bh
0000 000x
0000 000u
uuuu uuuu
PIFB1
0Ch
---- 0000
---- 0000
---- uuuu
TMR1L
0Eh
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR1H
0Fh
xxxx xxxx
uuuu uuuu
uuuu uuuu
T1STA
10h
--00 0000
--uu uuuu
--uu uuuu
TMR2
11h
0000 0000
0000 0000
uuuu uuuu
T2STA
SCMBU
F
SCMCTL
12h
---- -000
---- -uuu
---- -uuu
13h
xxxx xxxx
uuuu uuuu
uuuu uuuu
14h
0000 0000
0000 0000
uuuu uuuu
CCPL
15h
xxxx xxxx
uuuu uuuu
uuuu uuuu
CCPH
16h
xxxx xxxx
uuuu uuuu
uuuu uuuu
CCPCTL
17h
--00 0000
--00 0000
--uu uuuu
TMR
81h
1111 1111
1111 1111
uuuu uuuu
CPIOA
85h
--11 1111
--11 1111
--uu uuuu
CPIOB
86h
1111 1111
1111 1111
uuuu uuuu
CPIOC
87h
1111 1111
1111 1111
uuuu uuuu
PIEB1
8Ch
---- 0000
---- 0000
---- uuuu
PSTA
8Eh
---- --0u
---- --uu
---- --uu
T2PER
92h
1111 1111
1111 1111
1111 1111
SCMSTA
94h
---- ---0
---- ---0
---- ---u
Register
/MCLR or WDT Reset Wake-up from SLEEP
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.12
2005/5 Ver. 1.8
MDT10P621
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
PSTA: bit 1
PSTA: bit 0
/MCLR reset (not during
SLEEP)
u
u
u
u
/MCLR reset during SLEEP
1
0
u
u
WDT reset (not during
SLEEP)
0
1
u
u
WDT reset during SLEEP
0
0
u
u
Power-on reset
1
1
0
x
Power-range reset
1
1
u
0
8. Instruction Set :
Instruction Code
Mnemonic
Operands
Function
Operating
Status
010000 00000000 NOP
No operation
None
010000 00000001 CLRWT
Clear Watchdog timer
0→WT
TF, PF
010000 00000010 SLEEP
Sleep mode
TF, PF
010000 00000011 TMODE
Load W to TMODE register
0→WT, stop
OSC
W→TMODE
010000 00000100 RET
Return from subroutine
Stack→PC
None
Control I/O port register
W→CPIO
Store W to register
W→R
010000 00000rrr
CPIO
010001 1rrrrrrr
STWR
011000 trrrrrrr
LDR R, t
Load register
R→t
Z
111010 iiiiiiii
LDWI
Load immediate to W
I→W
None
010111 trrrrrrr
SWAPR R, t Swap halves register
[R(0~3)
↔R(4~7)]→t
None
011001 trrrrrrr
INCR R, t
R + 1→t
Z
011010 trrrrrrr
INCRSZ R, t
R + 1→t
None
011011 trrrrrrr
Increment register, skip if
zero
ADDWR R, t Add W and register
W + R→t
C, HC, Z
011100 trrrrrrr
SUBWR R, t Subtract W from register
R ﹣W→t or
(R+/W+1→t)
C, HC, Z
011101 trrrrrrr
DECR R, t Decrement register
R ﹣1→t
Z
011110 trrrrrrr
DECRSZ R, t Decrement register, skip if
zero
ANDWR R, t AND W and register
R ﹣1→t
None
010010 trrrrrrr
R
None
R
I
Increment register
R ∩ W→t
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.13
2005/5 Ver. 1.8
r
None
None
Z
MDT10P621
Mnemonic
Operands
Instruction Code
Function
Operating
Status
AND W and immediate
i ∩ W→W
Z
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
Exclu. OR W and immediate i ♁ W→W
Z
011111 trrrrrrr
COMR R, t Complement register
/R→t
Z
010110 trrrrrrr
RRR
R, t
Rotate right register
C
010101 trrrrrrr
RLR
R, t
Rotate left register
010000 1xxxxxxx
CLRW
Clear working register
R(n) →R(n-1),
C→R(7), R(0)→
C
R(n)→r(n+1),
C→R(0), R(7)→
C
0→W
010001 0rrrrrrr
CLRR
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
100nnn nnnnnnnn
LCALL
n
Long CALL subroutine
n→PC,
PC+1→Stack
None
101nnn nnnnnnnn
LJUMP
n
Long JUMP to address
n→PC
None
110111 iiiiiiii
ADDWI
i
Add immediate to W
W+i→W
110001 iiiiiiii
RTWI
111000 iiiiiiii
SUBWI
i
Return, place immediate to W Stack→PC,i→
W
Subtract W from immediate i-W→W
110100 iiiiiiii
ANDWI
010011 trrrrrrr
010000 00001001 RTFI
i
i
R
i
Reture from interrupt
Stack→PC,1→
GIS
C
Z
C,HC,Z
None
C,HC,Z
None
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 ‘∪’
Exclusive ‘♁’
: Logic AND ‘∩’
b
t
:
:
0
1
R :
C :
HC :
Z :
/
:
x
:
I
Bit position
Target
: Working register
: General register
General register address
Carry flag
Half carry
Zero flag
Complement
Don’t care
: Immediate data ( 8 bits )
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.14
2005/5 Ver. 1.8
MDT10P621
9. Electrical Characteristics
*Note: Temperature=25°C
1.Absolute maximum rating
Maximum current into Vdd pin
: 250mA
Maximum current out of Vss pin : 300mA
Maximum current sourced by PortA : 150mA
Maximum current sourced by PortB : 200mA
Maximum current sourced by PortC : 200mA
Maximum current sunk by PortA
: 150mA
Maximum current sunk by PortB
: 200mA
Maximum current sunk by PortC : 200mA
Maximum output current sourced by any I/O pin : 25mA
Maximum output current sunk by any I/O pin : 25mA
These parameters are for reference only.
2.Operation Current :
(1) HF (C=10p) , WDT - enable, PRD – disable
Sleep,WDT-disable,
4M
10M
20M
Sleep
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
PRD-disable
These parameters are for reference only.
(2) XT (C=10p) , WDT - enable, PRD – disable
Sleep,WDT-disable,
1M
4M
10M
Sleep
2.5V
80u
220u
500u
12u
1u
3.0V
170u
400u
850u
37u
1u
4.0V
300u
700u
1.3m
42u
1u
5.0V
500u
1.0m
1.8m
52u
1u
5.5V
800u
1.4m
27m
80u
1u
PRD-disable
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
P.15
2005/5 Ver. 1.8
MDT10P621
(3) LF (C=10p) , WDT - enable, PRD - disable,
32K
455K
1M
Sleep
Sleep,WDT-disable,
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.
(4) RC, WDT - enable; PRD - disable; @Vdd = 5.0V
Sleep,WDT-disable,
C
R
Freq.
Current
PRD-disable
3p
20p
100p
300p
4.7k
12.1M
1.9m
1u
10k
6.3M
1.1m
1u
47k
1.4M
350u
1u
100k
702K
220u
1u
300k
235K
140u
1u
470k
149K
130u
1u
4.7k
5.8M
1.0m
1u
10k
2.9M
600u
1u
47k
640K
210u
1u
100k
310K
160u
1u
300k
104K
130u
1u
470k
66K
120u
1u
4.7k
1.7M
380u
1u
10k
865K
250u
1u
47k
190K
140u
1u
100k
91K
130u
1u
300k
31K
110u
1u
470k
19K
105u
1u
4.7k
740K
220u
1u
10k
362K
170u
1u
47k
79K
140u
1u
100k
38K
110u
1u
300k
13K
105u
1u
470k
8K
105u
1u
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.16
2005/5 Ver. 1.8
MDT10P621
These parameters are for reference only.
RC, WDT - enable; PRD - disable; @Vdd = 3.0V
Sleep,WDT-disable,
C
R
Freq.
Current
PRD-disable
3p
20p
100p
300p
4.7k
11.8M
1.1m
1u
10k
6.7M
580u
1u
47k
1.7M
190u
1u
100k
900K
150u
1u
300k
275K
80u
1u
470k
176K
70u
1u
4.7k
6.4M
600u
1u
10k
3.4M
330u
1u
47k
790K
120u
1u
100k
380K
90u
1u
300k
127K
70u
1u
470k
81K
60u
1u
4.7k
2.2M
230u
1u
10k
1.1M
150u
1u
47k
250K
80u
1u
100k
120K
70u
1u
300k
40K
60u
1u
470k
26K
60u
1u
4.7k
1.0M
150u
1u
10k
520K
110u
1u
47k
115K
70u
1u
100k
55K
65u
1u
300k
18K
60u
1u
470k
12K
60u
1u
These parameters are for reference only.
3. Input Voltage (Vdd = 5V) :
Port
Min
Max
TTL
Vss
1.0V
Vss
0.6V
2.2V
Vdd
3.8V
Vdd
Vil
Vih
Schmitt trigger
TTL
Schmitt trigger
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
P.17
2005/5 Ver. 1.8
MDT10P621
Input Voltage (Vdd = 3V) :
Port
Min
Max
TTL
Vss
0.8V
Schmitt trigger
Vss
0.4V
TTL
2.0V
Vdd
Schmitt trigger
2.6V
Vdd
Vil
Vih
These parameters are for reference only.
4. Output Voltage (Vdd = 5V) :
PA,PB
Condition
Voh
4.4V
Ioh = -20mA
Vol
1.2V
Iol = 20mA
Voh
4.6V
Ioh = -5mA
Vol
0.5V
Iol = 5mA
These parameters are for reference only.
Output Voltage (Vdd = 3V) :
PA,PB
Condition
Voh
1.2V
Ioh = -20mA
Vol
0.6V
Iol = 20mA
Voh
2.4V
Ioh = -5mA
Vol
0.4V
Iol = 5mA
These parameters are for reference only.
5. The basic WDT time-out cycle time :
Time
2.5V
25
3.0V
23
4.0V
20
5.0V
17
5.5V
16
Unit = ms
These parameters are for reference only.
6. Temperature & WDT (Vdd = 5V) :
Temperature(°C)
-40
WDT time(ms)
12.5
-20
0
30
50
80
14.2
16.1
17.5
19.5
21.7
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.18
2005/5 Ver. 1.8
MDT10P621
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.
(2) PRD reset current :
Current
4.0V
100
3.6V
80
Unit = uA
These parameters are for reference only.
8. Pull high resistor :
Vdd
Pull high
5V
3V
45
85
Unit = K Ohm
These parameters are for reference only.
9. MCLR filter time :
Vdd=5V
time
720
Unit = ns
These parameters are for reference only.
10.OSC1 timing requirements :
External clock high or low time (osc1) 2.5us (min) LF mode (1MHz)
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
P.19
2005/5 Ver. 1.8
MDT10P621
11.OSC1 and CLKOUT requirements :
OSC1 high to CLKOUT high
80ns (typical) RC mode
OSC1 high to CLKOUT low
80ns (typical) RC mode
CLKOUT rise time
50ns (typical) RC mode
CLKOUT fall time
50ns (typical) RC mode
These parameters are for reference only.
12.OSC1 and PORT OUTPUT requirements :
OSC1 high to PORT OUTPUT valid
100ns (typical)
PORT OUTPUT rise time
40ns (typical)
PORT OUTPUT fall time
40ns (typical)
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
P.20
2005/5 Ver. 1.8
MDT10P621
10.Block Diagram
S ta ck 8 Le ve ls
E PR OM
4 Kx 1 4 (MD T1 0 P 6 2 1 )
P ortA
P A0 ~P A5
6 b its
P o rt A
RAM
1 9 2 X8
1 2 b its
1 4 b its
1 2 b its
P ro g ra m C o u n te rs
In s tru ctio n
Re g is te r
S p e c ia l Re g is te r
P ortB
P o rt B P B0 ~P B7
8 b its
O S C1
O S C2 MC LR
O s cilla to r Circu it
D0 ~ D7
In s tru ctio n
De co d e r
Co n tro l C ircu it
P o rtC
D a ta 8 -b it
P o we r o n R e s e t
P o we r Do w n Re s e t
W o rkin g R e g is te r
S ta tu s R e g is te r
ALU
P o we r R a ng e Detecto r
C o u n te r / Tim e r0
S e ria l P o rt
(S CM)
Tim e r1 / Tim e r2
(C CP 1 )
W DT/O S T
Tim e r
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.21
2005/5 Ver. 1.8
P o rtC
P C0 ~P C 7
8 bits