background image

INDUSTRIAL I/O PACK SERIES APC8620/8621                                                          PCI BUS CARRIER BOARD
___________________________________________________________________________________________

- 9 -

IP Module I/O Space - (Read/Write Only, 256-Byte Addresses)

The I/O space on each IP module is fixed at 128, 16-bit

words (256 bytes).  The five (three for APC8621) IP module I/O
spaces are accessible at fixed offsets for the APC8620/8621’s
Base Address.  IP modules may not fully decode their I/O space
and may use byte or word only accesses.  See each IP module’s
User Manual for details.

GENERATING INTERRUPTS

Interrupt requests originate from the carrier board in the case

of an access time out and from the IP modules.  Each IP may
support 0, 1, or 2 interrupt requests.  Upon an IP module interrupt
request the carrier passes the interrupt request onto the host,
provided that the carrier board is enabled for interrupts within the
Carrier Board Status Register.

Sequence of Events For an Interrupt

1.   Clear the interrupt enable bits in the Carrier Board Status

Register by writing a "0"  to bit 2/bit 3.

2.   Write interrupt vector to the location specified on the IP and

perform any other IP specific configuration required - do for
each supported IP interrupt request.

3.   Determine the IRQ line assigned to the carrier during

system configuration (within the configuration register).

4.   Set up the PC/AT’s interrupt vector for the appropriate

interrupt.

5.   Unmask the IRQ on the PC/AT’s 8259 interrupt controller.
6.   The IP asserts an interrupt request to the carrier board

(asserts interrupt request line IntReq0* or IntReq1*).

7.   The carrier drives PCI bus interrupt request signal INTA#

active.

8.   PC/AT’s drives the IRQ line assigned to the active carrier.
9.   The interrupt service routine pointed to by the vector set up

in step 4 starts.

10.   Interrupt service routine determines which IP module caused

the interrupt by reading the carrier interrupt pending register.
If multiple interrupts are pending the interrupt service routine
software determines which IP module to service first.  In a
PC interrupts are shared and can be from any slot on the
backplane or from the mother board itself.  The driver must
first check that the interrupt came from the PCI carrier by
reading the carrier interrupt pending register.

11.   The interrupt service routine accesses the interrupt space of

the IP module selected to be serviced.  Note that the
interrupt space accessed must correspond to the interrupt
request signal driven by the IP module.

12.   The carrier board will assert the INTSEL* signal to the

appropriate IP together with (carrier board generated)
address bit A1 to select which interrupt request is being
processed (A1 low corresponds to INTREQ0*; A1 high
corresponds to INTREQ1*).

13.   The IP module receives an active INTSEL* signal from the

carrier and supplies its interrupt vector to the host system
during this interrupt acknowledge cycle.  An IP module
designed to release its interrupt request on acknowledge will
release its interrupt request upon receiving an active
INTSEL* signal from the carrier.  If the IP module is
designed to release it’s interrupt request on register access
the interrupt service routine must access the required
register to clear the interrupt request.

14.   Write “End-Of-Interrupt” command to PC/AT’s 8259.
15.   If the IP interrupt stimulus has been removed and no other

