• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
October 1994 Order Number231244-006
82C54CHMOS PROGRAMMABLE INTERVAL TIMER
Y
Compatible with all Intel and mostother microprocessors
Y
High Speed ‘‘Zero Wait State’’Operation with 8 MHz 808688 and80186188
Y
Handles Inputs from DC10 MHz for 82C54-2
Y
Available in EXPRESSStandard Temperature RangeExtended Temperature Range
Y
Three independent 16-bit counters
Y
Low Power CHMOSI
CC
e
10 mA
8 MHz Countfrequency
Y
Completely TTL Compatible
Y
Six Programmable Counter Modes
Y
Binary or BCD counting
Y
Status Read Back Command
Y
Available in 24-Pin DIP and 28-Pin PLCC
The Intel 82C54 is a high-performance CHMOS version of the industry standard 8254 countertimer which isdesigned to solve the timing control problems common in microcomputer system design It provides threeindependent 16-bit counters each capable of handling clock inputs up to 10 MHz All modes are softwareprogrammable The 82C54 is pin compatible with the HMOS 8254 and is a superset of the 8253Six programmable timer modes allow the 82C54 to be used as an event counter elapsed time indicatorprogrammable one-shot and in many other applicationsThe 82C54 is fabricated on Intel’s advanced CHMOS III technology which provides low power consumptionwith performance equal to or greater than the equivalent HMOS product The 82C54 is available in 24-pin DIPand 28-pin plastic leaded chip carrier (PLCC) packages
231244–1
Figure 1 82C54 Block Diagram
231244–3
PLASTIC LEADED CHIP CARRIER
231244–2Diagrams are for pin reference onlyPackage sizes are not to scale
Figure 2 82C54 Pinout
 
82C54
Table 1 Pin DescriptionSymbolPin NumberType FunctionDIP PLCC
D
7
-D
0
1-8 2-9 IO DataBidirectional tri-state data bus linesconnected to system data busCLK 0 9 10 I Clock 0Clock input of Counter 0OUT 0 10 12 O Output 0Output of Counter 0GATE 0 11 13 I Gate 0Gate input of Counter 0GND 12 14 GroundPower supply connectionOUT 1 13 16 O Out 1Output of Counter 1GATE 1 14 17 I Gate 1Gate input of Counter 1CLK 1 15 18 I Clock 1Clock input of Counter 1GATE 2 16 19 I Gate 2Gate input of Counter 2OUT 2 17 20 O Out 2Output of Counter 2CLK 2 18 21 I Clock 2Clock input of Counter 2A
1
 A
0
20-19 23-22 I AddressUsed to select one of the three Countersor the Control Word Register for read or writeoperations Normally connected to the systemaddress bus
A
1
A
0
Selects
0 0 Counter 00 1 Counter 11 0 Counter 21 1 Control Word RegisterCS 21 24 I Chip SelectA low on this input enables the 82C54to respond to RD and WR signals RD and WR areignored otherwiseRD 22 26 I Read ControlThis input is low during CPU readoperationsWR 23 27 I Write ControlThis input is low during CPU writeoperationsV
CC
24 28 Power
a
5V power supply connectionNC 1111525 No Connect
FUNCTIONAL DESCRIPTIONGeneral
The 82C54 is a programmable interval timercounterdesigned for use with Intel microcomputer systemsIt is a general purpose multi-timing element that canbe treated as an array of IO ports in the systemsoftwareThe 82C54 solves one of the most common prob-lems in any microcomputer system the generationof accurate time delays under software control In-stead of setting up timing loops in software the pro-grammer configures the 82C54 to match his require-ments and programs one of the counters for the de-sired delay After the desired delay the 82C54 willinterrupt the CPU Software overhead is minimal andvariable length delays can easily be accommodatedSome of the other countertimer functions commonto microcomputers which can be implemented withthe 82C54 are
Real time clock
Even counter
Digital one-shot
Programmable rate generator
Square wave generator
Binary rate multiplier
Complex waveform generator
Complex motor controller2
 
82C54
Block Diagram
DATA BUS BUFFER
This 3-state bi-directional 8-bit buffer is used to in-terface the 82C54 to the system bus (see Figure 3)
231244–4
Figure 3 Block Diagram Showing Data BusBuffer and ReadWrite Logic FunctionsREADWRITE LOGIC
The ReadWrite Logic accepts inputs from the sys-tem bus and generates control signals for the otherfunctional blocks of the 82C54A
1
and A
0
selectone of the three counters or the Control Word Regis-ter to be read fromwritten into A ‘‘low’’ on the RDinput tells the 82C54 that the CPU is reading one ofthe countersA ‘‘low’on the WR input tells the82C54 that the CPU is writing either a Control Wordor an initial count Both RD and WR are qualified byCS RD and WR are ignored unless the 82C54 hasbeen selected by holding CS lowThe WR
and CLK signals should be synchronousThis is accomplished by using a CLK input signal tothe 82C54 counters which is a derivative of the sys-tem clock source Another technique is to externallysynchronize the WR
and CLK input signals This isdone by gating WR
with CLK
CONTROL WORD REGISTER
The Control Word Register (see Figure 4) is selectedby the ReadWrite Logic when A
1
A
0
e
11 If theCPU then does a write operation to the 82C54 thedata is stored in the Control Word Register and isinterpreted as a Control Word used to define theoperation of the CountersThe Control Word Register can only be written tostatus information is available with the Read-BackCommand
231244–5
Figure 4 Block Diagram Showing Control WordRegister and Counter FunctionsCOUNTER 0 COUNTER 1 COUNTER 2
These three functional blocks are identical in opera-tion so only a single Counter will be described Theinternal block diagram of a single counter is shownin Figure 5The Counters are fully independent Each Countermay operate in a different ModeThe Control Word Register is shown in the figure itis not part of the Counter itself but its contents de-termine how the Counter operates3
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...