background image

DIO24, User Manual 

4. Registers 

This section gives a description of the DIO24 register map and all DIO24 registers. The GSC specific registers are 
covered in detail. The PLX PCI9080 registers are covered is less detail. The full DIO24 register map consists of PCI 
specific registers, internal PLX PCI9080 registers and GSC specific registers. In the paragraphs that follow offsets 
are given in bytes and register sizes are given in bits. Register access types are “RO” for read-only, “RW” for 
read/write, “WO” for write-only, and “W1” for write-once. If the access is given as “*” it means that the access 
details are given with the register’s description. 

4.1. PCI Configuration Registers 

The PCI Configuration Registers are built into the DIO24’s PCI interface chip, which is the PLX PCI9080. This set 
of registers is governed by the PCI bus specification. Access to these registers is via PCI bus cycles and is beyond 
the scope of document. Read the details of these registers before using them. The PCI registers are described in 
section 5.1. 

4.2. PLX PCI9080 Internal Registers 

These registers are provided as a part of the feature set for this PCI interface chip. The chip is hardwired so that PCI 
registers PCIBAR0 and PCIBAR1 identify where these internal registers are located. These registers are set during 
the system’s PCI enumeration and initialization process. The registers occupy a block of 256 contiguous bytes, 
accessible as bytes, words or long words. PCIBAR0 gives the block’s base address in memory space. PCIBAR1 
gives the block’s base address in I/O space. Read the details of these registers before using them. The PCI9080 
internal registers are described beginning in section 5.2. 

4.3. GSC Specific Registers 

These registers are provided as a part of the feature set for the DIO24. The location and size of the GSC specific 
register block is determined by accessing PCI registers PCIBAR2. The address is generally determined by the BIOS 
during the boot up process. The size of the block is specified by the DIO24 as 5

1

2 bytes. PCIBAR2 is configured to 

give the base address in memory space. The following gives details of the GSC specific registers. All offsets are 
given relative to the register block’s base address.  

Table 5

 Register map of the GSC specific registers.

 

Offset Size Access Register 

Name 

0x00 

32 

RO 

Firmware Revision Register (FRR) 

0x04 

32 

RW 

Board Control Register (BCR) 

0x08 

32 

RO 

Board Status Register (BSR) 

0x60 

32 

RW 

I/O Control Register (IOCR) 

0x64 

32 

RW 

Discrete Data Output Register (DDOR) 

0x68 32  RO Discrete 

Data Input Register (DDIR) 

* All other locations within the register block are reserved. 

4.3.1. Firmware Revision Register (FRR, 0x00, 32, RO) 

This register gives revision and type information for the board and the firmware. 

Bit 

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 

Field 

 

 

 

 

 

 

 

 

SID 

Default 

1 0 0 0 0 0 0 0 

0x0B 

 

16 

General Standards Corporation, Phone: (256) 880-8787

 

 

Содержание PCI-DIO24PMC-DIO24PCI-DIO24-GD1

Страница 1: ...Manual Manual Revision June 12 2002 General Standards Corporation 8302A Whitesburg Drive Huntsville AL 35802 Phone 256 880 8787 Fax 256 880 8788 URL www generalstandards com E mail sales generalstand...

Страница 2: ...DIO24 User Manual 2 General Standards Corporation Phone 256 880 8787...

Страница 3: ...sume any liability arising out of the application or use of any product or circuit described herein nor is any license conveyed under any patent rights or any rights of others General Standards Corpor...

Страница 4: ...1 FPGA EPROM U42 13 2 4 2 Termination Resistors RP1 RP7 13 2 5 Cables 14 2 5 1 Loop Back Test Cable 14 3 Operation 15 3 1 Identification 15 3 2 Reset 15 3 3 I O Programming 15 3 4 I O Reads and Writes...

Страница 5: ...CI Subsystem Device Vendor ID Register 23 5 1 13 PCI Interrupt Line Register 23 5 1 14 PCI Interrupt Pin Register 23 5 1 15 PCI Min_Gnt Register 24 5 1 16 PCI Max_Lat Register 24 5 2 Local Configurati...

Страница 6: ...0 Table 2 Register level identification of the PCI DIO24 GD1 11 Table 3 External I O connector P1 pins and descriptions 11 Table 4 Register level identification of the DIO24 15 Table 5 Register map of...

Страница 7: ...e external I O interface is variable see below The external interface includes 24 pins that can be arbitrarily programmed as either input or output and one pin that is input only The 24 programmable p...

Страница 8: ...with your specifications to inquire about a custom application 1 7 Reference Material The following reference material may be of particular benefit in using the DIO24 The specifications provide the i...

Страница 9: ...DIO24 User Manual GLOBAL ENGINEERING DOCUMENTS 15 Inverness Way East Englewood CO 80112 Phone 800 854 7179 http global ihs com 9 General Standards Corporation Phone 256 880 8787...