IP modules have interrupts pending, the interrupt cycle is
completed (i.e. the carrier board negates its interrupt request
INTA#).

4.0  THEORY OF OPERATION

This section describes the basic functionality of the circuitry

used on the carrier board.  Refer to the Block Diagram shown in
the Drawing 4501-673 as you review this material.

CARRIER BOARD OVERVIEW

The carrier board is a PCI bus slave/target board providing up

to five (three for APC8621) industry standard IP module
interfaces.  The carrier board’s PCI bus interface allows an
intelligent single board computer (PCI bus Master) to control and
communicate with IP modules that are present on the PCI bus
carrier.  IP module field I/O connections link to the field I/O
connections of the carrier which in turn are used to connect field
electronic hardware to the carrier board via ribbon cable.

The PCI bus and IP module logic commons have a direct

electrical connection (i.e., they are not electrically isolated).
However, the field I/O connections can be isolated from the PCI
bus if an IP module that provides this isolation (between the logic
and field side) is utilized.  A wide variety of IP modules are
currently available (from Acromag and other vendors) that allow
interface to many external devices for digital I/O, analog I/O, and
communication applications.

PCI Bus Interface

The carrier board’s PCI bus interface is used to program and

monitor carrier board registers for configuration and control of the
board’s documented modes of operation (see section 3).  In
addition, the PCI bus interface is also used to communicate with
and control external devices that are connected to an IP module’s
field I/O signals (assuming an IP module is present on the carrier
board).

The PCI bus interface is implemented in the logic of the

carrier board’s PCI bus target interface chip.  The PCI bus
interface chip implements PCI specification version 2.1 as an
interrupting slave including 8-bit and 16-bit data transfers to the
IP modules.

The carrier board’s PCI bus data transfer rates are shown in

Table 2.3.

Carrier Board Registers

The carrier board registers (presented in section 3) are

implemented in the logic of the carrier board’s FPGA.  An outline
of the functions provided by the carrier board registers includes:

 

Monitoring the error signal received from each IP module is
possible via the IP Error Bit.

 

Enabling of PCI bus interrupt requests from each IP module
is possible via the IP Module Interrupt Enable Bit.

 

Enabling of interrupt generation upon an IP module access
time out is implemented via the Time Out Interrupt Enable
Bit.

 

Monitoring an IP module access time out is possible via the
IP Module Access Time Out Status Bit.

 

Identify pending interrupts via the carrier’s IP Module
Interrupt Pending
 Bit.

 

Lastly, pending interrupts can be individually monitored via
the IP Module Interrupt Pending register.

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for APC8620 Series

Page 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 Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respect...

Page 2: ...D 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 2000 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 576 E01B010 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...501 671 APC8620 IP LOCATIONS 13 4501 676 APC8621 IP LOCATIONS 14 4501 672 MECHANICAL ASSEMBLY DRAWING 15 4501 673 APC8620 8621 BLOCK DIAGRAM 16 4501 462 CABLE 5025 550 NON SHIELDED 17 4501 463 CABLE 5025 551 SHIELDED 18 4501 464 TERMINATION PANEL 5025 552 19 IMPORTANT SAFETY CONSIDERATIONS It is very important for the user to consider the possible adverse effects of power wiring component sensor o...

Page 4: ...the read cycle is retried This allows the PCI bus to be free for other system operations while the read data is moved to the read FIFO Interrupt Support PCI bus INTA interrupt request is supported All IP module interrupts are mapped to INTA Carrier board software programmable registers are utilized as interrupt request control and status monitors SIGNAL INTERFACE PRODUCTS See Appendix for more inf...

Page 5: ...ield I O Connectors IP modules A through E Field I O connections are made via 50 pin ribbon cable connectors A B C D and E A B and C for APC8621 for IP modules in positions A through E A through C for APC8621 IP module assignment is marked on the board for easy identification see IP location drawing 4501 671 or 4501 676 for physical locations of the IP modules Flat cable assemblies and Acromag ter...

Page 6: ...Signal 12V B01 A01 TRST TCK B02 A02 12V Ground B03 A03 TMS TDO B04 A04 TDI 5V B05 A05 5V 5V B06 A06 INTA INTB B07 A07 INTC INTD B08 A08 5V PRSNT1 B09 A09 Reserved Reserved B10 A10 5V PRSNT2 B11 A11 Reserved Signal Pin Pin Signal Ground B12 A12 Ground Ground B13 A13 Ground Reserved B14 A14 Reserved Ground B15 A15 RST CLK B16 A16 5V Ground B17 A17 GNT REQ B18 A18 Ground 5V B19 A19 Reserved AD 31 B20...

Page 7: ...on registers A PCI bus configuration access is used to access a PCI card s configuration registers PCI Configuration Address Space When the computer is first powered up the computer s system configuration software scans the PCI bus to determine what PCI devices are present The software also determines the configuration requirements of the PCI card The system software accesses the configuration reg...

Page 8: ... in Tables 3 3 Table 3 3 APC8620 8621 Carrier Bd Memory Map Base Address Hex High Byte D15 D08 Low Byte D07 D00 Base Address Hex 0001 Bit 8 Software Reset Carrier Board Status Control 0000 0003 IP Interrupt Pending Register 0002 0005 IP A Interrupt 0 Select Space 0004 0007 IP A Interrupt 1 Select Space 0006 0009 IP B Interrupt 0 Select Space 0008 000B IP B Interrupt 1 Select Space 000A 000D IP C I...

Page 9: ...ror Refer to your IP specific documentation to see if the error signal is supported and what it indicates Reset condition Set to 0 IP Interrupt Pending Register Read Base 02H The IP Interrupt Pending Register is used to individually identify pending IP interrupts or a pending carrier generated interrupt as a result of IP module time out access If multiple IP interrupts are pending software must de...

Page 10: ...e IP module is designed to release it s interrupt request on register access the interrupt service routine must access the required register to clear the interrupt request 14 Write End Of Interrupt command to PC AT s 8259 15 If the IP interrupt stimulus has been removed and no other IP modules have interrupts pending the interrupt cycle is completed i e the carrier board negates its interrupt requ...

Page 11: ...ee section 3 for programming details The interrupt service routine should respond to an interrupt by accessing IP Interrupt Select INTSEL space The interrupt service routine should also conclude the interrupt routine by writing the End Of Interrupt command to the PC AT s 8259 interrupt controller see section 3 for more details Power Failure Monitor The carrier board contains a 5 volts undervoltage...

Page 12: ... measured from falling edge of FRAME to the falling edge of TRDY PCI bus Read Cycle Time 150nS Typical The carrier issues a RETRY which frees the PCI bus while the read request is completed The PCI bus will repeat the same read request until it completes with the requested data Write Complete Time Time from FRAME active until LRDYi active 650nS Typical carrier register 750nS Typical 8 bit and 16 b...

Page 13: ... and Physical Attributes For Non Shielded cable model see Drawing 4501 462 For Shielded cable model see Drawing 4501 463 Shipping Weight 1 0 pound 0 5Kg packed CABLE MODEL 5029 943 Type Model 5029 943 IP500 Communication Cable A five foot long flat 50 pin cable with a female connector on one end for connection to carrier board and four DE 9P connectors serial ports on the other end Application Use...

Page 14: ... APC8620 IP LOCATIONS C F7 F11 F9 F8 IPC F10 F12 D E F13 F15 IPD B A 4 200 3 362 IPA F2 F1 F3 F6 F5 IPB F4 2 508 0 608 0 190 0 591 1 605 0 295 F14 3 525 IPE 0 200 0 150 0 325 4501 671B FUSES 5V 2 AMP 12V 1 AMP 12V 1 AMP F3 5 8 11 14 F2 4 7 12 15 F1 6 9 10 13 12 283 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 15: ...__________________________________ 14 APC8621 IP LOCATIONS F4 F8 F5 F1 F3 F9 IPC F2 F6 F7 C FUSES F1 2 3 F4 6 8 F5 7 9 5V 2 AMP 12V 1 AMP 12V 1 AMP 0 325 0 608 3 362 4 200 A B IPA IPB 2 508 1 605 0 591 0 295 0 190 6 600 4501 676A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 16: ...C8620 CARRIER BOARD SHOWN 2 INSERT FLAT HEAD SCREWS ITEM A THROUGH SOLDER SIDE OF IP MODULE AND INTO HEX SPACERS ITEM B AND TIGHTEN 4 PLACES UNTIL HEX SPACER IS COMPLETELY SEATED M2 x 6 FLAT HEAD SCREW THREADED M2 3 CAREFULLY ALIGN IP MODULE TO CARRIER BOARD AND PRESS TOGETHER UNTIL CONNECTORS AND SPACERS ARE SEATED 4 INSERT PAN HEAD SCREWS ITEM C THROUGH SOLDER SIDE OF CARRIER BOARD AND INTO HEX ...

Page 17: ...PC8620 8621 PCI BUS CARRIER BOARD ___________________________________________________________________________________________ 16 4501 673B Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 18: ...PC8620 8621 PCI BUS CARRIER BOARD ___________________________________________________________________________________________ 17 4501 462A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 19: ...PC8620 8621 PCI BUS CARRIER BOARD ___________________________________________________________________________________________ 18 4501 463A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 20: ...PC8620 8621 PCI BUS CARRIER BOARD ___________________________________________________________________________________________ 19 4501 464A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 21: ...quipment 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 documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: