background image

          INDUSTRIAL I/O PACK SERIES APC8640                                                                                                            PCI BUS CARRIER BOARD 

_________________________________________________________________________________________________________________ 

- 11 - 

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.2 as an 
interrupting slave including 8-bit and 16-bit data transfers to the 
IP modules.

 

 32-bit IP data transfers will be treated as two 16-bit 

data transfers.   

 
Note the APC8640 requires that system 3.3 volts is 

present on the PCI bus 3.3V pins.

  There are some older 

systems that do not provide 3.3 Volts on the PCI bus 3.3 volt 
pins.  The APC8640 boards will not work in these systems. 

 
Note that the APC8640 board is not hot-swapable 
 
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: 

 

Identifying if memory space is enabled in the 

Carrier 

Identification Bits

 

Selecting either an 8MHz or 32MHz clock for each IP 
module in the 

Clock Control Register

 

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

 
IP Logic Interface 
 

The IP logic interface is also implemented in the logic of the 

carrier board’s FPGA.  The carrier board implements ANSI/VITA 
4 1995 Industrial I/O Pack logic interface specification and 
includes five IP logic interfaces.  The PCI bus address and data 
lines are linked to the address and data of the IP logic interface.  
This link is implemented and controlled by the carrier board’s 
FPGA. 

 
The PCI bus to IP logic interface link allows a PCI bus master 

to: 

 

Access up to 64 ID Space bytes for IP module identification 
via 8-bit or 16-bit data transfers using PCI bus.  

 

Access up to 128 I/O Space bytes of IP data via 8-bit or 16-
bit data transfers. 

 

Access up to 8M byes of Memory Space data via 8-bit or 16-
bit data transfers.   

 

Access IP module interrupt space via 8-bit or 16-bit PCI bus 
data transfers. 

 

Respond to two IP module interrupt requests per IP module. 

 
As per the ANSI/VITA 4 1995 Industrial I/O Pack logic interface 
specification only 4 IP modules may be running at 32MHz on the 
APC8640 to comply with bus loading requirements.   

 
When an IP module places data on the bus, for all data read 
cycles, any undriven data lines are read by the PCI bus as high 
because of pull-up resisters on the carrier board’s data bus. 
 

Carrier Board Clock Circuitry

  

 

A 32MHz clock, obtained from a multiplied 8MHz clock, is 

used to control the FPGA and the local bus.  Clocks are then 
driven to each IP module via a high speed transceiver to allow for 
a module independent selectable clock.  All clock lines include 
series damping resistors to reduce clock overshoot and 
undershoot.

 

 
PCI Interrupter 
 

Interrupts are initiated from an interrupting IP module.  

However, the carrier board will only pass an interrupt generated 
by an IP module to the PCI bus if the carrier board has been first 
enabled for interrupts.  Each IP module can initiate two interrupts 
which can be individually monitored on the carrier board.  After 
interrupts are enabled on the carrier board via the Interrupt 
Enable Bits (see section 3 for programming details), an IP 
generated interrupt is recognized by the carrier board and is 
recorded in the carrier board’s Interrupt Pending Register. 

 
A carrier board pending interrupt will cause the board to pass 

