7-3
The 8254 programmable interval timer provides three 16-bit, 8-MHz timers for timing and counting
functions such as frequency measurement, event counting, and interrupts. All three of the Timer/Counters are
available for the user. Figure 7-1 shows the TC circuitry.
Each timer/counter has two inputs, CLK in and GATE in, and one output, timer/counter OUT. They can be
programmed as binary or BCD down counters by writing the appropriate data to the command word, as
described in the I/O map discussion in Chapter 4.
The output from from each Timer/Counter is available at the connector CN3.
The timers can be programmed to operate in one of six modes, depending on your application. The
following paragraphs briefly describe each mode.
Mode 0, Event Counter (Interrupt on Terminal Count).
This mode is typically used for event counting.
While the timer/counter counts down, the output is low, and when the count is complete, it goes high. The
output stays high until a new Mode 0 control word is written to the timer/counter.
Mode 1, Hardware-Retriggerable One-Shot.
The output is initially high and goes low on the clock pulse
following a trigger to begin the one-shot pulse. The output remains low until the count reaches 0, and then goes high
and remains high until the clock pulse after the next trigger.
Mode 2, Rate Generator.
This mode functions like a divide-by-N counter and is typically used to generate a
real-time clock interrupt. The output is initially high, and when the count decrements to 1, the output goes low for
one clock pulse. The output then goes high again, the timer/counter reloads the initial count, and the process
is repeated. This sequence continues indefinitely.
Fig. 7-1 User TC Circuitry
CLK0
6210
I/O CONNECTOR
CN3
PIN 46
PIN 43
PIN 42
8254
TIMER/
COUNTER
0
CLK
GATE
OUT
TIMER/
COUNTER
1
CLK
GATE
OUT
TIMER/
COUNTER
2
CLK
GATE
OUT
PIN 39
PIN 44
XTAL (8 MHz)
JP1
+5 V
+5 V
+5 V
PIN 19
PIN 40
PIN 41
PIN 45
T/C OUT 0
OUT0
OUT1
EXT CLK 0
T/C OUT 1
EXT CLK 1
EXT GATE 2
T/C OUT 2
EXT CLK 2
EXT GATE 0
EXT GATE 1
EC0
OSC
EC1
OSC
EC2
Summary of Contents for DM6210
Page 2: ......
Page 9: ...i 1 INTRODUCTION...
Page 10: ...i 2...
Page 14: ...1 2...
Page 22: ...1 10...
Page 24: ...2 2...
Page 28: ...2 6...
Page 30: ...3 2...
Page 34: ...4 2...
Page 44: ...5 2...
Page 48: ...5 6...
Page 50: ...6 2...
Page 56: ...6 8...
Page 58: ...7 2...
Page 61: ...8 1 CHAPTER 8 DIGITAL I O This chapter explains the digital I O circuitry on the DM6210...
Page 62: ...8 2...
Page 66: ...9 2...
Page 68: ...9 4...
Page 70: ...10 2...
Page 74: ...10 6...
Page 75: ...A 1 APPENDIX A DM6210 SPECIFICATIONS...
Page 76: ...A 2...
Page 78: ...A 4...
Page 79: ...B 1 APPENDIX B CN3 CONNECTOR PIN ASSIGNMENTS...
Page 80: ...B 2...
Page 82: ...B 4...
Page 83: ...APPENDIX C COMPONENT DATA SHEETS C 1...
Page 84: ......
Page 85: ...Intel 82C54 Programmable Interval Timer Data Sheet Reprint...
Page 86: ......
Page 88: ...D 2...
Page 91: ...DM6210 User Settings Base I O Address hex decimal IRQ Channel...