MOTOROLA
■ SEMICONDUCTOR
TECHNICAL DATA
Programmable Timer Module (PTM)
The MC6840 is a programmable subsystem component of the M6800 Family designed to provide
variable system time intervals.
The MC6840 has three 16-bit binary counters, three corresponding control registers, and a status
register. These counters are under software control and may be used to cause system interrupts
andlor generate output signals. The MC6840 may be utilized for such tasks as frequency measure-
ments, event counting, interval measuring, and similar tasks. The device may be used for square
wave generation, gated delay signals, single pulses of controlled duration, and pulse width modul~?~’’’*,., ~
tion as well as system interrupts.
,>~+
Order this document
by MC6840/D
MC6840
,:::’~”,<$,+
){t t,$.~t.+
\ “:tt+.:?.,:t:’i’
\.:?,\\,+,
,,,.F+\ ~!,;&~
.’\’ :,~>.,,,.~...~.
~:,~:;,~<~r...
....+
.+
,.,,.
~ L.4!:s+”
.<\;:
\ *Y>:”*.
~.\\,\.*;L*
“--’. ~.t.:~,,,
.$
‘$tt<v
.!,.
A),,),,
l.~:~:.*L~\,\.,,.l.,.,$..,
t,.,~ ,1..
~*:~\
.
Three
Three
MOTOROLA INC , 1988
@
MOTOROLA =
DS9802R3
BLOCK DIAGRAM
m
E (Enable)
t
& I Rea,ster I
Clock
A
I
‘,~t..
J!{
The average chip-juncti~wt~~$eratu re, TJ, in ‘C can be obtained from:
where:
TA
OJA = +P@k~d’’Thermal Resistance, Junction-to-Ambient, ‘Cm
pD
PINT , !kd~~ x Vcc, Watts — Chip Internal Power
Pp~T3W$=’*~ort Power Dissipation, Watts — User Determined
~ *;’.?,,*
~~$@~~#appliCatiOnS ppORT<plNTand can be neglected. ppORTmay become significant if the device is configured
.AQ&+$ve Darlington bases or sink LED loads.
~~~~%approximate relationship between PD and TJ (if PpORT is neglected) is:
,,
Solving equations (1) and (2) for K gives:
where K is a constant pertaining to the particular part. K can be determined from equation (3) by measuring PD (at
equilibrium) for a known TA, Using this value of K, the values of PD and TJ can be obtained by solving equations
(1) and (2) iteratively for any value of TA
= Arn~~~m\,fem peratu re, ‘C
,~~~~~+ PpORT
.
,4 ~
.,>
,$>5, -*, $:
.,d:P:.. 3... ~
;.,
$i<
~.s>>,,
:<:*,
‘.~~..$.’
TJ =TA+ (PD*OJA)
PD= K: (TJ +273°C)
● (TA+2730C) +0JNPD2
K=PD
—.
(1)
(2)
(3)
MOTOROLA MC6840
2 DS9802R3
MAXIMUM RATINGS
Rating
Symbol Value Unit
Supply Voltage
Input Voltage V,n
Operating Temperature Range – TL to TH
MC~, MC~A40, MC~B40
MCWOC, M C6BA40C
Storage Temperature Range
THERMAL CHARACTERISTICS
Characteristic Symbol
Thermal Resistance
Vcc
TA
Tstg
9JA
to +7.0 v
–0.3
to +7.0 v
–0.3
Oto +70
–40to +85 ‘c
–55to +150 ‘c
Value Unit
‘cm
This devtce contains
Inputs agatnst damage due to high static
voltages or electric fields, however, it IS advised that normal precautions be taken to
avoid application of any voltage higher than
max!mum rated voltages to this htghtmpedance
recommended that V,n and Vout be constrained to the range VSSS(Vln or Vout)
SVCC. Rellabllity of operation IS enhanced~,
unused Inputs are tied to an
voltage level (e g., eltner VSS or V@&$ , “’$.~
clrcult. For proper operation It IS
Cerdip 65
Plastic 100
DC ELECTRICAL CHARACTERISTICS (VCC = 5.o Vdc + 5%, VSS =0, TA= TL to TH unless otherwise noted) .,ih ~+.,
Characteristic
Input High Voltage
Input Low Voltage
Input Leakage Current (Vin =0 to 5.25 V)
HI-Z (Off State) Input Current (Vin= 0.5 to 2,4 V)
Output High Voltage
(lL~ad= –205KA)
(l Load= –2~KA) Other Outputs
Output Low Voltage
(l Load= 1.6 mA)
(l Load =3.2 mA)
Output Leakage Current (Off State) (VOH = 2.4 V)
Internal Power Dissipation (Measured at TA= TL)
Input Capacitance
(Vln=O, TA=250C, f=l.O MHz)
Output Capacitance
(V,n=O. TA=25°C, f=l.O MHz)
%.
.?
m, DO-D7 .2
+:$?1$$.,
tf\ “$
>,,p.,~~.D7
“?l$~~fl others
>.
,:..>.’
Symbol
VIH
vlL
Iin
. ....
-..:*<>.
IRQ
:&s~’
ITS[
v O H,:.,.?
f’.$;:~$:,ii :,+
is‘i~~.-~,~.s~<
*(5. ‘*?
‘%Q# -
PINT
Ci”
Cn,,t
DO-D7
DO-D7
01-05?;
.,i.~ ‘$ILOH –
Min
VSS+2.O ‘;’%- ‘~ Vcc v
v s s – Q,$ >?’~&:’
, .,,. ....
..5
~ .,t.
..,:<.>
.!,. $$J
,.,., ..}}:,
t$?,:::%:,::~”}:.
V~~+ 2.4
VSS+2.4
—
—
—
— —
— —
circuitry to protect the
,’!>$:.,.:?.
T~,?..
I
“**$*l .0
~~ Max Unit
VSS+O.8
20 10 pA
–
–
—
VSS+O.4
—
VSS+0,4
1.0
470
—
,.
AC OPERATING CHARACTERISTICS (See Figure:Q~!%&;}$*
I
Characteristic
Input Rise and
(Fiaures 4 and 5) ~. ~, and RESET
Inuut Pulse Width Low (Figure 2)
‘~As~nchronous Input) -
C, G, and RESET
Input Pulse Width High (Figw&~~’s’p I -,
(Asynchronous Input) ~ii~ ~$Y
Fall Times
I .:cr-~ ~~I -
if “’.?:.:
!’+>
:’::$; ‘3:q>%WL
~,({,
~,
:
rvvH
I
1 ,
thd 50
ion Time (Figure 7)
ln~~:pu]se Width
C3’( – 8 Prescaler Mode On Iv)
Output Delay, 01-03 (Figure 5)
(VOH =2.4 V, Load B)
(V0H=2.4V, Load D)
(VOH=O.7 VDD, Load D)
Interrupt Release Time (Figure 6)
tr and tfs tcvcE
TTL
MOS tcm
CMOS tcmos
tsvnc
pWL, PWH 120
t
tco
tlR
$+...i$
..i:
kAPcaAn
1
I
tcyc E + tsu + thd –
tcVcE+ tsu + thd –
250
—
—
—
—
MC6BA40
Max
1.0”
, 1 [ 1
—
—
—
700
450
2.0
1.2
Min
—
tcycE+ tsu + thd –
tcycE+ tsu + thd –
50
2m
80
—
—
—
—
Max Min Max
0.666.
—
—
—
460
450
1.35
0.9
MC6BB40
—
tcyc E + tsu + thd
tcVcE+ tsu + thd
w
175
60
—
—
—
—
appropr!atewt$~$.
~, f?.’:),:,
‘ \*,i
v
2.5
—
–
10
7W
12.5
75
5.0 pF
PA
v
v
PA
mW
pF
—
Unit
O.w”
ns
–
ns
–
—
ns
—
—
ns
—
—
ns
—
ns
—
ns
Mo
ns
MO
1,0
Us
07
MC6840
DS9802R3
MOTOROLA
3
BUS TIMING CHARACTERISTICS (COO~1-+=. I ~ --~ Q)
Ident.
Numbr
I
1
Cycle Time
Pulse Width, E Low
2
3 Pulse Width, E High
4
Clock Rise and Fall Time
Q
Address Hold Time
4..
14
15
18 Read Data
21
!
;s Setup Time Before E
Chip Select Setu
elect Hold Time
Chip Sf’ ‘“”
Write Data Hold Time
:ral Output Data Delay Time
sral Input Data Setup Time
Jp Time Before E
,., ,-
Hold I Ime
,UUG I“” LGa 1, z, a,, ” d,
Characteristic
MC6840
..lin Max Min Max
tcvc
PWEL 430 9W
PWEH 4W 9W
tr, tf
tAH
tAS
tcs
tCH
tDHR1201W01201~.
I
tDHW
tDDR
tDSW
1.0
—
10 – 10 –
80 – 60 –
80 – 60 –
10 – 10 –
10 – 10 –
– 290 –
~~~ —
MC68A40 MC68840
Min Max ‘nit
10
0.67 10 0.5 10 #s
280 9500 210 9m
280 9m 220 9m
25 – 25
I
80
– 20 ns
10 – ns
40 – ns
40 –
10
20 I~ Qs$f” ns
I
~,Q,$J*,p~;@I ns
I ,
180 .~~.~,’”~j $~ ] ns
ns
ns
Q:.ns
~
..,\:.;?:,‘*T:*.*}
MOTOROLA
4
~!, FI$URE2 – INPUT PULSE WIDTH LOW
FIGURE3 – INPUT PULSE WIDTH HIGH
—.
MC6840
DS9802R3
FIGURE4 – INPUT SETUP AND HOLD TIMES
FIGURE 5 – OUTPUT DELAY
‘esrpO’”’T
NOT E: Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless otherwise noted.
MC6840
DS9802R3
L
I
—
300F
MOTOROLA
5