![background image](http://html1.mh-extra.com/html/acromag/apc8620-series/apc8620-series_user-manual_2841120007.webp)
INDUSTRIAL I/O PACK SERIES APC8620/8621 PCI BUS CARRIER BOARD
___________________________________________________________________________________________
- 6 -
TABLE 2.3: APC8620/8621 Write and Read Complete Time
Register
Data Transfer Time
Carrier Registers Write
650nS, Typical
1
8 and 16-bit IP Write
750nS, Typical
1,2
32-bit IP Write
1250nS, Typical
1,3
Carrier Register Read
500nS, Typical
1
8 and 16-bit IP Read
650nS, Typical
1,2
32-bit IP Read
1100nS, Typical
1,3
Notes (Table 2.3):
1. The data transfer times given in table 2.3 are measured from
the falling edge of FRAME# to the falling edge of LRDYi#.
The PCI bus starts a data transfer cycle by driving FRAME#
low. The APC8620/8621 signals the completion of a read or
write cycle by driving LRDYi# low.
2. This access time assumes zero IP module wait states. For
each IP module wait state 125n seconds must be added to
this value.
3. This access time assumes zero IP module wait states. For
each IP module wait state 250n seconds must be added to
this value.
FIELD GROUNDING CONSIDERATIONS
Carrier boards are designed with passive filters on each
supply line to each IP module. This provides maximum filtering
and signal decoupling between the IP modules and the carrier
board. However, the boards are considered non-isolated, since
there is electrical continuity between the PCI bus and the IP
grounds. Therefore, unless isolation is provided on the IP
module itself, the field I/O connections are not isolated from the
PCI bus. Care should be taken in designing installations without
isolation to avoid ground loops and noise pickup. This is
particularly important for analog I/O applications when a high
level of accuracy/resolution is needed (12-bits or more). Contact
your Acromag representative for information on our many isolated
signal conditioning products that could be used to interface to the
IP input/output modules.
3.0 PROGRAMMING INFORMATION
This Section provides the specific information necessary to
program and operate the APC8620/8621 non-intelligent carrier
board.
This Acromag APC8620/8621 is a PCI Specification version
2.1 compliant PCI bus slave carrier board. The carrier connects
a PCI host bus to the IP module’s 16-bit data bus per the
Industrial I/O Pack logic interface specification on the mezzanine
(IP) boards which are installed on the carrier.
The PCI bus is defined to address three distinct address
spaces: I/O, memory, and configuration space. The IP modules
can be accessed via the PCI bus memory space only.
The PCI card’s configuration registers are initialized by
system software at power-up to configure the card. The PCI
carrier is a Plug-and-Play PCI card. As a Plug-and-Play card the
board’s base address and system interrupt request line are not
selected via jumpers but are assigned by system software upon
power-up via the configuration 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 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 relocatable 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 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.
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 APC8620/8621
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.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com