Omega Engineering PCI-DAS1200 manual ADC Pacer Clock Data and Control Registers, BADR3 +

Page 31

7.5 BADR3

The I/O Region defined by BADR3 contains data and control registers for the ADC Pacer, Pre/Post-Trigger Count- ers, User Counters and Digital I/O bytes. The PCI-DAS1200 has two 8254 counter/timer devices. These are referred to as 8254A and 8254B and are assigned as

shown below:

Device

Counter #

Function

 

 

 

8254A

0

ADC Post-Trigger Sample Counter

 

 

 

8254A

1

ADC Pacer Lower Divider

 

 

 

8254A

2

ADC Pacer Upper Divider

 

 

 

8254B

0

User Counter #3 & ADC Pre-Trigger Index

 

 

Counter

 

 

 

8254B

1

User Counter #4

 

 

 

8254B

2

User Counter #5

 

 

 

 

 

 

All reads/writes to BADR3 are byte operations.

7.5.1 ADC PACER CLOCK DATA AND CONTROL REGISTERS

8254A COUNTER 0 DATA - ADC POST TRIGGER CONVERSION COUNTER

BADR3 + 0

READ/WRITE

7

6

5

4

2

3

1

0

 

 

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

 

 

 

 

Counter 0 is used to stop the acquisition when the desired number of samples have been gathered. It essentially is gated on when a 'residual' number of conversions remain. The main counting of samples is done by the Interrupt Service Routine, which will increment each time by 'packets' equal to 1/2 FIFO. Generally the value loaded into Counter 0 is N mod 1024, where N is the total count, or the post trigger count, since Total count is not known when pre-trigger is active. Counter 0 will be enabled by use of the ARM bit (BADR1 + 4) when the next-to-last 1/2-full interrupt is processed. Counter 0 is to operated in Mode 0.

8254A COUNTER 1 DATA - ADC PACER DIVIDER LOWER

BADR3 + 1

READ/WRITE

7

6

5

4

2

3

1

0

 

 

 

 

 

 

 

 

D7

D6

D5

D4

D3

D2

D1

D0

 

 

 

 

 

 

 

 

28

Image 31
Contents Users Guide Table of Contents Table of Contents ORFN3&,$LDJUDP6 %ORFN$LDJUDP6-5 Windows 95, 98 & NT InstallationUsing InstaCal DOS AND/OR Windows Testing the Installation Hardware Connections Connector PIN DiagramAnalog Connections Differential Input Which system do you have? System Grounds and IsolationSystems with Common Grounds Systems with Common Mode ground offset VoltagesPCI-DAS1200 and signal source already have isolated grounds Wiring ConfigurationsSmall Common Mode Voltages Large Common Mode VoltagesCommon Ground / Single-Ended Inputs  Common Mode Voltage +/-10V Common Mode Voltage +/-10V / Single-Ended InputsBoard Programming Languages Programming & ApplicationsSelf-Calibration of the PCI-DAS1200 Alo g O u t Region Function Operations BADR0BADR1 Interrupt / ADC Fifo RegisterIntcl InteEoaie EoaclADC Channel MUX and Control Register Pacer Source Input Range Input Gain Measurement ResolutionEOC Trigger CONTROL/STATUS RegisterTgen TS10Xtrig Fifo Mode Sample CTRARM C0SRCDAC Channel Cal Function Calibration RegisterCal Source DACnR10 Dacen ModeCalen SDIADC Fifo Clear Register BADR2ADC Data Register BADR2 +BADR3 + BADR3ADC Pacer Clock Data and Control Registers 8254A Counter 0 Data ADC Post Trigger Conversion CounterDigital I/O Data and Control Registers 8254A Counter 2 Data ADC Pacer Divider UpperBase + ADC 8254 Control RegisterDIO Port C Data DIO Port B DataDIO Control Register Or User Index and User Counter Data and Control Registers 8254BCounter DATA-ADC PRE-TRIGGER Index Counter8254B Control Register 8254B Counter 1 Data User Counter #58254B Counter 2 Data User Counter #6 BADR3 + Ah1 DAC0 Data Register BADR42 DAC1 Data Register Analog Input Section Electrical SpecificationsParallel Digital Input / Output Analog Output82C54A Counter SectionPower consumption Other SpecificationsEnvironmental For Your Notes EC Declaration of Conformity