Страница 10: ...odel number includes RS485 transceivers The transceivers are the 25 small gray outlined squares in Figure 2 running down the center of the board If the transceivers have four unpopulated solder pads t...

Страница 11: ...ologies PCISID 0x2400 This identifies the board as a member of the HPDI32 product series FRR 0xXX0BXXXX The value in the third byte identifies this as a DIO24 2 2 Connectors 2 2 1 External I O Connect...

Страница 12: ...D1 45 PORT C D6 21 PORT B D2 46 PORT C D6 22 PORT B D2 47 PORT C D7 23 PORT B D3 48 PORT C D7 24 PORT B D3 49 Dedicated INPUT Clk Out 25 PORT B D4 50 Dedicated INPUT Clk Out 2 3 Jumpers 2 3 1 Jumper B...

Страница 13: ...the jumper is removed the bit returns a zero 0 In the default factory configuration this jumper is installed One potential use of the jumper is to aid in distinguishing individual boards when multipl...

Страница 14: ...unctionality of both the DIO24 and the corresponding device driver On this cable all three ports are wired in parallel such that all Port A pins are wired directly to the same identical pins for both...

Страница 15: ...the given register write cycle A reset programs all I O pins as inputs and programs the data output latches to zero 3 3 I O Programming The I O pins are programmed via the I O Control Register One bit...

Страница 16: ...tion process The registers occupy a block of 256 contiguous bytes accessible as bytes words or long words PCIBAR0 gives the block s base address in memory space PCIBAR1 gives the block s base address...

Страница 17: ...set Writing a one here resets the board The IOCR and DDOR are programmed to zero The bit clears itself The operation is completed within a single PCI bus access cycle Writing a zero has no affect 4 3...

Страница 18: ...PC0 Port C Pin 0 This controls the direction of Port C bit 0 1 PB Port B This controls the direction of all eight Port B bits 0 PA Port A This controls the direction of all eight Port A bits 4 3 5 Di...

Страница 19: ...Field Description 31 24 Reserved 24 DI Dedicated Input This is the input value for the state of the Dedicated Input pin 23 16 PORTC Port C This is the input value for the state of the Port C pins 15 8...

Страница 20: ...ST Unused Header Type Latency Timer Cache Line Size 0x00002008 0x10 0x10 Y PCI Base Addr 0 for Memory Mapped Local Runtime DMA Registers PCIBAR0 0x00000000 0x14 0x14 Y PCI Base Addr 1 for I O Mapped L...

Страница 21: ...elf or observed PERR asserted 2 PCI9080 was bus master for the operation in which the error occurred 3 Parity Error Response bit in the Command Register is set Writing a 1 to this bit clears the bit D...

Страница 22: ...of PCI bus clocks the amount of time the PCI9080 as a bus master can burst data on the PCI bus 5 1 8 PCI Header Type Register Offset 0x0E Reset 0x00 D6 0 Configuration Layout Type 0 D7 Header Type 0 5...

Страница 23: ...y address space Specified in Local Address Space 0 Range Register LAS0RR D3 Prefetchable A 0 indicates reads are not prefetchable Specified in Local Address Space 0 Range Register LAS0RR D31 4 Memory...

Страница 24: ...F000 0x04 0x84 Y Local Base Address Remap for PCI to Local Address Space 0 Unused 0x00000000 0x08 0x88 Y Mode Arbitration Register 0x00000000 0x0C 0x8C Y Big Little Endian Descriptor 0x00000000 0x10 0...

Страница 25: ...ority 01 Channel 2 priority 10 Channel 1 priority 11 Reserved D21 Local bus direct slave give up bus mode A value of 1 indicates local bus will be released when PCI9080 write FIFO empty or read FIFO f...

Страница 26: ...4 Y Mailbox Register 1 Unused 0x00000000 0x48 0xC8 Y Mailbox Register 2 Unused 0x00000000 0x4C 0xCC Y Mailbox Register 3 Unused 0x00000000 0x50 0xD0 Y Mailbox Register 4 Unused 0x00000000 0x54 0xD4 Y...

Страница 27: ...s to a Target D31 28 PCI Mailbox 3 0 Write Status 5 3 2 Serial EEPROM Control PCI Command Codes User I O Control Init Control Register PCI 0x6C Reset 0x0x001767E D3 0 PCI Read Command Code for DMA D7...

Страница 28: ...r Manual 5 4 DMA Registers The DMA Registers are not used on the DIO24 5 5 Messaging Queue Registers The Messaging Queue Registers are not used on the DIO24 28 General Standards Corporation Phone 256...

Страница 29: ...3 2001 Initial Release December 11 2001 Added Plug and Play information February 13 2002 Added system resource and loop back cable information October 23 2002 Added information about the new subsystem...

Отзывы: