background image

SERIES PMC341 PCI MEZZANINE CARD                                     SIMULTANEOUS ANALOG INPUT MODULE 
___________________________________________________________________________________________

 

- 15 - 

 

Interrupt Programming Example  

 
1. 

Enable PMC341 board interrupt by writing a “1” to bit 0 of 
the Interrupt register at Base A 00H. 

2. 

Set the Memory Threshold register as desired at Base 
A 14H. 

3. 

Interrupts can now be generated after more samples than 
that set in the Memory Threshold register are available in 
the Memory buffer. 

 

General Sequence of Events for Processing an Interrupt

 

 
1. 

The PMC341 asserts the Interrupt Request  Line (INTA#) in 
response to an interrupt condition. 

2. 

Determine the IRQ line assigned to the PMC341 during 
system configuration (read configuration register number 
15). 

3. 

Set up the system interrupt vector for the appropriate 
interrupt. 

4. 

Unmask the IRQ in the system interrupt controller. 

5. 

The interrupt service routine pointed to by the vector set up 
in step 3 starts. 

6. 

Interrupt service routine determines if the PMC341 has a 
pending interrupt request by reading the Interrupt pending 
bit-1 of the Interrupt register. 

7. 

Example of Generic Interrupt Handler Actions: 
a) 

Disable the interrupting PMC341 by writing “0” to bit-0 
of the Interrupt Register to disable interrupts on the 
PMC341. 

b) 

Service the interrupt by reading converted data resident 
in the Memory buffer of the PMC341.  

c) 

Clear the interrupt request by writing a “1” to bit-15 of 
the Interrupt register. 

d) 

Enable the PMC341 fo

r interrupts by writing “1” to bit-0 

of the Interrupt register. 

8. 

Write “End-Of-Interrupt” command to systems interrupt 
controller. 

9. 

If the PMC341’s interrupt stimulus has been removed, the 
interrupt cycle is completed and the board holds the INTA# 
inactive. 

 

 

4.0  THEORY OF OPERATION 

 

This section contains information regarding the hardware of 

the PMC341.  A description of the basic functionality of the 
circuitry used on the board is also provided.  Refer to the Block 
Diagram shown in Drawing 4501-878 as you review this material. 
 

FIELD ANALOG INPUTS 

 

The field I/O interface to the carrier board is provided through 

front panel connector (refer to Table 2.1).  

Field I/O signals are 

NON-ISOLATED. 

 This means that the field return and logic 

common have a direct electrical connection to each other.  As 
such, care must be taken to avoid ground loops (see Section 2 
for connection recommendations).  Ignoring ground loops may 
cause operational errors, and with extreme abuse, possible circuit 
damage.  Refer to Drawing 4501-879 for example wiring and 
grounding connections. 

 

Analog inputs and calibration voltages are selected via 

analog multiplexers.  PMC module control logic drives the select 
signals of the multiplexer as required per the programming of the 
control register.   

 
Up to 16 differential inputs can be monitored.  The multiplexer 

stage directs one of two groups of eight channels for 
simultaneous conversion.  Channels 0 to 7 are simultaneously 
selected and converted by eight individual ADC’s, and channels 8 
to 15 are also simultaneously converted. 

 
The output of the multiplexer stage feeds an instrumentation 

amplifier (INAMP) stage.  The INAMP has a fixed gain of one.  
The INAMPs high input impedance allows measurement of 
analog input signals without loading the source.  The INAMP 
takes in the channel’s + and - inputs and outputs a single ended 
voltage proportional to it. 

 
The output of the INAMP feeds an Analog to Digital 

Converter (ADC).  The ADC is a state of the art 14-bit successive 
approximation converter with a built-in sample and hold circuit.  
The sample and hold circuit goes into the hold mode when a 
conversion is initiated.  This maintains the selected channel’s 
voltage constant until the ADC has accurately digitized the input.  
Then, it returns to sample mode to acquire the next analog input 
signal.  Once a conversion has been completed, control logic on 
the module automatically and simultaneously serially reads the 
digitized values corresponding to the eight channels.  While the 
digitized values are read the inputs are in the acquire mode.  
Digital noise generated by reading the newly digitized values will 
not be present when the ADC transitions into the hold mode since 
the analog signals are allowed to settle for an interval after the 
digitized values are read.  This pipelined mode of operation 
facilitates a maximum system throughput with minimum system 
noise.  

 
The board contains two precision voltage references and a 

ground (autozero) reference for use in calibration.  A 2.5 volt 
reference is used by the ADC.  A 5 volt reference is used to 
provide accurate auto span voltage for offset and gain correction 
of the ADC and INAMP. 

 

LOGIC/POWER INTERFACE 

 

The logic interface to the carrier board is made through two 

64-pin connectors (refer to Table 2.2 and 2.3).  These connectors 
also p5V and 

12V power to the module.  Note that the 

signals in bold italic are not used. 

 
A Field Programmable Gate-Array (FPGA) installed on the 

PMC Module provides an interface to the carrier board per PMC 
Module draft specification P1386.1 and PCI Local Bus 
Specification 2.2.  The interface to the carrier/CPU board allows 
complete control of all PMC341 functions. 

 

PCI INTERFACE LOGIC 

 

The PCI bus interface logic is imbedded within the FPGA.  

This logic includes support for PCI commands, including: 
configuration read/write, and memory read/write.  In addition, the 
PCI target interface performs parity error detection, uses a single 
4K base address register, and implements target abort, retry, and 
disconnect.  The PMC341 logic also implements interrupt 
requests via interrupt line INTA#. 

 

Содержание PMC341 Series