the interrupt to the PCI bus provided the Interrupt Enable bits of 
the carrier’s Status Register have been enabled (see section 3 for 
programming details).  The PC interrupt request line assigned by 
the system configuration software will then be asserted.  The 
PC/AT will respond to the asserted interrupt line by executing the 
interrupt service routine corresponding to the interrupt line 
asserted.  The interrupt service routine is executed only if the IRQ 
on the PC/AT’s 8259 interrupt controller has been previously 
unmasked (see 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 monitoring 
circuit which provides a reset to the IP modules when the 5 volt 
power drops below 4.38 volts typical / 4.31 volts minimum.  This 
circuitry is implemented per the Industrial I/O Pack specification. 

 
Power-On Reset 

       
  

The carrier board will provide an asynchronous reset signal to 

all IP modules for at least 200ms following power-up.  The IP 
reset signal will remain active until the FPGA is initialized.   

Summary of Contents for APC8640 Series

Page 1: ...rier Board USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 2010 Acromag Inc Printed in the USA Data and specifications are subject to change without notice 8500 875 A10B000 ...

Page 2: ...GRAM 15 4501 672 MECHANICAL ASSEMBLY DRAWING 16 4502 113 APC8640 BLOCK DIAGRAM 17 4502 119 CABLE NON SHIELDED 18 4502 120 CABLE SHIELDED 19 IMPORTANT SAFETY CONSIDERATIONS It is very important for the user to consider the possible adverse effects of power wiring component sensor or software failures in designing any type of control or monitoring system This is especially important where economic p...

Page 3: ...d and write accesses are implemented as either a 32 bit 16 bit or 8 bit single data transfer Immediate Disconnect on Read The PCI bus will immediately disconnect after a read The read data is then stored in a read FIFO Data in the read FIFO is then accessed by the PCI bus when the read cycle is retried This allows the PCI bus to be free for other system operations while the read data is moved to t...

Page 4: ...oard addresses are automatically assigned by the system auto configuration routine upon power up The base address of the carrier board s configuration registers in memory space and I O space is assigned In addition the base addresses of the IP modules and carrier board registers are assigned in 32 bit memory space Power should be removed from the board when changing jumper configurations or when i...

Page 5: ...gnal on the logic interface connector pin 46 The Strobe signal may be used as an optional input or output from the IP module On the APC8640 the Strobe signals for each of the five IP modules are routed to 0 Ohms resistors Contact Acromag for further information on using the Strobe signals PCI Bus Connections Table 2 2 indicates the pin assignments for the PCI bus signals at the card edge connector...

Page 6: ... Read Complete Time Register Data Transfer Time Carrier Registers Write 300ns Typical1 Carrier Register Read 250ns Typical1 8MHz IP Opertaion 8 and 16 bit IP Write 525ns Typical1 2 32 bit IP Write 900ns Typical1 2 8 and 16 bit IP Read 500ns Typical1 2 32 bit IP Read 850ns Typical1 2 32MHz IP Opertaion 8 and 16 bit IP Write 350ns Typical1 3 4 32 bit IP Write 550ns Typical1 3 5 8 and 16 bit IP Read ...

Page 7: ...iven initialization and configuration via the Configuration Address space This PCI carrier provides 256 bytes of configuration registers for this purpose The PCI carrier contains the configuration registers shown in Table 3 2 to facilitate Plug and Play compatibility The Configuration Registers are accessed via the Configuration Address and Data Ports The most important Configuration Registers are...

Page 8: ...e 3 3 APC8640 Carrier Board Memory Map PCIBar3 Hex High Byte D15 D08 Low Byte D07 D00 PCIBar3 Hex 0000001 07FFFFF IP A Memory Space 0000000 07FFFFE 0800001 0FFFFFF IP B Memory Space 0800000 0FFFFFE 1000001 17FFFFF IP C Memory Space 1000000 17FFFFE 1800001 1FFFFFF IP D Memory Space 1800000 1FFFFFE 2000001 27FFFFF IP E Memory Space 2000000 27FFFFE 2800001 3FFFFFF Not Used1 2800000 3FFFFFE Note Shade...

Page 9: ...This bit will be 1 when there is an active IP Module Error signal This bit will be 0 when all IP module Error signals are inactive This bit allows the user to monitor the Error signals of IP modules A through E The IP specification states that the error signals indicate a non recoverable error from the IP such as a component failure or hard wired configuration error Refer to your IP specific docum...

Page 10: ...he 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 ...

Page 11: ...pt space via 8 bit or 16 bit PCI bus data transfers Respond to two IP module interrupt requests per IP module As per the ANSI VITA 4 1995 Industrial I O Pack logic interface specification only 4 IP modules may be running at 32MHz on the APC8640 to comply with bus loading requirements When an IP module places data on the bus for all data read cycles any undriven data lines are read by the PCI bus a...

Page 12: ...ithout Memory support 0x00000000 Not used Write register data Read return inverse of registered data Reset Set to A APC8640 with Memory support Valid address Write register data Read return inverse of registered data Reset Set to B 5 0 SERVICE AND REPAIR SERVICE AND REPAIR ASSISTANCE Surface Mounted Technology SMT boards are generally difficult to repair It is highly recommended that a non functio...

Page 13: ...dd the IP module currents for the total current required from each supply 3 3 Volts 10 130mA Typical 200mA Maximum 5 Volts 5 30mA Typical 50mA Maximum 12 Volts 5 0mA Not Used 12 Volts 5 0mA Not Used PCI BUS COMPLIANCE Specification This device meets or exceeds all written PCI Local Bus specifications per revision 2 2 dated December 1998 Data Transfer Bus Slave with 32 bit 16 bit and 8 bit data tra...

Page 14: ... IP and interrupt acknowledge cycles via access to IP INT space ENVIRONMENTAL Operating Temperature 0 to 70 C Relative Humidity 5 95 non condensing Storage Temperature 55 to 125 C Non Isolated PCI bus and IP module logic commons have a direct electrical connection As such unless the IP module provides isolation between the logic and field side the field I O signals are not isolated from the PCI bu...

Page 15: ...FB 2 213 F3 IPA F1 F5 IPB F6 F4 F6 F1 F11 IPD F10 FD F13 0 150 F2 F4 F5 F3 F2 F12 12 283 IPE 0 190 4 200 FA M M 12V 1 AMP 5V 2 AMP 0 608 FC F14 F8 IPC IPE F13 F9 F7 F9 F10 FE 0 200 F15 F14 0 591 M 12V 1 AMP F15 F7 F8 F11 F12 IPC IPD FUSE IDENTIFICATION JUM PER SETTINGS 1 605 2 508 IPB IPA 4502 114 0 325 3 525 Minimum Current Rating ENABLE Memory Space APC8640LOCATIONDIAGRAM DISABLE Memory Space ...

Page 16: ... WITH IP MODULES THE SHORTER LENGTH IS FOR USE WITH APC8620 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 ITE...

Page 17: ...INDUSTRIAL I O PACK SERIES APC8640 PCI BUS CARRIER BOARD _________________________________________________________________________________________________________________ 17 4502 113 ...

Page 18: ...INDUSTRIAL I O PACK SERIES APC8640 PCI BUS CARRIER BOARD _________________________________________________________________________________________________________________ 18 4502 119 ...

Page 19: ...INDUSTRIAL I O PACK SERIES APC8640 PCI BUS CARRIER BOARD _________________________________________________________________________________________________________________ 19 4502 120 ...

Reviews: