The CTR-05 is a low-cost half-size card that contains five general purpose 16-bit counters, a crystal-controlled timebase with dividers, and two 8-bit parallel digital I/O ports. The card plugs into I/O slots in ISA-bus computers. CTR-05 contains the highly flexible type 9513 LSI counter chip, which provides capability for:
- event count accumulation
- stopwatch timing
- frequency-shift keying
- high-resolution baud rate generation
- complex pulse generation
- coincidence alarms
- time-of-day
- re-triggerable digital one-shots
- programmable duty-cycle waveforms
- programmable frequency synthesis
COUNTERS
The 9513 LSI chip provides a selection of various internal frequency sources Source outputs may be chosen as inputs for individual counters and active-high or active-low polarities are software selectable Each counter may be gated in hardware or by software. Further, the counters can be programmed to count up or count down in either binary or BCD. A LOAD register and a HOLD register is associated with each counter. The LOAD register automatically reloads predefined values into the counter and, thus, controls the effective count period The HOLD register saves count values without disturbing the counting process, Thus, the host computer can read intermediate values without interfering with the counter. The HOLD register can also be used as a second LOAD register when complex output waveforms are to be generated.
Counters 1 and 2 have additional "alarm" registers and comparators associated with them plus logic for operating in a 24-hour time-of-day mode. For real-time applications, the time-of-day logic will accept 50 Hz, 60 Hz, or 100 Hz input frequencies. Each counter has a dedicated output pin. That output may be turned off when the output is not of interest. The 9513 chip provides considerable versatility for configuring inputs as well as gating of individual counters. This permits dynamic reassignment of inputs under software control and also allows multiple counters to use a single input and allows a single gate input to control more than one counter.
The CTR-05 card includes flip-flops to synchronize gate and clock inputs and improve timing and counting accuracy. You can place jumpers to select either the synchronized or the non-synchronized mode. Further, a second jumper associated with each counter selects either leading edge or falling edge synchronization. Also, CTR-05 contains a means to assure that Read and Write pulses from the computer are at least 400 nS in duration. This feature is activated when a jumper is installed across two programming pins labeled WAIT. While normally not required, this feature is useful for computers with Bus speeds above 6-8 MHz.
CRYSTAL TIMEBASE
An 8 MHz crystal oscillator is provided on the card. Also, a three-stage divider provides means for jumper selection of 4, 2, and 1 MHz clock inputs for the counters.
DIGITAL I/O
The CTR-05 also contains an 8-bit latched parallel digital, TTL input port and an 8-bit latched parallel digital TTL output port. The input port is comprised of transparent D-type latches. When an Enable control signal is high, outputs will follow the inputs; when the Enable signal is low, outputs will be latched at the data levels that were set up. The output port features tri-state outputs designed specifically for driving capacitive or low-impedance loads. Outputs can sink up to 24 mA and can drive 15 standard TTL loads or 60 low-power Schottky TTL loads.
INTERRUPTS
Interrupts from either counter outputs or front external sources are supported. An output from a PAL is connected to any one of interrupt levels IRQ2 through IRQ7 which are user-selected by means of jumpers on the card. An "interrupt enable" signal at the I/O connector enables or disables this Interrupt function. Typically, counter outputs can be jumpered to the Interrupt input at the I/O connector and the Interrupt Enable input can be controlled by one of the digital output bits. This would provide periodic inputs. Alternatively, the Interrupt input can be used for other purposes such as transferring data into or out of the computer, etc.