Страница 1: ...cess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Dem...

Страница 2: ...put Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 295 0310 Fax 248 624 9234 Copyright 2004 Acromag Inc Printed in the USA Data and spec...

Страница 3: ...GIC 16 MULTIPLEXER CONTROL CIRCUITRY 16 DATA TRANSFER FROM ADC TO FPGA 16 CONVERSION COUNTER 16 MEMORY BUFFER SWITCH CONTROL 16 EXTERNAL TRIGGER 16 INTERRUPT CONTROL LOGIC 16 REFERENCE VOLTAGE MEMORY...

Страница 4: ...cycle conversion mode is initiated by a software or external trigger External Trigger Input or Output The external trigger is assigned to a field I O line This external trigger may be configured as an...

Страница 5: ...operating temperature The dense packing of the PMC module to the carrier CPU board restricts air flow within the card cage and is cause for concern Adequate air circulation must be provided to preven...

Страница 6: ...e PMC341 is non isolated since there is electrical continuity between the logic and field I O grounds As such the field I O connections are not isolated from the carrier CPU board and backplane Care s...

Страница 7: ...IDSEL 25 AD 23 26 3 3V 27 AD 20 28 AD 18 29 GND 30 AD 16 31 C BE 2 32 GND 33 PCI RSVD 34 TRDY 35 3 3V 36 GND 37 STOP 38 PERR 39 GND 40 3 3V 41 SERR 42 C BE 1 43 GND 44 AD 14 45 AD 13 46 GND 47 AD 10 4...

Страница 8: ...00 Subsystem Vendor ID 0000 12 Not Used 13 14 Reserved 15 Max_Lat Min_Gnt Inter Pin Inter Line MEMORY MAP This board is allocated a 4K byte block of memory that is addressable in the PCI bus memory sp...

Страница 9: ...f channels 8 15 10 Enable Continuous Conversion Mode Conversions are initiated by a software start convert or external trigger and continued by BIT FUNCTION internal hardware triggers generated at the...

Страница 10: ...Low Bank Timer value divides an 8 MHz clock signal The output of this Low Bank Timer is used to precisely generate periodic trigger pulses to control the frequency at which all enabled channels are c...

Страница 11: ...of the Interrupt register to a logic one The interrupt request can also be disabled by setting bit 0 to a logic zero however the interrupt request will remain active on the PMC341 until released via...

Страница 12: ...e or hardware reset has no affect on this register Reference Voltage Read Data Status Register Read 20H The Reference Voltage Read Data Status register is a read only register and is used to access th...

Страница 13: ...onversions of all enabled channels The interrupt capability of the module can be employed as a means to indicate to the system that up to 512 samples depending on the threshold selected via the Thresh...

Страница 14: ...and offset values of channels 0 through 7 The five volt reference Auto Span Calibration Voltage and the ground reference Auto Zero voltage will need to be selected and converted through each of the e...

Страница 15: ...he reference voltage must be read until the null terminating character 00 is read To read the most significant digit the Reference Voltage Access register must be written with data value 8000H at Base...

Страница 16: ...tiplexer as required per the programming of the control register Up to 16 differential inputs can be monitored The multiplexer stage directs one of two groups of eight channels for simultaneous conver...

Страница 17: ...tized data from the A D converters to the memory buffer Only the channels enabled for conversion are stored in memory and tagged for channel identification CONVERSION COUNTER The ADC conversion rate i...

Страница 18: ...PMC modules 5 0 SERVICE AND REPAIR SERVICE AND REPAIR ASSISTANCE The PMC341 is shipped pre calibrated by Acromag and may be returned at the discretion of the customer to measure the accuracy of the c...

Страница 19: ...o the enclosure port 1KV direct to I O and European Norm EN50082 1 Surge Immunity Not required for signal I O per European Norm EN50082 1 Electric Fast Transient Immunity3 EFT Complies with IEC1000 4...

Страница 20: ...2 to keep non ideal grounds from degrading overall system accuracy Input Noise PMC3417 1 LSB rms Typical Note 7 Reference Test Conditions Temperature 25 C 125K conversions second using test PC with a...

Страница 21: ...Attributes See Drawing 4501 758 Electrical Specifications 30 VAC per UL and CSA SCSI 2 connector spec s 1 Amp maximum at 50 energized SCSI 2 connector spec s Operating Temperature 20 C to 80 C Storag...

Страница 22: ...SERIES PMC341 PCI MEZZANINE CARD SIMULTANEOUS ANALOG INPUT MODULE ___________________________________________________________________________________________ 21...

Страница 23: ...CH0 CH8 INTERRUPT AMP INST REGISTERS REGISTER HIGH BANKTIMER LOW BANKTIMER LOGIC COMMON FPGA PCILOGIC J1 J2 PMC341 BLOCK DIAGRAM 8501 878A INPUT MUX DATA P1 PRECISION CALIBRATION VOLTAGES CONTROL LOGI...

Страница 24: ...N D E D FOR LOWE S T N OI S E S H I E LD I S C ON N E C TE D TO GR OU N D R E FE R E N C E A T ON E E N D ON LY TO P R OV I D E S H I E LD I N G WI TH OU T GR OU N D LOOP S C H 0 P MC 341 C A R R I E...

Страница 25: ...SERIES PMC341 PCI MEZZANINE CARD SIMULTANEOUS ANALOG INPUT MODULE ___________________________________________________________________________________________ 24...

Страница 26: ...SERIES PMC341 PCI MEZZANINE CARD SIMULTANEOUS ANALOG INPUT MODULE ___________________________________________________________________________________________ 25...

Страница 27: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Отзывы: