44
•
Operation Theorem
control words. The most commonly uses for the 8254 in microprocessor
based system are:
Ø
programmable baud rate generator
Ø
event counter
Ø
binary rate multiplier
Ø
real-time clock
Ø
digital one-shot
Ø
motor control
For more information about the 8254 , please refer to the NEC
Microprocessors and peripherals or Intel Microsystems Components
Handbook.
Pacer Trigger Source
The counter 1 and counter 2 are cascaded together to generate the timer
pacer trigger of A/D conversion. The frequency of the pacer trigger is
software controllable. The maximum pacer signal rate is 2MHz/4=500K
which excess the maximum A/D conversion rate of the ACL-8112. The
minimum signal rate is 2MHz/65535/65535, which is a very slow
frequency that user may never use it.
General Purpose Timer/ Counter
The counter 0 is free for users' applications. The clock source, gate
control signal and the output signal is send to the connector CN3. The
general purpose timer / counter can be used as event counter, or used
for measuring frequency, or others functions. See the 'Timer/Counter
Applications' section for examples.
I/O Address
The 8254 in the ACL-8112 occupies 4 I/O address as shown below.
BASE + 0
LSB OR MSB OF COUNTER 0
BASE + 1
LSB OR MSB OF COUNTER 1
BASE + 2
LSB OR MSB OF COUNTER 2
BASE + 3
CONTROL BYTE
The programming of 8254 is control by the registers BASE+0 to BASE+3.
The functionality of each register is specified this section. For more
detailed information, please refer handbook of 8254 chip.
Summary of Contents for ACL-8112 Series
Page 1: ...NuDAQ ACL 8112 Series Enhanced Multi Functions Data Acquisition Cards User s Guide ...
Page 4: ......
Page 40: ...32 Registers Format 1 1 1 1 1 000 Unipolar N A Table 4 2 1 Function of the Gain Control Bits ...
Page 44: ...36 Registers Format Base 14 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 ...
Page 46: ...38 Registers Format Base 2 Counter 2 Register R W Base 3 8254 CONTROL BYTE ...
Page 71: ...C Language Library 63 ...
Page 81: ...C Language Library 73 Example See Demo Program AD_Demo4 C ...
Page 85: ...C Language Library 77 ERR_AD_INTNotSet Example See demo program AD_Demo2 C ...