background image

          INDUSTRIAL I/O PACK SERIES APC8640                                                                                                            PCI BUS CARRIER BOARD 

_________________________________________________________________________________________________________________ 

- 7 - 

 
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 registers to 

determine how many blocks of memory space the carrier 
requires.  It then programs the carrier’s configuration registers 
with the unique memory address range assigned. 

 
The configuration registers are also used to indicate that the 

PCI carrier requires an interrupt request line.  The system 
software then programs the configuration registers with the 
interrupt request line assigned to the PCI carrier.  

 
Since this PCI carrier is portable and not hardwired in 

address space, this carrier’s device drive provided by Acromag 
uses the mapping information stored in the carrier’s Configuration 
Space registers to determine where the carrier is mapped in 
memory space and which interrupt line will be used. 

 

Configuration Transactions 

 
The PCI bus is designed to recognize certain I/O accesses 

initiated by the host processor as a configuration access.  
Configuration uses two 32-bit I/O ports located at addresses 
0CF8 and 0CFC hex.  These two ports are: 

 

32-bit configuration address port, occupying I/O addresses 
0CF8 through 0CFB hex. 

 

32-bit configuration data port, occupying I/O addresses 
0CFC through 0CFF hex. 

 
Configuration space, shown in Table 3.1, is accessed by 

writing a 32-bit long-word into the configuration address port that 
specifies the PCI bus, the carrier board on the bus, and the 
configuration register on the carrier being accessed.  A read or 
write to the configuration data port will then cause the 
configuration address value to be translated to the requested 
configuration cycle on the PCI bus.  Accesses to the 
configuration data port determine the size of the access to the 
configuration register addressed and can be an 8, 16, or 32-bit 
operation. 

 
Any access to the Configuration address port that is not a 32-

bit access is treated like a normal computer I/O access.  Thus, 
computer I/O devices using 8 or 16-bit registers are not affected 
because they will be accessed as expected. 

 
Configuration Registers 

 

The PCI specification requires software driven 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 the Base Address Registers and the 
Interrupt Line Register, which must be read to determine the base 
address, assigned to the carrier and the interrupt request line that 
goes active on a carrier interrupt request. 

 
Table 3.1:  Configuration Address Port 

BIT FUNCTION 

31 

Enables accesses to Configuration Data to be 
translated to configuration cycles on the PCI bus. 

30-24 

Reserved, Return 0 when read. 

23-16 Bus 

Number 

Choose a specific PCI bus in the system.  Zero 
if only one PCI bus. 

15-11 Device 

Number 

Choose a specific device/PCI board on the 
bus.   

10-8 Function 

Number 

Choose a specific function in a device.  
Function number is zero for the APC8640  

7-2 Register 

Number 

Used to indicate which PCI Configuration 
Register to access.  The Configuration 
Registers and their corresponding register 
numbers are given in Table 3.2.  

1-0 

Read Only bits that return 0. 

  

Table 3.2: Configuration Registers

 

Reg. 
Num. 

D31      
D24 

D23      
D16 

D15        
D8 

D7          
D0 

Device ID=1024 

Vendor ID= 10B5 

Status Command 

Class Code 

Rev ID 

BIST Header 

Latency Cache 

Base Addr. Memory Mapped Configuration Registers 

Base Address for I/O Mapped Configuration Registers 

PCIBar2:

 Base Address for Carrier/IO/ID/INT Space  

PCIBar3:

 Base Address for Memory Space 

8:10 

Not Used 

11 

Subsystem ID 

Subsystem Vendor ID 

12 

Not Used 

13 

Reserved 

14 

Reserved 

15 

Max_Lat 

Min_Gnt 

Inter. Pin 

Inter. Line 

1. Optional address space that is enabled/disabled via a jumper 
prior to power-up.  

 
MEMORY MAP 

 

This board consumes a 1K byte block and an optional 64M 

byte block that is enabled via configuration jumper prior to power-
up.   The 1K byte block of memory consumed by the board is 
composed of blocks of memory for the ID, I/O and INT spaces 
corresponding to five IP modules.  In addition, a small portion of 
the 1K byte address space contains registers specific to the 
function of the carrier board.  The 64M byte block of memory is 
composed of the Memory Space for up to five IP modules.   

 
The carrier is configured to map this 1K byte and 64M byte 

block of memory into 32-bit memory space.  The system 
configuration software will allocate space by writing the assigned 
addresses into the corresponding Base Address registers of the 
Configuration Registers.  The memory map for APC8640 is 
shown in Tables 3.3. 

 
 
 

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: