Chapter
3 Programming
Static DIO Register-Level Programmer Manual
3-2
ni.com
Initializing the PCI Bus
The PCI Bus is a high performance, 32-bit bus with multiplexed address and data lines. This
system arbitrates and assigns resources through software, freeing you from manually setting
switches and jumpers.
The PCI Bus moves data for the NI 6509/651
x
/6520/6521/6528 devices. Configure the
bus-related resources before you execute a register-level program. To do this, you need to
assign a base address and optionally assign an interrupt channel to your
NI 6509/651
x
/6520/6521/6528 device as shown here and in the following section.
For proper operation, configure the PCI MITE ASIC as described in this section. The
references made to PCI BIOS
1
calls are left for you to implement.
First, write an algorithm that finds and stores configuration information about the device.
You can do this by using PCI BIOS calls to search PCI configuration space for the National
Instruments vendor ID (0x1093) and one of the device IDs listed in Table 3-1.
1
You can obtain more information on PCI BIOS calls from the PCI SIG online at
www.pcisig.com
.
Table 3-1.
Static DIO Devices and IDs
Device
ID
Description
PCI-6509
0x7085
96 Channel, 5 V, TTL/CMOS Digital I/O
PCI-6510
0x7124
32 Input, 30 V, Bank-Isolated Digital Input
PCI-6511
0x70C3
64 Input, 30 V, Bank-Isolated Digital Input
PCI-6512
0x70CC
64 Source Output, 30 V, Bank-Isolated Digital Output
PCI-6513
0x70C8
64 Sink Output, 30 V, Bank-Isolated Digital Output
PCI-6514
0x7088
32 Input, 32 Source Output, 30 V, Bank-Isolated Digital I/O
PCI-6515
0x7087
32 Input, 32 Sink Output, 30 V, Bank-Isolated Digital I/O
PCI-6516
0x7125
32 Source Output, 30 V, Bank-Isolated Digital Output
PCI-6517
0x7126
32 Sink Output, 30 V, Bank-Isolated Digital Output
PCI-6518
0x7127
16 Input, 16 Source Output, 30 V, Bank-Isolated Digital I/O
PCI-6519
0x7128
16 Input, 16 Sink Output, 30 V, Bank-Isolated Digital I/O
PCI-6520
0x71C5
8 Input, 8 Source Output, 60 V, Ch-Ch Isolated Digital I/O
PCI-6521
0x718B
8 Input, 8 Sink Output, 60 V, Ch-Ch Isolated Digital I/O
Содержание PCI-6528
Страница 1: ...PCI 6528...