Omega Speaker Systems PCI-DAS1002, PCI-DAS1001 manual BADR0, BADR1, Interrupt / ADC Fifo Register

Models: PCI-DAS1001 PCI-DAS1002

1 39
Download 39 pages 40.42 Kb
Page 20
Image 20

7.0 PCI-DAS1000 REGISTER DESCRIPTION

7.1 REGISTER OVERVIEW

PCI-DAS1000 operation registers are mapped into I/O address space. Unlike ISA bus designs, this board has several base addresses each corresponding to a reserved block of addresses in I/O space. As we mention in our programming chapter, we highly recommend customers use the Universal Library package. Direct register level programming should be attempted only by extremely experienced register level programmers.

Of six Base Address Regions (BADR) available in the PCI 2.1 specification, five are implemented in this design and are summarized as follows:

I/O Region

Function

Operations

 

 

 

BADR0

PCI Controller Operation Registers

32-Bit DWORD

 

 

 

BADR1

General Control/Status Registers

16-Bit WORD

 

 

 

BADR2

ADC Data, FIFO Clear Registers

16-Bit WORD

 

 

 

BADR3

Pacer, Counter/Timer and DIO Registers

8-Bit BYTE

 

 

 

BADR4

DAC Data Registers

16-Bit WORD

 

 

 

 

 

 

BADRn will likely be different on different machines. Assigned by the PCI BIOS, these Base Address values cannot be guaranteed to be the same even on subsequent power-on cycles of the same machine. All software must interrogate BADR0 at run-time with a READ_CONFIGURATION_WORD instruction to determine the BADRn values. Please see the "1997 AMCC S5933 PCI Controller Data Book" for more information.

7.2 BADR0

BADR0 is reserved for the AMCC S5933 PCI Controller operations. There is no reason to access this region of I/O space for most PCI-DAS1000 users. The installation procedures and Universal Library access all required information in this area. Unless you are writing direct register level software for the PCI-DAS1000, you will not need to be concerned with BADR0 address.

7.3 BADR1

The I/O region defined by BADR1 contains 5 control and status registers for ADC, DAC, interrupt and Autocal operations.

This region supports 16-bit WORD operations.

7.3.1 INTERRUPT / ADC FIFO REGISTER

BADR1+ 0: Interrupt Control, ADC status. A read/write register.

WRITE

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

-

ADFLCL

-

-

-

-

-

INTCL

EOACL

-

EOAIE

-

INTE

INT1

INT0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write operations to this register allow the user to select interrupt sources, enable interrupts, clear interrupts as well as ADC

FIFO flags. The following is a description of the Interrupt/ADC FIFO Register:

17

Page 20
Image 20
Omega Speaker Systems PCI-DAS1002, PCI-DAS1001 BADR0, BADR1, Interrupt / ADC Fifo Register, Region Function Operations