• Transforms ordinary stereo applications to quadraphonic
• Non-3D games become immersive quad 3D
games
• Enhanced DVD movie playback
• True quadraphonic music playback from CD's,
music DVD's and MP3 players
• Effective with both stereo and Dolby Pro-LogicTM
encoded material
• QSound Environmental ModelingTM
• SoundBlaster ProTM Compatibility
• PC/PCI, DDMA and LAMTM PCI DMA support
• FM, MIDI stereo and MIDI quad music in Real
Mode DOS
• Supports low cost AC97 1.0 and serial stereo DAC
output
• Dual gameport accelerator with legacy and digital
joystick modes
• Integrated 16650 UART for Modem or other serial
port applications
• Windows
NT 5.0 (WDM) Drivers
• 0.35u TLM manufacturing technology
• 3.3v operation with 5v tolerant I/O
(R)
95, Windows
(R)
98, and Windows
GENERAL DESCRIPTION
The SAA7780 ThunderBird Q3DTM is a high-performance PCI audio accelerator targeting PC gaming
and music applications. Developed by QSound Labs
and Philips Semiconductors, it combines the most
compelling 3D, quadraphonic and music synthesis
technologies available with the powerful yet cost
effective ActiMediaTM DSP architecture. Full H/W
acceleration of DirectSoundTM, 3D audio, music synthesis, and gameport functions guarantees exceptional system performance. QSound's new Q3DTM
algorithms not only render exceptional 3D soundscapes for 3D applications but add a new dimension
to stereo applications using their unique stereo-to-3D
and stereo-to-quad remapping capabilities. Three
available PCI DMA modes assure full SoundBlaster
ProTM compatibility on most platforms without additional hardware. The Intel AC97 architecture provides high audio quality using a low cost AC97
codec.
Non-Operating Core and Ring Supply VoltageVDD, VDDIC-0.5V to 4.6V *
Operating Core Supply VoltageVDDIC-0.5V to 3.63V *
Operating Ring Supply VoltageVDD3.0V to 3.63V *
5V Tolerant Supply (5.0V nominal supply)NWELL-0.5V to 5.5V *
NWELL to VDD DifferentialNWELL-VDD0 ≤ (NWELL-VDD) < 4.0V
0°C to +70°C
-65°C to +150°C
25-90019
3V Tolerant I/O DC Input VoltageV
3V Tolerant I/O DC Output VoltageV
5V Tolerant I/O DC Input VoltageV
5V Tolerant I/O DC Output VoltageV
DC Input Current (at VI < 0V or VI > VDD)I
DC Output Current (at VO < 0V or VO > VDD)I
Power DissipationP
I3
O3
I5
O5
I
O
D
-0.5V to VDD+0.5V (≤ 4.6V max)+
-0.5V to VDD+0.5V (≤ 4.6V max)+
-0.5V to 5.5V (≤ 6.0V max)+
-0.5V to VDD+0.5V (≤ 4.6V max)+
± 20mA
± 20mA
500mW
*Refer to Section 3.1 to ensure proper power supply sequencing as well as voltage ranges.
+Items in parenthesis are non-operating conditions.
The ThunderBird PCI
functions are performed on the ActiMediaTM DSP which frees the host CPU to perform other tasks, boosting graphic
frame rates and raising system benchmark performance.
TM
products are true hardware accelerators. Positional 3D, music synthesis and SoundBlasterTM
High Concurrency
Today's multimedia applications demand concurrent, independent audio processing of many diverse audio streams.
Mainstream applications may require 32 or more wavetable synthesis voices and 24 or more sound effects positioned
in 3D space concurrently with other audio stream processing. The ThunderBird Q3DTM can simultaneously process 64
combined audio and wavetable voice streams in H/W plus an additional 64 audio streams using QSound's efficient
MMX host engine for a total of 128 audio and wavetable streams. For greater concurrency and higher music polyphony
a professional quality 256 voice soft-synth is available. This can be used for all music synthesis reserving all 128
streams for other audio sources bringing the total concurrency to 384 streams.
Immersive 3D Audio
The ThunderBird Q3DTM is armed with the most advanced arsenal of 3D technology available. The listener is immersed
in a realistic 3 dimensional soundscape. QSound’s technology renders 3D applications using stereo speakers,
headphones or quad speakers; and transforms ordinary stereo applications from games to CD players into 3D and
quad applications.
QInteractive3DTM (QI3DTM ) utilizes the ActiMedia DSP to interactively position DirectSound streams in 3D space
around the listener. Three different 3D engines based on HRTF and patented QSound Technology are used to render
over 2 speakers, headphones or quad speakers. Since the unique 2 speaker engine requires no signal cross
cancellation, QI3D provides a more robust 3D imaging than ordinary HRTF processing with minimal sensitivity to
speaker placement, speaker quality and listener location. QI3D utilizes the industry standard DirectSound3D API and
is compatible with DirectSound3D and A3DTM applications.
QSound Environmental ModelingTM (QEMTM) adds further realism by using reverb as an additional positional que. With
QEM enabled each DirectSound3D sound source receives reverb simulating acoustic reflections based on the regions
reverb preset and the sources current position relative to the listener. Reverb presets can also me manually enabled by
the listener for DirectSound3D applications that do not support EAX. QEM is EAXTM 1.0 compatible.
QSound Multi-Speaker SystemTM(QMSSTM) utilizes a proprietary stereo-to-quad remapping algorithm to transform
ordinary stereo applications into more immersive quad applications. Unlike some other implementations that simply
mirror the front speaker content in the rear speakers QMSS creates 4 individual channels. For musical applications
different instruments or sounds will seem to emanate from one or more speakers. For 1st person gaming applications
and movie playback, QMSS will estimate approximate placement of each sound based on the stereo mix and adjust it's
amplitude and timing in each speaker accordingly.
QMSS can be used to dramatically enhance numerous stereo applications. DirectSound games become more realistic
with action all around the listener. Music CD, MP3, and MIDI playback become more immersive. Stereo and Dolby
ProLogicTM film clips become the theatre-like in presentation without a decoder required. QMSS can also be used to
enhance Dolby Digital DVD playback using only the stereo or Dolby ProLogic audio tracks. Many viewers prefer this
alternative to standard Dolby digital playback because of the additional audio content in the rear speakers. QI3D can
also be used for more traditional quad playback of Dolby Digital DVD's when combined with a soft-DVD player using the
DirectSound3D API.
QXpander enhances 2 speaker playback by broadening the sound field and mapping stereo positions to 3D positions.
1999 Sep 307
Page 8
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
CD Quality Wavetable Synthesis with 320 Total Voices
ThunderBird Q3DTM includes two wavetable synthesis engines. When configured for wavetable synthesis only the
ActiMedia DSP can produce up to 64 wavetable 44KHz, 16 bit voices. Using the ActiMedia engine minimizes CPU
consumption and is ideal for games with MIDI music tracks. Also available is a professional quality soft-synth that can
produce up to 256 voices including special effects. The soft-synth is highly configurable and can be optimized for
highest quality with pure music applications or for minimum CPU consumption in gaming applications.
Both engines maximize quality and minimize cost by using system memory for wavetable sample sets and the
ActiMedia engine can be used to accelerate DirectMusic and DLS (Down Loadable Sound) sample sets using WDM
drivers.
ActiMedia DSP Architecture
The ActiMedia architecture combines the strengths of both programmable and fixed function DSP architectures. A
programmable DSP processor enables custom features, field up-grade and ease of development. An array of gateefficient fixed function DSP processors (accelerators) operate in parallel with the programmable DSP, providing an
extremely high performance-to-cost ratio. Unlike fixed-point DSP's that must use a single resolution for all audio
processing, each accelerator is designed with the optimum resolution for its function. This preserves the audio integrity
without the cost of a high-resolution or floating point programmable DSP implementation. The result is a performance,
quality and concurrency that requires 10 times the MIPS on a classical DSP architecture.
Digital Mode Dual Game Port
The S/W polling used by analog game ports can consume up to 10% of the host CPU. ThunderBird PCI products utilize
a digital operating mode that can eliminate S/W polling and accelerate the game port function resulting in significantly
improved system performance. Joystick buttons can be polled or interrupt driven to further enhance performance. A
default analog mode assures compatiblitiy with DOS and other non-DirectInputTM applications.
PCI Interface
The ThunderBird Q3DTM is a PCI 2.1 compliant multifunction device including audio, game port and 16650 UART
functions capable of bursting at 132 MB data rates. The high bandwidth and low latency of the PCI bus reduces the
need for host based processing and local memory. The PCI bus consumption of each audio stream is reduced by a
factor of 10 compared to ISA solutions. The PCI and CPU busses are no longer locked during slow ISA DMA
transactions and system performance is improved as much as 20%.
To maximize performance, the PCI interface includes dual 32 bit bus masters: DMA, DirectSound and wavetable
synthesis acceleration. A 16 bit DSP Master Device is used to transfer data directly between the host and DSP or AC97
interface. Additional slave devices support legacy and MIDI interfaces. All I/O is re-mappable creating a true "Plug and
Play" device.
Comprehensive Legacy Audio Support
SoundBlaster Pro compatibility in both Real Mode DOS and DOS windows is achieved through H/W SoundBlaster and
OPL 3 (FM) emulation registers. Legacy DMA over the PCI bus is supported on all major platforms utilizing PC/PCI,
DDMA, or VLSI's proprietary Legacy Accommodation ModeTM (LAMTM). DOS music synthesis includes stereo MIDI
playback, quad MIDI playback, and FM emulation.
Integrated I/O and Peripherals
ThunderBird Q3D products include all the required features to implement a PCI audio solution with minimal chip count.
I/O includes an AC97 link for a AC97 1.0 codec, stereo DAC serial port for multi-channel or low cost playback
1999 Sep 308
Page 9
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
applications, MPU-401 UART with MIDI IN and MIDI Out connections for external keyboard, sequencer, synthesizer or
other MIDI devices, 16650 UART for modem, other serial connections or usage as GPIO's , I2C configuration port for
storage of SubSystem/Vendor ID's and other data in serial EEPROM, dual Game Port and 3 GPIO's, and an external
SRAM interface for DSP code development or field programmable applications. Only a single 14.318 MHz crystal is
required to support the internal PLL. A 20bit, 1us resolution timer is provided for DirectXTM audio/video synchronization.
Operating System Support
VXD driver support includes: WIN95, WIN98, and NT 4.0. WDM driver support will include WIN98 and NT
5.0/WIN2000.
Power Management
ThunderBird Q3D provides localized clock control and full event monitoring including interrupts, I/O and S/W events.
Independent power down control of the PLL, DSP, and codec is provided and PCI CLKRUN protocol is supported.
Power management h/w hooks exist to achieve compliancy with ACPI and "On Now" initiatives.
1999 Sep 309
Page 10
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Architectural Overview
The ThunderBird Q3D - SAA7780 is a multi-functional device that provides full duplex sound processing, DirectSound
acceleration, 3D audio acceleration, SoundBlaster emulation, FM emulation, wavetable synthesis, and other audio
effects utilizing its ActiMedia DSP processor. The ActiMedia processor consists of a number of fixed function DSP
accelerator blocks and a programmable Pine DSP core. Included within the SAA7780 are interfaces for an AC97
codec, serial DAC, MIDI port, and standard analog and digital joysticks as well as optional external code RAM.
FIGURE 3Block Diagram of a PC/AT System with the SAA7780
CPU
System
Bridge
TM
HOST BUS
AGP
Graphics
Cache
Memory
ISA BUSPCI BUS
Pentium
Controller
PCI to ISA
Multi I/O
AC97 CODEC
Serial DAC
1999 Sep 3010
and/or
ThunderBirdTM Audio
Controller
JoystickMIDI Port
Page 11
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Systems that provide DDMA or have the ISA bridge on the primary PCI bus are able to perform SoundBlaster emulation
enabling the operation of legacy DOS based games. The SAA7780 chip provides two 8237 style DMA channels to
perform legacy DMA cycles on selected systems. The same two 8237 channels provide Distributed DMA support as
well. PC/PCI is also supported to provide legacy DMA support on chipsets that support said protocol.
DirectSound acceleration, both for 2D and 3D audio along with wavetable sample fetching, is accomplished using the
SAA7780 chip PCI 2.1 bus master. This bus master provides the means for the SAA7780 chip to accelerate
DirectSound audio streams as well as fetch wavetable samples for the 64 voice wavetable synthesis and effects
algorithms. Wavetable sample fetching is always retrieved from system memory saving the cost of an external
wavetable ROM. Downloadable sample sets, with software, are also supported using the bus master hardware.
Additionally, the SAA7780 chip follows the AC97 Architecture to provide high quality audio by the use of a separate
codec. Serial DACs, as well as an AC97 CODEC can be selected to provide audio into the analog world. A serial DAC
is used in case the system designer wishes to use an inexpensive playback converter and does not require a record
function. A codec and a DAC can be used if multi-channel audio is required.
The SAA7780 chip supports additional interfaces to sustain both required and optional features. These interfaces
include a standard 4-axis/4 button joystick, external MIDI port, an SRAM interface for external DSP code or enhanced
reverb, and a 16650 UART for an external modem.
The ActiMedia DSP runs the audio algorithms for wavetable synthesis, FM synthesis, special effects such as reverb
and chorus, along with sample rate conversion and data management. The imbedded DSP core and its peripherals are
managed solely by the DSP and require no intervention from the host. The DSP can pass messages to and from each
domain to provide a host software interface into the DSP domain.
Structural and Functional Overview
The SAA7780 contains components to implement the sound generation with accessories to add value to a gaming type
environment. In short, there are three basic types of blocks to implement all of the advanced features present in this
chip. The three types of blocks are PCI domain, DSP domain and mailbox. The PCI domain type of blocks refer to the
blocks that connect only to the internal and external PCI interfaces. The DSP domain blocks connected only to the DSP
code or data busses. The mailbox type interfaces between both worlds providing both functional and test operations
between the two domains. The following sections will give more details on the function and operation of each block.
PCI Interface, Configuration and Interrupt Serializer
The SAA7780 chip PCI interface is composed of master and slave state machines, an address/data/byte enable
datapath, a bus arbiter for the two on chip masters, control logic for the master and slave internal busses, an interrupt
serializer, and the standard PCI configuration register header.
The standard PCI configuration header is also supported. Since the SAA7780 is a multi-function device, there are three
PCI configuration spaces allocated for each function. The three functions are the audio device, the joystick and the
16650 UART. The purpose of the multiple configuration headers is to ensure PCI compliance and enable the operating
system to select the correct software driver for each individual device. The Serial CFG Port is used to shift in subvendor
specific data for each of the PCI configuration headers. The Serial CFG port is an industry standard I2CTM format. The
configuration headers are included in the PCI interface to reduce inter-block routing. All other PCI configuration space
registers are included in the blocks that utilize these registers.
16650 UART
In order to support an external hardware modem chip set, a 16650 UART is included in the SAA7780 chip. The 16650
UART excludes the need for an additional ISA based UART thereby reducing system costs. The 16650 UART resides
in I/O space and is re-mappable.
1999 Sep 3011
Page 12
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Clocks and the PLL Subsystem
Clocks for operation of the SAA7780 are derived from two sources; an external crystal and bit clock from the AC97
CODEC. The SAA7780 PLL Subsystem derives its reference from the external crystal.
FIGURE 4
xtalin
15pF
470k
The SAA7780 substem consists of a fixed layout PLL cell and a digital interface to the 8 bit PS bus. The PLL is
designed to drive the clocks for the DSP subsystem. The implementation calls for the PLL to be utilized with complete
programmable register interface to enable the tuning of the frequencies as necessary.
Multimedia Timer
The SAA7780 chip supplies a 20-bit, 1uS resolution timer for game synchronization. The timer data can be accessed as
an I/O device. This timer can be used by game developers to keep track of time elapsed to synchronize the video to the
audio stream. The timer can be polled or interrupt driven and is selectable by the user application.
DMA is for the Sound Blaster registers, the DSP Mastering Device (DMD), and the Audio codec. To cover as many
systems as possible, the DMA interface supports three modes for legacy support: Mobile PC/PCI DMA Arbitration
(PC/PCI), Distributed DMA (DDMA), and Legacy Accommodation Mode (LAM).
Legacy Accommodation Mode allows the SAA7780, in an architecturally compatible system, to snoop and snarf
selected DMA cycles on the PCI bus that were intended to the ISA Bridge. If a chip set supports Distributed DMA, the
SAA7780 will use this method since it is more efficient than LAM. Additionally, PC/PCI can be utilized as well if neither
DDMA nor LAM are supported on the selected chip set.
14.318MHz
15pF
SAA7780
xtalout
AC Link and the DSP Master Device Interface
The SAA7780 chip provides support for the AC97 specification by supplying an AC Link interface to communicate with
an industry standard AC97 CODEC. The AC Link interface is set up to allow the PCI, DMA and DSP busses to interface
with the AC97 codec via the AC Link. The AC Link is compliant with the release 1.03 of the AC97 specification.
Sound Blaster Registers
The other device that requires DMA is the SoundBlaster registers. DMA is used to transfer SoundBlaster digital audio
files from the host to a codec for playback in addition to providing a mailbox for other commands. In order for the DSP
to emulate the Sound Blaster sound effects, a legacy register set must be implemented to capture these commands.
These sixteen, 16-bit registers are used primarily to emulate SoundBlaster Pro register set as well as the SoundBlaster
1999 Sep 3012
Page 13
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Pro mixer registers. These registers are used as a mailbox to the DSP data bus to deliver data to the SoundBlaster
Emulation code. The SAA7780 chip supports DMA to the Sound Blaster that legacy code requires. All data transmitted
over the SoundBlaster Registers is processed by the DSP to emulate the Sound Blaster Pro hardware.
OPL3 Registers and the FM Accelerator
The OPL3 register interface is a subset of the complete SoundBlaster register set. The OPL3 registers are separate to
point out that the FM legacy is supported at the register level. The OPL3 registers simply pass FM synthesis commands
to the SoundBlaster Emulation code and receive status from the same code.
Virtual Registers
The Virtual Registers interfaces the PCI bus and two substantial wavetable synthesis accelerators: the Sample Fetch
and Address Generation accelerators. The Virtual Registers is responsible for setting up the PCI interface for master
cycles data fetches and retrieving those fetches into a sample buffer. The Virtual Registers get commands from the
Address Generation accelerator and turns them into PCI master requests. Once the data has been retrieved, the Virtual
Register then instructs the Sample Fetch accelerator to process a block of data. Once the processing is complete, the
Sample Fetch Accelerator notifies the Virtual Registers that all is clear and that new data can be processed.
Address Generation Accelerator
The Address Generation accelerator is a preprocessing unit for the sample fetching mechanism inside the Virtual
Registers. The Address Generator will get a set of parameters from the DSP code on a per voice basis for either
DirectSound processing or wavetable synthesis. Once these voice parameters are set, the hardware is instructed to
translate the addresses and fetch the audio samples from system memory. The Address Generator is also capable of
looping with intervention from the DSP code. The DSP kills voices by instructing the Address Generator to stop fetching
data. Once the samples are fetched, they are stored in the Virtual Register’s input sample buffer for processing by the
Sample Fetch Accelerator.
Sample Fetch Accelerator
The Sample Fetch accelerator is used to process audio samples fetched by the Virtual Registers and deliver them to
the DSP code for further processing. This processing can include pitch shifting or rate conversion. The degree of pitch
shifting is under direction of DSP code indicating the Sample Fetch accelerator is programmable. The input samples
are taken from the Virtual Register’s input sample buffer and stored in DSP memory space.
MIDI Registers and UART
An MPU401 compatible UART is supplied to enable external MIDI devices to use the SAA7780 chip synthesizers as
well as its external device’s own synthesizer. The MIDI register interface is used to pass the MIDI command stream
from the host to the DSP firmware for parsing into synthesizer commands. The MPU401 UART always operates in
“dumb” mode. Both the PCI and DSP can access the MIDI UART directly. Data is presented from/to the MPU401
Registers in a mailbox fashion to the MPU401 UART.
Music DAC Interface
The music DAC interface allows for an inexpensive, high quality, playback of the final stereo mix or for providing the
unique QUAD feature when used in conjunction with the standard AC97 V1.03 CODEC. The interface is a standard
EIAJ format supporting many brands of inexpensive 16 bit DACs. The Music DAC interface is capable of playback
sample rates from 22.05 - 48.0 KHz.
1999 Sep 3013
Page 14
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
General Purpose Input/Output
There are five general purpose I/O pins that are controlled by the DSP. These pins can be used for power management
of external devices or for test and debug of DSP code. All are full time available under DSP code control. These GPIOs
are not controllable from the PCI bus and are generally not available to users.
PINE DSP Core
The Pine DSP core is a programmable 16-bit integer DSP with separate code and data busses (Harvard architecture).
Main features of the DSP core include 2K x 16 data RAM, 64K word code and data space, 16 x 16 bit two’s complement
parallel multiplier with 32-bit product, single cycle multiply/accumulate instructions, 36-bit ALU, two 36-bit accumulators,
six-general purpose 16-bit pointer registers, option for up to eight user-defined 16-bit registers, zero overhead looping,
repeat and block-repeat instructions with one nesting level, shifting capability, automatic saturation mode on overflow
while reading content of accumulators, divide and normalize step support.
As noted on Figure 1, the DSP subsystem is supported by two dedicated Pine internal busses called the DSP code bus
and the DSP data bus. All DSP peripherals are connected to the DSP data bus while the code bus is used for just that,
DSP code ROM and RAM. Both the DSP code and data busses are 16-bit for the address and data lines on each bus.
DSP code also enables the DSP core to act as a PCI bus master making it a powerful and flexible audio processing
unit.
DSP Interrupt Controller
The DSP Interrupt Controller is a programmable, priority encoded device that encodes two interrupt signals to the Pine
core. The DSP Interrupt Controller resides on the DSP data bus and is programmed by DSP code. Both sets of
interrupt vectors feature an enable and status bit for each interrupt based device.
DSP Memory Controller
The DSP memory controller provides controls and decodes for the regular DSP data and code RAMs as well as the
code ROMs. The Memory Controller also includes a patch mechanism to allow ROM code to be updated or fixed using
a trapping device.
Game Port
The SAA7780 Game Port interface is designed to emulate the PC-AT based legacy joystick operation as well as
support of a digital joystick mode. The legacy or analog, type of operation is designed to support all legacy software that
uses the original joystick address and the method for resolving the joystick axes positions. The Digital Mode is
designed to reduce the joystick overhead by resolving the joystick position directly and to support applications that use
DirectInput.
The legacy joystick used a one shot multi-vibrator on each of the four joystick potentiometers. These one shots were
set up to deliver a pulse that was proportional to the resistor value of the joystick potentiometers. Software would them
poll the one shots to see if they had been set to the original value. The time it took for each axes to return to the original
value was resolved into a position by the legacy software. The SAA7780 emulates the 558 based one shot circuit to
support legacy games that use the PC-AT joystick. The joystick button values were routed directly to the system bus
where only a decode was required to read the value of the button. Software would poll the buttons as well. All button
and joystick axes data is returned in a single byte wide register.
Game Port Legacy I/O Register
This register is the legacy mode register for the 558 based joystick. Typically, this register is located at legacy address
of 201h. Reads from this register will poll the status of the joystick buttons and are used to resolve the position. Writes
1999 Sep 3014
Page 15
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
to this register will discharge the external capacitors to emulate the 558 one shots. Software can then poll the joystick
register bit to resolve each of the joystick axes positions by timing. The joystick button register bits have meaning in
both the digital and analog modes. The axes bits are only valid for analog mode.
Game Port 558-Based Register - Gameport (RO) )
I/O GMBASED7D6D5D4D3D2D1D0
Offset 1hJOYB_2JOYB_1JOYA_2JOYA_1JOYB_YJOYB_XJOYA_YJOYA_X
POR Value11110000
BitNameR/WFunction
7JOYB_2ROJoystick B button 2 status. The joystick buttons should be de-bounced and
de-glitched from the chip interface. The joystick button status registers are
cleared when the joystick button is pressed.
6JOYB_1ROJoystick B button 1 status.
5JOYA_2ROJoystick A button 2 status.
4JOYA_1ROJoystick A button 1 status.
3JOYB_YROJoystick B y-coordinate. Can also be referred to as position 3.
2JOYB_XROJoystick B x-coordinate. Can also be referred to as position 2.
1JOYA_YROJoystick A y-coordinate. Can also be referred to as position 1.
0JOYA_XROJoystick A x-coordinate. Can also be referred to as position 0.
AD[31:0] contains a physical byte address during the first clock of a
PCI transaction, and data during subsequent clocks.
When the SAA7780 is a PCI master, AD[31:0] are outputs during
the address phase of a transaction. They are either inputs or outputs
during the data phase, depending on the type of PCI cycle in
process.
When the SAA7780 is a PCI slave, AD[31:0] are inputs during the
address phase. They are either inputs or outputs during the data
phase, depending on the type of PCI cycle in process.
1999 Sep 3015
Page 16
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
C/BE#[3:0]50,65,76,88IO-TPCI Bus Command and Byte Enables
C/BE#[3:0] defines the bus command during the first clock of a PCI
transaction, and the byte enables during subsequent clocks.
C/BE#[3:0] are outputs when the SAA7780 is a PCI bus master and
inputs when it is a PCI bus slave.
DEVSEL#70IO-STSPCI Bus Device Select
When the SAA7780 is a PCI bus master the SAA7780 uses
DEVSEL# to determine whether a master abort should occur if
DEVSEL# is not sampled active by clock 5 of the transaction, or to
determine whether a cycle is to be aborted or retried when a targetinitiated termination occurs.
When the SAA7780 is a PCI bus slave, DEVSEL# is an output
which the SAA7780 drives LOW during the second PCLK after
FRAME# assertion to the end of a transaction if the SAA7780 is
selected.
FRAME#66IO-STSPCI Bus Cycle Frame
When the SAA7780 is a PCI master, FRAME# is an output which
indicates the beginning of a SAA7780-initiated bus transaction.
While FRAME# is asserted data transfers continue. When FRAME#
is deasserted the transaction is in the final data phase.
When the SAA7780 is a PCI slave, FRAME# is an input that initiates
an I/O, memory or configuration register access if the SAA7780 is
selected for the transaction. The SAA7780 latches the C/BE#[3:0]
and AD[31:0] signals on the PCLK edge on which it first samples
FRAME# active.
IRDY#67IO-STSPCI Bus Initiator Ready
When the SAA7780 is a PCI master, IRDY# is an output which
indicates the SAA7780’s ability to complete the data phase of the
current transaction. It is always asserted from the PCLK cycle after
FRAME# is asserted to the last clock of the transaction.
When the SAA7780 is a PCI slave, IRDY# is an input which causes
the SAA7780 to hold-off completion of a read or write cycle until
sampled active.
STOP#71IO-STSPCI Bus Stop (Target Initiated Termination)
When the SAA7780 is a PCI master, STOP# is an input which
causes the SAA7780 to complete, abort or retry the transfer,
depending on the state of TRDY# and DEVSEL#.
When the SAA7780 is a PCI slave, it drives STOP# as active (LOW)
to terminate or retry a transaction.
1999 Sep 3016
Page 17
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
TRDY#69IO-STSPCI Bus Target Ready
When the SAA7780 is a PCI master, TRDY# is an input which
indicates the target agent’s ability to complete the data phase of the
transaction. After initiation of a PCI bus transaction, the SAA7780
inserts wait cycles until TRDY# is sampled active.
When the SAA7780 is a PCI slave, it drives TRDY# active to
indicate that the SAA7780 has sampled the data from AD[31:0]
during a write phase, or presented valid data on AD[31:0] during a
read phase.
PAR75IO-TPCI Bus Parity
When the SAA7780 is a PCI master, it drives PAR to reflect the
correct value for even parity on the AD[31:0] and C/BE#[3:0] buses
one clock after the address phase and after each write data phases.
When the SAA7780 is a PCI slave, it drives PAR to reflect the
correct value for even parity on the AD[31:0] and C/BE#[3:0] buses
one clock after completion of each read data phase.
PCREQ#36O-TSPC/PCI DMA Request
This signal requests DMA servies from en external chipset that
supports PC/PCI protocols. The SAA7780 chip asserts PCGNT#
according to the desired DMA channel required by either the
SoundBlaster or AC97 interfaces. The requested channel is
encoded serially on the PCGNT# pin.
The SAA7780 will become the bus owner when it receives an
asserted PCGNT# signal. This handshaking is synchronous to
PCLK.
PCGNT#35I-TPC/PCI DMA Grant
An asserted PCGNT# pin indicates that the external PC/PCI master
arbiter has granted DMA services to the the encoded DMA channel
to the requesting DMA agent on the SAA7780 chip.
REQ#38O-TSPCI Bus Request
This signal controls the PCI bus arbitration between the SAA7780
chip and the PCI master arbiter. When REQ# is asserted, the
SAA7780 indicates a desire to become the PCI bus owner. The
SAA7780 will become the bus owner when it receives an asserted
grant signals (GNT# is LOW). This handshaking is synchronous to
PCLK.
REQ# is three-stated while RST# is active.
1999 Sep 3017
Page 18
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
GNT#37I-TPCI Bus Grant
An asserted GNT# pin indicates that the PCI master arbiter has
granted bus ownership to the SAA7780 chip.
IRQSER32IO-ODPCI Bus Serial Interrupts
This pin is used to output the serial interrupt stream for legacy
interrupts. It is used only if the SAA7780 is used in a Common
Architecture system. Otherwise it is tri-stated.
INTA#31IO-ODPCI Bus Interrupt A
The interrupt output is a PCI compatible active low level sensitive
interrupt. It is only used if the SAA7780 is used in a non Common
Architecture system. Otherwise it is tri-stated. It is driven low when
any of the internal interrupts are asserted.
PERR#72IO-STSPCI Bus Parity Error
This signal indicates a data parity error for any cycle type other than
a Special Cycle command. PERR# is made active two clocks after
the completion of the data phase which caused the parity error. This
error signal may result in the generation of a non-maskable interrupt
(NMI) or other high priority interrupt sent to the CPU.
SERR#73IO-ODPCI Bus System Error
This signal indicates an address parity error, data parity errors on
Special Cycle commands or any other catastrophic system error.
SERR# is an open-drain bidirectional pin which is driven low for a
single PCLK cycle by the agent reporting the error. This error may
result in the generation of a non-maskable interrupt (NMI) or other
high priority interrupt sent to the CPU.
IDSEL51I-TInitialization Device Select
IDSEL is used as a chip select during configuration register read
and write operations. One system board address line from
AD[31:11] is used as IDSEL to select the SAA7780 configuration
space in the SAA7780 chip when used on the PCI bus.
CLKRUN#100O-ODPCI Bus Clock Run Request
The SAA7780 uses CLKRUN# according to the Mobile PCI protocol
to start the PCI clock or keep the clock running whenever an internal
PCI device requires it.
1999 Sep 3018
Page 19
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
PCLK34I-TPCI Bus Clock Input
PCLK is the PCI bus clock input. It is used to synchronize all PCI
bus operations and typically runs at 33MHz.
RST#33IPCI Bus Reset
An active low version of the system reset, this signal causes the PCI
interface to return to the idle states in all state machines and
asynchronously three-states all PCI bus signals. All registers will be
reset to their default values as well. The CODEC interface line
should be all driven inactive along with the external memory
interface. This reset will assert the DSP reset.
Serial Configuration Port
CFGDAT101I,PU-TSerial Configuration Data
This pin is used to shift in PCI configuration data for the Subsystem
ID and the Subsystem Vendor ID in each of the PCI configuration
headers present in the SAA7780 chip. The Serial Configuration Port
is a standard I2C interface. This line should never be pulled low.
CFGCLK102O-TSerial Configuration Clock
The serial clock is a 400 KHz clock generated from OSC and
supplied to an external serial EEPROM to synchronize the serial
configuration data.
Test Interface
TRI#29I-TTri-State Test Enable
When this pin is pulled low and RST# is pulsed asserted, all output
and I/O pins of the SAA7780 will be forced into a three-state
condition. Pulsed assertion of the RST# signal will release the
SAA7780 from this test mode.
NAND#30I-TNAND Tree Test Enable
When this pin is pulled low and RST# is pulsed asserted, the
SAA7780 will enter the parametric NAND tree test mode. The
details of the NAND tree test mode are described later in this
document.
1999 Sep 3019
Page 20
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
16650 UART Interface
RXD146I-TUART Serial Data Input
This pin provides the serial bit stream to the 550-compatible UART.
This input is ignored when the Loop Mode is enabled.
TXD145O-TUART Serial Data Output
This pin is an output from UART, providing the serial bit stream to
external buffers or devices. This signal is forced high whenever the
transmitter is disabled, RST# is asserted, the transmit register is
empty, or the UART is in the Loop Mode.
RTS#148O-TUART Request To Send
An active low output that is the inverted value of the Modem Control
Register (MCR) bit 1, as follows:
When MCR[1] = 1, RTS# is low.
When MCR[1] = 0, RTS# is high.
When RST# is asserted, RTS# is forced high.
DTR#149O-TUART Data Terminal Ready
An active low output that is the inverted value of the Modem Control
Register bit 0, as follows:
When MCR[0] = 1, DTR# is low.
When MCR[0] = 0, DTR# is high.
When RST# is asserted, DTR# is forced high.
CTS#150I-TUART Clear To Send
The status of this input can be determined by reading bit 4 of the
Modem Status Register. When MSR[4] is read, it will be the inverted
value of CTS#. A change in status of CTS# sets the Delta CTS bit in
the Modem Status Register.
If the CTS# line changes state while the modem status interrupts
are enabled, an interrupt packet will be generated.
DSR#151I-TUART Data Set Ready
The status of this input can be determined by reading bit 5 of the
Modem Status Register. When MSR[5] is read, it will be the inverted
value of DSR#. A change in status of DSR# sets the Delta DSR bit
in the Modem Status Register.
If the DSR# line changes state while the modem status interrupts
are enabled, an interrupt will be generated.
1999 Sep 3020
Page 21
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
DCD#152I-TUART Data Carrier Detect
The status of this input can be determined by reading bit 7 of the
Modem Status Register. When MSR[7] is read, it will be the inverted
value of DCD#. A change in status of DCD# sets the Delta DCD bit
in the Modem Status Register.
If the DCD# line changes state while the modem status interrupts
are enabled, an interrupt will be generated.
RI#153I-TUART Ring Indicator
The status of this input can be determined by reading bit 6 of the
Modem Status Register. When MSR[6] is read, it will be the inverted
value of RI#. Bit 2 (TERI) of the Modem Status Register indicates
whether the RI# input signal has changed from a low to a high, since
the previous reading of the Modem Status Register.
If modem status interrupts are enabled when MSR[6] changes from
a 1 to a 0, an interrupt will be generated.
Joystick/Game Port
JACX9I/O-C,SJoystick A X Axis
Joystick A X-position.
JACY13I/O-C,SJoystick A Y Axis
Joystick A Y-position.
JBCX10I/O-C,SJoystick B X Axis
Joystick B X-position.
JBCY12I/O-C,SJoystick B Y Axis
Joystick B Y-position.
JAB[2:1]7I-TJoystick A Button Interface
Joystick A buttons. These buttons are internally de-bounced and deglitched using a low speed clock and metastable hardened flip-flops.
JBB[2:1]14I-TJoystick B Button Interface
Joystick B buttons. These buttons are internally de-bounced and deglitched using a low speed clock and metastable hardened flip-flops.
1999 Sep 3021
Page 22
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
MIDI Interface
MIDIIN18I-TMIDI Serial Data Input
This signal is part of the standard 2 wire MIDI interface. This input
receives MIDI data at a rate of 31.25Kbaud. Optical isolation is
required.
MIDIOUT11O-TMIDI Serial Data Output
This signal is part of the standard 2 wire MIDI interface. This output
transmits MIDI data at a rate of 31.25Kbaud. Optical isolation is
required.
PLL/DSP CLK Subsystem Interface
XTALIN
XTALOUT
DSPCLK27I-TDSP Clock Input
PSUB20AGNDPLL Substrate
PLLDPWR22DPWRPLL Digital Power
PLLDGND25DGNDPLL Digital Ground
PLLAPWR21APWRPLL Analog Power
PLLAGND19AGNDPLL Analog Ground
23
24
I-C
O-C
OSC Clock Crystal Pad
This pin pair describes the pad required for the 14.31818MHz OSC
pad oscillator. The OSC clock is used to provide a fixed timebase for
many functions within the SAA7780 device.
This pin can be used as the clock input for the SAA7780 for the DSP
subsystem in place of the PLL driving the clock. DSPCLK is also
used to drive the DSP subsystem for controllability during testing.
Address lines for the external SRAM devices. The external memory
interface can be used for DSP code space if the EXT_SRAM_EN (in
HDCFG, bit 5) is set. Otherwise, the reverb accelerator will use the
external SRAM.
Word wide data bus for the external SRAM. Use 6ns memory for
DSP code usage and 20 ns memory for reverb usage.
Chip select line for the external SRAM devices.
Selects the external SRAM for reading or writing.
This signal is used to frame the tag packet from the AC link designer
from the SAA7780 chip.
This signal is used to clock synchronous data on the AC link
interface.
SDATA_OUT4O-TAC’97 Serial Data Out
This is the time division multiplexed serial output data stream from
the SAA7780 controller.
SDATA_IN5IAC’97 Serial Data In
This is the time division multiplexed serial input data stream the
external AC’97 codec.
AC_RST_N#6O-TAC’97 Master Reset
The external AC’97 codec has a master reset line which is has a
separate control. The codec status must report a ready before any
audio or modem data is transmitted to the codec.
1999 Sep 3023
Page 24
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Music DAC Interface
MSI157IO-TMusic DAC Serial Data Output
This signal is the serial bit stream used to transmit PCM data to a
industry standard serial DAC. Any mono or stereo PCM audio
stream can be played from the DSP to this interface to provide
music without the need for an AC’97 codec.
If the serial port is disabled, then this pin can be used for general
purpose I/O control.
MCLK158IO-TMusic DAC Data Bit Clock
The MSI data is synchronized to this clock used by an external
Music DAC.
If the serial port is disabled, then this pin can be used for general
purpose I/O control.
MLRCK159IO-TMusic DAC Data Word Clock
This signal is used to frame the left and right channel PCM data
being transmitted to the external Music DAC.
If the serial port is disabled, then this pin can be used for general
purpose I/O control.
General Purpose Input/Output
GPIO0154I/O-TGeneral Purpose I/O Bit 0
This pin can be used for general purpose I/O control.
GPIO1155I/O-TGeneral Purpose I/O Bit 1
This pin can be used for general purpose I/O control.
GPIO2156I/O-TGeneral Purpose I/O Bit 2
This pin can be used for general purpose I/O control.
Power and Ground Pins
VDDIC138,99DPWRCore Power
VSSIC60,147DGNDCore Ground
VSS26,15,40,47,
62,74,81,90,
104,120,128,
160
DGNDRing Ground
1999 Sep 3024
Page 25
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
VDD1,142,28,41,
DPWRRing Power
54,68,80,96,
112,121,135,
142
VWELL117DPWRExternal N-Well Bias
Tie these pins to 5V for proper 5 volt tolerant operation. The 5V
supply must be powered up before the 3V supply. Likewise, the 3V
supply must be powered down before the 5V supply.
Legend:CCMOS-compatible input
AGNDAnalog ground
DGNDDigital ground pin
IInput-only pin (can become bidirectional for test mode)
IOBidirectional pin
OOutput-only pin (can become bidirectional for test mode)
APWRAnalog power supply pin
DPWRDigital power supply pin
TTTL-compatible input
PDIndicates a high-impedance with approximately 10 K¾ minimum resistance to VSS (internal pull-down
PUIndicates a high-impedance with approximately 10 K¾ minimum resistance to VDD (internal pull-up resisPUBInidcates that this pin needs an external pull-up resistor when the chip is installed on a board or tester. A
SIndicates a Schmitt-trigger input with hysteresis for noise immunity
TSThree-state pin
STSSustained three-state output / TTL input (if applicable)
ODOpen drain pad
AAnalog based I/O. Use a pad with ESD protection
CPCore power. Denotes a pad that supplies power for the core of the chip only
CGCore ground. Denotes a pad that supplies ground to the core only
RPRing power. Denotes a pad that supplies power to the pads only
RGRing ground. Denotes a pad that supplies ground to the ring only
RPDRing power with option to power core level shifter. Denotes a pad that supplies power to the ring while its
RCGRing/core ground. Denotes a pad that supple a ground connection to the ring and core
HZHigh impedance. When in a three state test mode, this pin will be forced into a high impedance state
NTNand tree. When in a NAND tree test mode, this pin will be included in the parametric NAND tree logic
NTONand tree output. When in a NAND tree test mode, this pin is the output of the parametric NAND tree
FSBFunction System Block test. Denotes that his pin is not timing critical and is available for FSB multiplexing
resistor on pin)
tor on pin)
10K ohm resistor is nominal
core side connector can optionally supply internal level shifters
1999 Sep 3025
Page 26
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
SAA7780 Functional Block Descriptions
Register Table Document Description and Example
The next table gives an example of how registers are documented in this specification.
Example Register - Regex (RW/RO)
SPACED15D14D13D12D11D10D9D8
Offset nnhRRRRRRRR
POR Value00000000
D7D6D5D4D3D2D1D0
EXDATA[7:0]
POR Value00000000
BitNameR/WFunction
15:8RROReserved. These bits always return zeros.
7:0EXDATARWExample data. The example data for all to see.
In the above table example, the EXAMPLE REGISTER text would be a descriptive title for the register that we wish to
detail. Following the register description would be a register mnemonic used in register summary tables and the like. In
this example the mnemonic is REGEX. Following the mnemonic is the read/write access allowed into this register. If the
entire register is readable and writable, then the RW key is assigned. If some bits are read/write while others are read
only, then the key will indicate this fact. In the example, this register has both read/write and read only bits. The register
memory map location is marked in the table cell marked SPACE. SPACE could be substituted with PCI CFG n (for PCI
configuration register space for function n), IOBASE (for an I/O space register with an IOBASE specified in a
configuration register), DSP DATA (for DSP data memory mapped registers), MEM MSTR (indicating a PCI master in
memory space), and DSP CODE (indicating a DSP code memory mapped register. Just below the SPACE marker is
the offset from the base address specified in the SPACE field. The rest of the table should be obvious.
SAA7780 PCI Interface
Overview
The SAA7780 chip PCI interface is designed to interface the external PCI bus interface to all of the selected devices in
the SAA7780 chip. The PCI interface composed of master and slave state machines, an address/data/byte enable
datapath, a bus arbiter for the two on chip masters, control logic for the master and slave internal busses, and standard
PCI configuration register headers. The Interrupt Serializer will be discussed in a later chapter. This section of the
specification will describe the PCI interface in more detail along with design considerations for both the slave, master,
and datapath. The configuration header will be discussed in the SAA7780 PCI Configuration Registers section of this
specification.
The discussion will begin with the PCI master and target systems. The PCI bus master has the capability to burst
double words to/from the two internal bus masters, the Distributed DMA and the Virtual Registers. The full address
range is supported for these master devices. Since there are two masters, an arbiter is required to determine priority
between the two devices. Details on the arbiter can be found in the PCI master section.
1999 Sep 3026
Page 27
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
The PCI datapath block contains the multiplexors and registers to steer the data to and from the PCI interfaces. The
data is de-multiplexed from the external PCI interface to the internal master and slave busses. Control logic from the
master and slave devices control the datapath.
The SAA7780 is considered a multi-function device since the operating system may wish to load different drivers for
certain functions. These functions are the audio subsystem, the joystick and the 16650 UART. Each of these major
functions must have a separate PCI configuration space. The standard PCI configuration header for these three
functions are supported in the PCI interface.
The SAA7780 PCI interface responds to and initiates PCI cycles with positive decoding according to the PCI 2.1
specification. The interface asserts DEVSEL# after the first clock following FRAME# making it a medium responder. For
specific LAM cycles, the SAA7780 will be a fast responder. The following table indicates which cycles the PCI interface
responds to or initiates.
PCI Bus Command Definitions and SAA7780 Responses
c/be#[3:0]Command TypeSAA7780 Response to Cycle
0000Interrupt AcknowledgeThis cycle is not claimed.
0001Special CycleThis cycle is not claimed.
0010I/O ReadAll I/O Read cycles directed to the SAA7780 are claimed by the
target interface.
0011I/O WriteAll I/O Write cycles directed to the SAA7780 are claimed by the
target interface.
0100ReservedThis cycle is not claimed.
0101ReservedThis cycle is not claimed.
0110Memory ReadThis cycle is not claimed.
0111Memory WriteThis cycle is not claimed.
1000ReservedThis cycle is not claimed.
1001ReservedThis cycle is not claimed.
1010Configuration ReadAll Configuration Read cycles are claimed by the target interface
provided IDSEL is sampled asserted during the address/cmd
phase.
1011Configuration WriteAll Configuration Write cycles are claimed by the target interface
provided IDSEL is sampled asserted during the address/cmd
phase.
1100Memory Read MultipleThis cycle is not claimed.
1101Dual Address CycleThe SAA7780 supports 32-bit addresses only.
1110Memory Read LineThis cycle is not claimed.
1111Memory Write and InvalidateThis cycle is not claimed.
The SAA7780 will respond to byte, word, tri-byte or double word access for configuration read and configuration write
cycles provided PCI addressing rules are followed. Byte and word width accesses allowed for I/O cycles depend largely
on the target I/O device. In general, 24-bit and 32-bit accesses are not allowed to I/O devices and will result in a target
abort. The SAA7780 performs double word accesses when initiating master cycles. Note that the SAA7780 cannot
initiate a master cycle to itself. The next table summarizes the access rules for configuration and I/O cycles.
AnyFollow PCI addressing rules, otherwise assert a target abort.
Note that configuration registers, no matter where they are,
are accessed by configuration cycles only. Note that the PLL
will only allow 8 bit configuration accesses, the Virtual
Registers TBLBASE registers are 32 bit access only, and the
VRCFG is 16 bit access only.
8Any other access will result in a target abort.
16For PIO type accesses, only 16 bit I/O cycles are allowed,
other wise a target abort will result.
8Any other access will result in a target abort.
8,16Word accesses must be word aligned.
8,16Usually, only 16 bit accesses will be used to download and
access the DSP. Byte wide are also allowed for DSP
configuration accesses. Word access must be on word
boundaries.
MPU401 RegistersI/O Read
I/O Write
16650 UARTI/O Read
I/O Write
The PCI interface consists of three major blocks, the PCI master interface, the PCI slave interface and the PCI
datapath. The PCI master interface contains the master state machine, the master control logic, and the PM bus
arbiter. The PCI slave interface contains the target state machine, the target control logic and configuration register
headers. The PCI datapath is the de-multiplexing logic for the address, data and byte enable data paths for the PS and
PM busses. The PM and PS busses are described in detail in the SAA7780 Internal Busses section. Partitioning of
these PCI blocks is done in this manner to reduce block inter-connectivity and to provide an interface between the three
major sections of the PCI interface.
PCI Master Interface
The SAA7780 PCI master interface performs the memory read and write cycles initiated by the DMA or Virtual
Registers blocks. The major components of the PCI master interface are the master state machine, the PM bus arbiter
and the master control logic. Each of the functional blocks will be discussed in detail.
PCI Master State Machine
This block performs the handshaking between the PCI interface and the PM internal bus. The PCI master will perform
1999 Sep 3028
8Any other access will result in a target abort.
8Any other access will result in a target abort.
Page 29
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
bursting in a linear incrementing type fashion. The PCI master state machine may also wish to provide a target lockout
signal. This signal prevents the PCI target interface from responding to any master signals.
PC/PCI Legacy Support
The PCI block supports the PC/PCI sideband signals for legacy support of the soundblaster. The PC/PCI can be
enabled by a configuration register bit and one channel selected. The PCI slave block will provide the serial encoded
request signal (PCREQ#) in response to a request from the soundblaster and decode the serial encoded PCGNT# line.
The PCI slave will then claim I/O writes to address 0000h or 0004h with the PCGNT# line asserted as writes to the
SoundBlaster and pass the data to the SoundBlaster.
PCI Target State Machine A
The PCI target state machine controls all SAA7780 target responses on the PCI bus in addition to handling the PS
internal bus.
PCI Target Control Logic
The target control logic handles the address decoding for the ps_NNNcs# signals, bus command decoding for the
ps_XXXrd# and ps_XXXwr# signals, determination of target abort conditions, and data path/pad control logic from the
target interface. Also included in this logic are the controls for the PCI datapath and I/O pads. These controls are sent to
the datapath logic where they are combined with the master controls and then sent to the datapath and pad devices.
The control logic also includes an interface to the PCI configuration headers.
Serial Configuration Port
The Subsystem Vendor ID and Subsystem ID for each of the configuration headers presents a special case. These
three 32 bit registers must be programmed by the Subsystem Vendor. It is impractical to hard wire the Subsystem ID
registers since each Subsystem Vendor will have a unique ID. Therefore an external serial EEROM device is used to
download the proper values into the ID registers after reset and before begin read by the BIOS or other configuration
software. The PCI interface should force a retry if any of the subsystem registers have not completed a loading. The
Serial Configuration Port is a standard two pin I2C interface. The SAA7780 will supply the 400 KHz clock to the external
serial EEPROM on the CFGCLK pin. The serial data stream will arrive on the CFGDAT input pin. Please refer to a
24LC00 128 bit I2C Bus Serial EEPROM data sheet for interface protocols and timings.
Serial Configuration Port Programming
The SAA7780 uses an inexpensive external EEPROM, programmed before installation, to download the Subsystem
Vendor ID and Subsystem ID registers for each function for a total of 96 bits (six 16 bit registers). The recommended
device, a Microchip 24LC01B 1K Bit (128 Byte) Serial EEPROM, can be programmed using a conventional DATA I/O
programmer.
1999 Sep 3029
Page 30
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
FIGURE 5
+5V
CFGDAT
ThunderBird
CFGCLK
SDA
EEPROM
SCL
WP
In each of the three SAA7780 functions PCI configuration space there is a Subsystem Vendor ID register at an offset of
2Ch and a Subsystem ID register at an offset of 2Eh. Each register is 16 bits in length and is write-only by the serial
EEPROM and read-only from the PCI interface. The data from the EEPROM is loaded into the registers immediately
after PCI reset. If no EEPROM is detected, the default values are loaded as shown and reflect the default values for the
System ID and Vendor ID for that function.
Subsystem Register Default Values
FunctionDevice TypeOffsetRegister NameDefault Value
The EEPROM contains bits 000h through 3FFh. Only bits 000h through 05Fh are utilized to program the Subsystem ID
and Subsystem Vendor ID registers. The bit assignments between the EEPROM and the configuration registers are
shown below.
These bits correspond to Function 0, Subsystem ID (offset 2Eh) bits 2, 1, and 0, respectively. The Vendor should
choose and ID that corresponds to the peripherals present and program the EEPROM accordingly.
PCI Data Path
The PCI datapath provides the flip flop and multiplexers required to convert the external PCI interface address, data,
command and byte enables busses to the internal PM and PS busses.
PCI Configuration Registers
Since the SAA7780 is a multi-function device, there are three configuration headers. They are defined as the audio
configuration header as function 0, the joystick configuration header as function 1, and the UART configuration header
defined as function 2. Each configuration space is divided up into two groups, the registers that stay with the PCI
interface and the registers that do not. This section will describe the PCI configuration registers that bunk with the PCI
interface. These registers include the PCI standard configuration header registers and the base address registers for
various blocks in the SAA7780 chip.
To be more specific, the registers in the offset config space from 00h - 3Fh are the predefined PCI configuration
header. All three PCI configuration header registers will reside with the PCI interface. The remainder of the registers
are function specific and can be found in the block section itself.
The following sections will detail each of the configuration header spaces for each of the SAA7780 functions: audio,
joystick and UART.
PCI Configuration Space 0
The following table is a summary of all the PCI configuration space registers. The registers that are block-mates with
the PCI interface (offset 00h - 44h) will be detailed following the PCI configuration space table. The remainder of the
1999 Sep 3031
Page 32
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
registers will be detailed with the blocks they control.
PCI Configuration Space 0 Register Map
Byte 3Byte 2Byte 1Byte 0Offset
Device IDVendor ID00h
StatusCommand04h
Class CodeRevision ID08h
BISTHeader TypeMaster Latency TimerCache Line Size0Ch
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 00h
POR Value
00010000
VENDOR_ID[15:8]
D7D6D5D4D3D2D1D0
VENDOR_ID[7:0]
POR Value
00000100
BitNameR/WFunction
15:0VENDOR_IDROThe PCI Vendor ID for Philips Semiconductors (VLSI Technology) is 1004h.
Device ID Register - Device_ID (RO)
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 02h
POR Value
00000011
DEVICE_ID[15:8]
D7D6D5D4D3D2D1D0
POR Value
BitNameR/WFunction
15:0DEVICE_IDROThe Device ID for the SAA7780, function 0 is 0304h.
Command Register - Command (RO/RW)
PCI CFG 0D15D14D13D12D11D10D9D8
1999 Sep 3033
DEVICE_ID[7:0]
00000100
Page 34
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
RRRRRRFBACK_
Offset 04h
POR Value
POR Value
BitNameR/WFunction
15:10RROReserved. These bits always return zero.
9FBACK_ENBROFast Back-to-Back Enable: the SAA7780, function 0 does not support fast
8SERR_RESPRWSystem Error Response: When set to 1, the SAA7780, function 0 responds to
7STEPPINGROAddress / Data Stepping: Always returns 0.
6PERR_RESPRWParity Error Response: When set to 1, the SAA7780, function 0 responds to
00000000
D7D6D5D4D3D2D1D0
STEP-
PING
00000000
PERR_
RESP
SNOOP_
ENB
back to back master cycles therefore this bit always returns a zero.
detected PCI bus address parity errors by asserting SERR#. When 0, the
SAA7780 ignores these errors.
detected PCI bus data parity errors by asserting PERR#. When 0, the
SAA7780 ignores PCI bus data parity errors.
MEM_
INV_EN
SPEC_
CNTL
MAST_
CNTL
ENB
MEM_
CNTL
SERR_R
ESP
IO_
CNTL
5SNOOP_ENBROVGA Snoop Enable. The SAA7780, function 0 does not support VGA snoop
enable, therefore this bit always returns a zero.
4MEM_INV_ENROMemory Write and Invalidate Enable: Always returns 0.
3SPEC_CNTLROSpecial Cycle Control: Controls the devices ability to respond to Special
Cycle Operations. A value of 0 causes the SAA7780, function 0 to ignore all
Special Cycles.
2MAST_CNTLRWMaster Control: Controls the devices ability to act as a master on the PCI bus.
A value of 0 disables the ability of the SAA7780, function 0, to act as a
primary PCI master. A value of 1 enables the SAA7780, function 0 to become
a PCI bus master.
1MEM_CNTLROMemory Response Control: The SAA7780, function 0 does not support target
memory cycles therefore this bit always returns a zero.
0IO_CNTLRWI/O Response Control: Controls the SAA7780, function 0’s response to I/O
space. A value of 0 disables the device response. A value of 1 allows the
device to respond to I/O space accesses.
Status Register - Status (RO/RW)
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 06h
R_PERRS_SERRSM_
ABORT
RT_
ABORT
ST_
ABORT
DEVSEL_TMGS_PERR
1999 Sep 3034
Page 35
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
POR Value
POR Value
BitNameR/WFunction
15R_PERRRCReceived Parity Error: When set to 1, this bit indicates that the SAA7780,
14S_SERRRCSignalled System Error: When set to 1, this bit indicates that the SAA7780,
13SM_ABORTRCSignalled Master Abort: When set to 1, this bit indicates that the SAA7780,
12RT_ABORTRCReceived Target Abort: When set to 1, this bit indicates that the SAA7780,
00000010
D7D6D5D4D3D2D1D0
F_
BK2BK
10000000
UDFMHz66RRRRR
function 0 has detected a PCI bus parity error at least once since this bit was
last reset.
function 0 has reported a system error on the SERR# signal at least once
since this bit was last reset.
function 0 (acting as a master) had to initiate a master abort at least once
since this bit was last reset.
function 0 (acting as a master) has received a target abort at least once since
this bit was last reset.
11ST_ABORTRCSignalled Target Abort: When set to 1, this bit indicates that the SAA7780,
function 0 has signalled a target abort at least once since this bit was last
reset.
10:9DEVSEL_TMGRODEVSEL Timing: This field indicates the timing of the DEVSEL output (when
a PCI master is accessing a SAA7780, function 0 resource). It always returns
01 (Bin).
00 = Fast
01 = Medium (Default Timing)
10 = Slow
8S_PERRRCSignalled Parity Error: When set to 1, this bit indicates that the SAA7780,
function 0 was a bus master for a cycle in which PERR# was activated. This
bit cannot be set if the PERR_RESP bit in the command register is not
enabled.
7F_BK2BKROAlways returns 1 to indicate support of fast back to back cycles when the
SAA7780, function 0 is the target.
6UDFROUser Definable Features. Always returns 0.
5MHz66RO66 MHz Capable. Always returns 0.
4:0RROReserved. These bits always return zero.
Note: An RC indicates that this bit can be reset to 0 by writing a 1. Writing a zero leaves this bit unchanged.
1999 Sep 3035
Page 36
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Revision ID Register - Revision (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 08h
POR Value
BitNameR/WFunction
7:0REVISION_IDROThe current revision ID for the SAA7780, function 0, the audio subsystem.
Class Code Register - Class (RO)
PCI CFG 0D23D22D21D20D19D18D17D16
Offset 09h
POR Value
POR Value
00000000
00000100
D15D14D13D12D11D10D9D8
00000001
D7D6D5D4D3D2D1D0
REVISION_ID[7:0]
BASE_CLASS[7:0]
SUB_CLASS[7:0]
PGM_IFACE[7:0]
POR Value
BitNameR/WFunction
23:16BASE_CLASSROThe base class of 04h describes a PCI multimedia device.
15:8SUB_CLASSROThe sub class of 01h describes a PCI audio multimedia device.
7:0PGM_IFACERODevice generic function identification.
CACHELINE Size Register - CACHELINE (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 0Ch
POR Value
00000000
CACHELINE[7:0]
00000000
1999 Sep 3036
Page 37
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:0CACHELINEROReserved for cache line size indicator.
Master Latency Timer Register - Latime (RW)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 0Dh
POR Value
BitNameR/WFunction
7:0LATIMERWThe primary bus latency timer specifies the number of primary clocks that the
Header Type Register - Header (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 0Eh
POR Value
BitNameR/WFunction
7MULTI_FNROA 1 indicates that the SAA7780 is a multi-function device. The three PCI
00000000
primary master may consume. The timer is reloaded at each assertion of
FRAME# by the primary master. If the primary master loses its bus grant,
then it must relinquish the bus after the timer expires.
MULTI_
FN
10000000
configuration headers are accessed by the configuration cycle address bits
10-8. The function definitions are as follows:
0 = Audio Subsystem
1 = Joystick
2 = 16650 UART
LATIME[7:0]
HEADER[6:0]
6:0HEADERROHeader Type. A 00h indicates this device is a not a PCI-to-PCI bridge.
BIST Register - BIST (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 0Fh
POR Value
1999 Sep 3037
BISTSTARTRRCODE[3:0]
00000000
Page 38
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7BISTROBIST capable. BIST is not supported in the SAA7780, function 0 at this
revision. It may be desired to include a BIST test for the DSP at a later time.
6STARTROIf BIST capable, this bit will start the BIST. Writing a 1 will start the test and
the BIST should write this bit to a zero when complete. Software should fail
the device if the BIST is not complete after 2 seconds.
5:4RROReserved. These bits always return zero.
3:0CODEROCompletion Code. A value of zero means the device has passed its test.
Non-zero values means the device has failed using device specific failure
codes.
SAA7780 CFG Space 0 Non-Legacy Base Address Registers
The ThunderBird Base Address Register (SONGBASE) is used to I/O map all of the non-legacy I/O devices in the
SAA7780 chip. The SONGBASE register maps the two DMA channels, the AC Link registers, the Host/DSP interface,
the Serial Port interfaces, and the Multimedia Timer. The offset index for each are shown below.
Thunderbird Base Address Register - Songbase (RW/RO)
PCI CFG 0D31D30D29D28D27D26D25D24
Offset 10h
POR Value
POR Value
POR Value
POR Value
SONGBASE[31:24]
00000000
D23D22D21D20D19D18D17D16
SONGBASE[23:16]
00000000
D15D14D13D12D11D10D9D8
SONGBASE[15:8]
00000000
D7D6D5D4D3D2D1D0
SONG
BASE[7]
00000001
RRRRRRIO
BitNameR/WFunction
31:7SONGBASERWThunderbird non-legacy device base address register. This register supplies
the I/O base address for the non-legacy I/O devices within the SAA7780 chip.
6:1RROReserved. These bits are reserved a must always return a zero for plug and
play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
SAA7780 CFG Space 0 Legacy Base Address Registers
The SAA7780 contains three legacy I/O base registers in configuration space 0. These legacy devices are the Sound
Blaster register, the AdLib registers and the MIDI interface registers. They are described in detail in the next three
tables.
Sound Blaster Base Address - SBBASE (RW/RO)
PCI CFG 0D31D30D29D28D27D26D25D24
Offset 14h
POR Value
00000000
SBBASE[31:24]
1999 Sep 3039
Page 40
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
D23D22D21D20D19D18D17D16
SBBASE[23:16]
POR Value
POR Value
POR Value
BitNameR/WFunction
31:4SBBASERWSound Blaster programmable base address. The address should be on a 16 byte
3:1RROReserved. These bits are reserved and always return zeros for plug and play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
00000000
D15D14D13D12D11D10D9D8
SBBASE[15:8]
00000000
D7D6D5D4D3D2D1D0
SBBASE[7:4]RRRIO
00000001
boundary. For reference, the Sound Blaster legacy base addresses are 220h and
240h. Note that accesses from the AdLib base address are mapped into a subset
of the SoundBlaster registers.
MIDI Base Address - MDBASE (RW/RO)
PCI CFG 0D31D30D29D28D27D26D25D24
Offset 18h
POR Value
POR Value
POR Value
1999 Sep 3040
00000000
D23D22D21D20D19D18D17D16
00000000
D15D14D13D12D11D10D9D8
00000000
D7D6D5D4D3D2D1D0
MDBASE[31:24]
MDBASE[23:16]
MDBASE[15:8]
Page 41
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
MDBASE[7:2]RIO
POR Value
BitNameR/WFunction
31:2MDBASERWMIDI port programmable base address. The address should be on a double word
1RROReserved. This bit is reserved a must always return a zero for plug and play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
ADLIB Base Address Register - ALBASE (RW/RO)
PCI CFG 0D31D30D29D28D27D26D25D24
Offset 1Ch
POR Value
POR Value
00000001
boundary. For reference the MIDI port legacy base addresses are 220h, 230h,
240h, 250h, 300h, 320h, 330h, 332h, 334h, 336h, 340h, and 360h.
ALBASE[31:24]
00000000
D23D22D21D20D19D18D17D16
ALBASE[23:16]
00000000
D15D14D13D12D11D10D9D8
ALBASE[15:8]
POR Value
POR Value
BitNameR/WFunction
31:3ALBASERWAdLib registers programmable base address. The address should be on a quad
2:1RROReserved. These bits are reserved and always return zeros for plug and play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
00000000
D7D6D5D4D3D2D1D0
ALBASE[7:3]RRIO
00000001
word (64 bit) boundary. For reference, the AdLib legacy base address is at 388h
and maps into a subset of the Sound Blaster registers.
1999 Sep 3041
Page 42
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Subsystem Vendor ID - SUBVENID (RO)
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 2Ch
POR Value
POR Value
BitNameR/WFunction
15:0SUBVEN_IDROSubsystem Vendor ID. The Subsystem Vendor ID register allows the
Subsystem ID - SUBSYSID (RO)
00010000
D7D6D5D4D3D2D1D0
00000100
manufacturer to uniquely identify their board since more than one board OEM
may use the SAA7780 chip. The Subsystem Vendor ID register is loaded by
an external EEPROM via the Serial Configuration Port after reset and before
any access to the PCI configuration header. The PCI target logic should force
a retry if the Subsystem Vendor ID register has not completed loading. The
Subsystem Vendor ID is read only to the PCI interface. If no external
EEPROM is present, then the default Subsystem Vendor ID is 1004h, that of
Philips Semiconductors (VLSI Technology).
SUBVEN_ID[15:8]
SUBVEN_ID[7:0]
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 2Eh
POR Value
POR Value
BitNameR/WFunction
15:0SUBSYS_IDROSubsystem ID. The Subsystem ID register allows the manufacturer to
00000011
D7D6D5D4D3D2D1D0
00000100
uniquely identify their board since more than one board OEM may use the
SAA7780 chip. The Subsystem ID register is loaded by an external EEPROM
via the Serial Configuration Port after reset and before any access to the PCI
configuration header. The PCI target logic should force a retry if the
Subsystem ID register has not completed loading. The Subsystem ID is read
only to the PCI interface. If no external EEPROM is present, then the default
Subsystem ID is 0304h, identical to the SAA7780 function 0 Device ID.
SUBSYS_ID[15:8]
SUBSYS_ID[7:0]
1999 Sep 3042
Page 43
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Interrupt Line Register - INTLINE (RW)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 3Ch
POR Value
BitNameR/WFunction
7:0INTLINERWInterrupt Line. The Interrupt Line register is an eight bit register used to
Interrupt PIN Register - INTPIN (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 3Dh
POR Value
BitNameR/WFunction
00000000
communicate interrupt line routing information. The value in this register tells
which input of the system interrupt controller(s) the SAA7780 Device's
interrupt pin is connected to. If serial interrupts are enabled (COMARCH0
Register IRQSER=1) then the INT_LINE register will be read only and will
have the value of all 1's. If Serial Interrupts are disabled (IRQSER=0) then
the INT_LINE register will be readable/writable.
00000001
INTLINE[7:0]
INTPIN[7:0]
7:0INTPINROInterrupt Pin. The interrupt pin register tells which interrupt the SAA7780
device uses. If serial interrupts are enabled (COMARCH0 Register
IRQSER=1) then the INT_PIN register will have the read only value of all 0's
implying that the SAA7780 device does not use any of the PCI Interrupt pins.
If Serial Interrupts are disabled (IRQSER=0) then the INT_PIN register will
have the read only value of 01h implying that the SAA7780 device uses INT
A interrupt pin.
MIN_GNT Register - MINGNT (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 3Eh
POR Value
00001001
MINGNT[7:0]
1999 Sep 3043
Page 44
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:0MINGNTROMinimum grant specifies how long of a burst period the device needs
assuming a clock speed of 33MHz. Since the SAA7780, function 0, will burst
a maximum of 64 double words, therefore requiring about 75 33MHz clocks
or 2.25 microseconds. The time units specified are in 0.25 microsecond
increments.
MAX_LAT Register - MAXLAT (RO)
PCI CFG 0D7D6D5D4D3D2D1D0
Offset 3Fh
POR Value
BitNameR/WFunction
7:0MAXLATROMaximum latency specifies how often a device needs to gain access to the
SAA7780 CFG Space 0 DMA Base Registers
This section will describe the PCI configuration registers that provide functions such as base address remapping and
the like. These registers reside within the PCI interface.
DMA Channel A Base Address Register - DMAABASE (RW)
PCI CFG 0D15D14D13D12D11D10D9D8
Offset 40h
POR Value
00101000
PCI bus. The SAA7780, function 0, should only request the bus a a
maximum of every 10 microseconds. The MAXLAT value is computed using
the same parameters as the MINGNT.
00000000
MAXLAT[7:0]
DMAABASE[15:8]
POR Value
BitNameR/WFunction
15:7DMAABASERWDMA channel A programmable base address, bits 15:7.
6RROReserved. This bit must always be zero.
1999 Sep 3044
D7D6D5D4D3D2D1D0
DMAA
BASE[7]
00000100
RDMAABASE[5:4]RXFRSIZ[1:0]DDMAA
EN
Page 45
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
5:4DMAABASERWDMA channel A programmable base address, bits 5:4. These bits select a
channel number for this channel. In LAM DMAABASE[5:4] select the channel
number that this DMA represents, it should be different than
DMABBASE[5:4].
3RROReserved. This bit must always be zero.
2:1XFRSIZRWDMA transfer size.
00 = reserved
10 = double word
11 = reserved
01 = reserved
0DDMAAENRWDDMA channel A enable. This DDMA channel is enabled when this bit is set
to a one.
DMA Channel B Base Address Register - DMABBASE (RW)
PCI CFG 0D31D30D29D28D27D26D25D24
Offset 42h
POR Value
POR Value
BitNameR/WFunction
15:7DMABBASERWDMA channel B programmable base address. Normally this base is set the
6RROReserved. This bit must always be zero.
5:4DMABBASERWDMA channel B programmable base address, bits 5:4. These bits select a
00000000
D23D22D21D20D19D18D17D16
DMAB
BASE[7]
00000000
RDMABBASE[5:4]RRRDDMAB
same as DMA channel A except for DMABBASE[5:4] which selects the
channel number. This is a requirement of some PC chipsets. Future chipsets
may eliminate this requirement. In LAM DMABBASE[5:4] select the channel
number that this DMA represents, it should be different than
DMAABASE[5:4].
channel number for this channel. In LAM DMABBASE[5:4] select the channel
number that this DMA represents, it should be different than
DMAABASE[5:4].
DMABBASE[15:8]
EN
3:1RROReserved. These bits must always be zeros.
0DDMABENRWDMA channel B enable. This DDMA channel is enabled when this bit is set to
7:6ASYMCLKRWAsymmetrical Clock Select. These bits program the duty cycle for the input
for the two phase DSP clock generator.
5RDY_ENRWMusic registers ready enable. When set, the music registers will cause the
PCI interface to retry when either of the music registers (music0 or music1)
are full.
4CFGCLKRWSerial Configuration Port Clock Select. This bit selects the clock output to the
Configuration Serial Port.
0 = Ouput a 400 KHz clock. Incoming data will be synchronized to this clock.
1 = Output the PCI clock.
_EN
3BHENRWBus Hog Fix Enable.
2:1PCCHRWThese two bits are the encoded channel number that the soundblaster will be
on in the PC/PCI mode and are valid only when the PC/PCI mode is enabled.
0PCPCI_ENRWPC/PCI mode enable bit. This bit, when set = 1, will enable the PC/PCI
sideband signals for the Soundblaster legacy mode.
PCI Configuration Space 1
The following table is a summary of all the PCI configuration space registers. The registers that are block-mates with
the PCI interface (offset 00h - 3Ch) will be detailed following this table. The remainder of the registers will be detailed
with the blocks they control. This register space is for the joystick.
PCI Configuration Space 1 Register Map
Byte 3Byte 2Byte 1Byte 0Offset
Device IDVendor ID00h
StatusCommand04h
Class CodeRevision ID08h
BISTHeader TypeMaster Latency TimerCache Line Size0Ch
GMBASE10h
Reserved14-2B
Subsystem IDSubsystem Vendor ID2Ch
Reserved30-3Bh
Max_LatMin_GntInterrupt PinInterrupt Line3Ch
Reserved40-6Bh
ReservedReservedReservedGAMECFG06Ch
1999 Sep 3046
Page 47
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Reserved70-FFh
Vendor ID Register - VENDOR_ID (RO)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 00h
POR Value
POR Value
BitNameR/WFunction
15:0VENDOR_IDROThe PCI Vendor ID for Philips Semiconductors (VLSI Technology) is 1004h.
Device ID Register - DEVICE_ID (RO)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 02h
POR Value
00010000
D7D6D5D4D3D2D1D0
00000100
00000011
D7D6D5D4D3D2D1D0
VENDOR_ID[15:8]
VENDOR_ID[7:0]
DEVICE_ID[15:8]
DEVICE_ID[7:0]
POR Value
BitNameR/WFunction
15:0DEVICE_IDROThe Device ID for the SAA7780, function 1 is 0305h.
Command Register - COMMAND (RO/RW)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 04h
POR Value
1999 Sep 3047
00000101
RRRRRRFBACK_
ENB
00000000
D7D6D5D4D3D2D1D0
SERR_R
ESP
Page 48
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
STEP-
PING
POR Value
BitNameR/WFunction
15:10RROReserved. These bits always return zero.
9FBACK_ENBROFast Back-to-Back Enable: the SAA7780, function 1 does not support fast
8SERR_RESPRWSystem Error Response: When set to 1, the SAA7780, function 1 responds to
7STEPPINGROAddress / Data Stepping: Always returns 0.
6PERR_RESPRWParity Error Response: When set to 1, the SAA7780, function 1 responds to
5SNOOP_ENBROVGA Snoop Enable. The SAA7780, function 1 does not support VGA snoop
4MEM_INV_ENROMemory Write and Invalidate Enable: Always returns 0.
3SPEC_CNTLROSpecial Cycle Control: Controls the devices ability to respond to Special
00000000
PERR_
RESP
SNOOP_
ENB
back to back master cycles therefore this bit always returns a zero.
detected PCI bus address parity errors by asserting SERR#. When 0, the
SAA7780 ignores these errors.
detected PCI bus data parity errors by asserting PERR#. When 0, the
SAA7780 ignores PCI bus data parity errors.
enable, therefor this bit always returns a zero.
Cycle Operations. A value of 0 causes the SAA7780, function 1 to ignore all
Special Cycles.
MEM_
INV_EN
SPEC_
CNTL
MAST_
CNTL
MEM_
CNTL
IO_
CNTL
2MAST_CNTLROMaster Control: The SAA7780, function 1 does not have any master
functions.
1MEM_CNTLROMemory Response Control: The SAA7780, function 1 does not support target
memory cycles therefore this bit always returns a zero.
0IO_CNTLRWI/O Response Control: Controls the SAA7780, function 1’s response to I/O
space. A value of 0 disables the device response. A value of 1 allows the
device to respond to I/O space accesses.
Status Register - STATUS (RO/RW)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 06h
POR Value
POR Value
R_PERRS_SERRSM_
ABORT
00000010
D7D6D5D4D3D2D1D0
F_
BK2BK
10000000
UDFMHz66RRRRR
RT_
ABORT
ST_
ABORT
DEVSEL_TMGS_PERR
1999 Sep 3048
Page 49
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
15R_PERRRCReceived Parity Error: When set to 1, this bit indicates that the SAA7780,
function 1 has detected a PCI bus parity error at least once since this bit was
last reset.
14S_SERRRCSignalled System Error: When set to 1, this bit indicates that the SAA7780,
function 1 has reported a system error on the SERR# signal at least once
since this bit was last reset.
13SM_ABORTROSignalled Master Abort: The SAA7780, function 1, does not act as a master.
12RT_ABORTROReceived Target Abort: The SAA7780, function 1 does not act as a master.
11ST_ABORTRCSignalled Target Abort: When set to 1, this bit indicates that the SAA7780,
function 1 has signalled a target abort at least once since this bit was last
reset.
10:9DEVSEL_TMGRODEVSEL Timing: This field indicates the timing of the DEVSEL output (when
a PCI master is accessing a SAA7780, function 1 resource). It always returns
01 (Bin).
00 = Fast
01 = Medium (Default Timing)
10 = Slow
8S_PERRROSignalled Parity Error: The SAA7780, function 1, does not act as a bus
master.
7F_BK2BKROAlways returns 1 to indicate support of fast back to back cycles when the
SAA7780, function 1 is the target.
6UDFROUser Definable Features. Always returns 0.
5MHz66RO66 MHz Capable. Always returns 0.
4:0RROReserved. These bits always return zero.
Note: An RC indicates that this bit can be reset to 0 by writing a 1. Writing a zero leaves this bit unchanged.
Revision ID Register - REVISION (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 08h
POR Value
BitNameR/WFunction
7:0REVISION_IDROThe current revision ID for the SAA7780 joystick.
00000000
REVISION_ID[7:0]
1999 Sep 3049
Page 50
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Class Code Register - CLASS (RO)
PCI CFG 1D23D22D21D20D19D18D17D16
Offset 09h
POR Value
POR Value
POR Value
BitNameR/WFunction
23:16BASE_CLASSROThe base class of 09h describes an input device.
15:8SUB_CLASSROThe sub class of 80h describes a “other” input controller.
7:0PGM_IFACERODevice generic function identification.
00001001
D15D14D13D12D11D10D9D8
10000000
D7D6D5D4D3D2D1D0
00000000
BASE_CLASS[7:0]
SUB_CLASS[7:0]
PGM_IFACE[7:0]
CACHELINE Size Register - CACHELINE (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 0Ch
POR Value
BitNameR/WFunction
7:0CACHELINEROReserved for cache line size indicator.
Master Latency Timer Register - LATIME (RW)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 0Dh
POR Value
00000000
00000000
CACHELINE[7:0]
LATIME[7:0]
1999 Sep 3050
Page 51
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:0LATIMEROThe primary bus latency timer specifies the number of primary clocks that the
primary master may consume. It is set to zero since the joystick is a target
only.
Header Type Register - HEADER (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
MULTI_
Offset 0Eh
POR Value
BitNameR/WFunction
7MULTI_FNROFor the SAA7780, function 1, this bit has no meaning.
6:0HEADERROHeader Type. A 00h indicates this device is not a PCI-to-PCI bridge.
BIST Register - BIST (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 0Fh
POR Value
BitNameR/WFunction
7BISTROBIST capable. BIST is not supported in the SAA7780, function 1 at this
FN
10000000
BISTSTARTRRCODE[3:0]
00000000
revision.
HEADER[6:0]
6STARTROIf BIST capable, this bit will start the BIST. Writing a 1 will start the test and
5:4RROReserved. These bits always return zero.
3:0CODEROCompletion Code. A value of zero means the device has passed its test.
SAA7780 CFG Space 1 Legacy Base Address Registers
The SAA7780, contains one legacy I/O base registers in configuration space 1. The joystick is the sole legacy I/O base
address register and is documented here.
1999 Sep 3051
the BIST should write this bit to a zero when complete. Software should fail
the device if the BIST is not complete after 2 seconds.
Non-zero values means the device has failed using device specific failure
codes.
Page 52
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Game Port (Joystick) Base Address - GMBASE (RW/RO)
PCI CFG 1D31D30D29D28D27D26D25D24
Offset 10h
POR Value
POR Value
POR Value
POR Value
BitNameR/WFunction
00000000
D23D22D21D20D19D18D17D16
00000000
D15D14D13D12D11D10D9D8
00000000
D7D6D5D4D3D2D1D0
GMBASE[7:3]RRIO
00000001
GMBASE[31:24]
GMBASE[23:16]
GMBASE[15:8]
31:3GMBASERWGame port programmable base address. The address should be on a 8 byte
boundary. For reference, the game port legacy base address is 201h.
2:1RROReserved. These bits are reserved and always return zeros for plug and play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
Subsystem Vendor ID - SUBVENID (RO)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 2Ch
POR Value
POR Value
00010000
D7D6D5D4D3D2D1D0
00000100
SUBVEN_ID[15:8]
SUBVEN_ID[7:0]
1999 Sep 3052
Page 53
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
15:0SUBVEN_IDROSubsystem Vendor ID. The Subsystem Vendor ID register allows the
manufacturer to uniquely identify their board since more than one board OEM
may use the SAA7780 chip. The Subsystem Vendor ID register is loaded by
an external EEPROM via the Serial Configuration Port after reset and before
any access to the PCI configuration header. The PCI target logic should force
a retry if the Subsystem Vendor ID register has not completed loading. The
Subsystem Vendor ID is read only to the PCI interface. If no external
EEPROM is present, then the default Subsystem Vendor ID is 1004h, that of
Philips Semiconductors (VLSI Technology).
Subsystem ID - SUBSYSID (RO)
PCI CFG 1D15D14D13D12D11D10D9D8
Offset 2Eh
POR Value
POR Value
BitNameR/WFunction
15:0SUBSYS_IDROSubsystem ID. The Subsystem ID register allows the manufacturer to
Interrupt Line Register - INTLINE (RO)
00000011
D7D6D5D4D3D2D1D0
00000101
uniquely identify their board since more than one board OEM may use the
SAA7780 chip. The Subsystem ID register is loaded by an external EEPROM
via the Serial Configuration Port after reset and before any access to the PCI
configuration header. The PCI target logic should force a retry if the
Subsystem ID register has not completed loading. The Subsystem ID is read
only to the PCI interface. If no external EEPROM is present, then the default
Subsystem ID is 0305h, identical to the SAA7780 function 1 Device ID.
SUBSYS_ID[15:8]
SUBSYS_ID[7:0]
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 3Ch
POR Value
1999 Sep 3053
INTLINE[7:0]
00000000
Page 54
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:0INTLINEROInterrupt Line. The Interrupt Line register is an eight bit register used to
communicate interrupt line routing information. The value in this register tells
which input of the system interrupt controller(s) the SAA7780 Device's
interrupt pin is connected to. It is set to 00h to use function 0’s interrupt line.
There is no legacy interrupt support for function 1.
Interrupt PIN Register - INTPIN (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 3Dh
POR Value
BitNameR/WFunction
7:0INTPINROInterrupt Pin. The interrupt pin register tells which interrupt the SAA7780
MIN_GNT Register - MINGNT (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 3Eh
POR Value
BitNameR/WFunction
7:0MINGNTROMinimum grant specifies how long of a burst period the device needs
00000000
device uses. The read only value of 00h implies that the SAA7780 device
shares the INT A interrupt pin with function 0. There is no legacy interrupt
support for function 1.
00000000
assuming a clock speed of 33MHz. Since the SAA7780, function 1, is a
target only, this register is read only and set to zero.
INTPIN[7:0]
MINGNT[7:0]
MAX_LAT Register - MAXLAT (RO)
PCI CFG 1D7D6D5D4D3D2D1D0
Offset 3Fh
POR Value
1999 Sep 3054
MAXLAT[7:0]
00000000
Page 55
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:0MAXLATROMaximum latency specifies how often a device needs to gain access to the
PCI bus. The SAA7780, function 1, is a target only, this register is read only
and set to zero.
PCI Configuration Space 2
The following table is a summary of all the PCI configuration space registers. The registers that are block-mates with
the PCI interface (offset 00h - 3Ch) will be detailed following this table. The remainder of the registers will be detailed
with the blocks they control. This register space is for the 16650 UART.
PCI Configuration Space 2 Register Map
Byte 3Byte 2Byte 1Byte 0Offset
Device IDVendor ID00h
StatusCommand04h
Class CodeRevision ID08h
BISTHeader TypeMaster Latency TimerCache Line Size0Ch
PCI CFG 2D15D14D13D12D11D10D9D8
Offset 00h
POR Value
POR Value
BitNameR/WFunction
15:0VENDOR_IDROThe PCI Vendor ID for Philips Semiconductors (VLSI Technology) is 1004h.
1999 Sep 3055
VENDOR_ID[15:8]
00010000
D7D6D5D4D3D2D1D0
VENDOR_ID[7:0]
00000100
Page 56
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Device ID Register - DEVICE_ID (RO)
PCI CFG 2D15D14D13D12D11D10D9D8
Offset 02h
POR Value
POR Value
BitNameR/WFunction
15:0DEVICE_IDROThe Device ID for the SAA7780, function 2 is 0306h.
Command Register - COMMAND (RO/RW)
PCI CFG 2D15D14D13D12D11D10D9D8
Offset 04h
POR Value
00000011
D7D6D5D4D3D2D1D0
00000110
RRRRRRFBACK_
00000000
D7D6D5D4D3D2D1D0
DEVICE_ID[15:8]
DEVICE_ID[7:0]
SERR_R
ENB
ESP
STEP-
PING
POR Value
BitNameR/WFunction
15:10RROReserved. These bits always return zero.
9FBACK_ENBROFast Back-to-Back Enable: the SAA7780, function 2 does not support fast
8SERR_RESPRWSystem Error Response: When set to 1, the SAA7780, function 2 responds to
7STEPPINGROAddress / Data Stepping: Always returns 0.
6PERR_RESPRWParity Error Response: When set to 1, the SAA7780, function 2 responds to
5SNOOP_ENBROVGA Snoop Enable. The SAA7780, function 2 does not support VGA snoop
00000000
PERR_
RESP
SNOOP_
ENB
back to back master cycles therefore this bit always returns a zero.
detected PCI bus address parity errors by asserting SERR#. When 0, the
SAA7780 ignores these errors.
detected PCI bus data parity errors by asserting PERR#. When 0, the
SAA7780 ignores PCI bus data parity errors.
enable, therefor this bit always returns a zero.
MEM_
INV_EN
SPEC_
CNTL
MAST_
CNTL
MEM_
CNTL
IO_
CNTL
1999 Sep 3056
Page 57
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
4MEM_INV_ENROMemory Write and Invalidate Enable: Always returns 0.
3SPEC_CNTLROSpecial Cycle Control: Controls the devices ability to respond to Special
Cycle Operations. A value of 0 causes the SAA7780, function 2 to ignore all
Special Cycles.
2MAST_CNTLROMaster Control: The SAA7780, function 2 does not have any master
functions.
1MEM_CNTLROMemory Response Control: The SAA7780, function 2 does not support target
memory cycles therefore this bit always returns a zero.
0IO_CNTLRWI/O Response Control: Controls the SAA7780, function 2’s response to I/O
space. A value of 0 disables the device response. A value of 1 allows the
device to respond to I/O space accesses.
Status Register - STATUS (RO/RW)
PCI CFG 2D15D14D13D12D11D10D9D8
R_PERRS_SERRSM_
Offset 06h
POR Value
POR Value
BitNameR/WFunction
15R_PERRRCReceived Parity Error: When set to 1, this bit indicates that the SAA7780,
14S_SERRRCSignalled System Error: When set to 1, this bit indicates that the SAA7780,
13SM_ABORTROSignalled Master Abort: The SAA7780, function 2, does not act as a master.
12RT_ABORTROReceived Target Abort: The SAA7780, function 2 does not act as a master.
00000010
D7D6D5D4D3D2D1D0
F_
BK2BK
10000000
UDFMHz66RRRRR
function 2 has detected a PCI bus parity error at least once since this bit was
last reset.
function 2 has reported a system error on the SERR# signal at least once
since this bit was last reset.
ABORT
RT_
ABORT
ST_
ABORT
DEVSEL_TMGS_PERR
11ST_ABORTRCSignalled Target Abort: When set to 1, this bit indicates that the SAA7780,
1999 Sep 3057
function 2 has signalled a target abort at least once since this bit was last
reset.
Page 58
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
10:9DEVSEL_TMGRODEVSEL Timing: This field indicates the timing of the DEVSEL output (when
a PCI master is accessing a SAA7780 resource). It always returns 01 (Bin).
00 = Fast
01 = Medium (Default Timing)
10 = Slow
8S_PERRROSignalled Parity Error: The SAA7780, function 2, does not act as a bus
master.
7F_BK2BKROAlways returns 1 to indicate support of fast back to back cycles when the
SAA7780, function 2 is the target.
6UDFROUser Definable Features. Always returns 0.
5MHz66RO66 MHz Capable. Always returns 0.
4:0RROReserved. These bits always return zero.
Note: An RC indicates that this bit can be reset to 0 by writing a 1. Writing a zero leaves this bit unchanged.
Revision ID Register - REVISION (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 08h
POR Value
BitNameR/WFunction
7:0REVISION_IDROThe current revision ID for the SAA7780, function 2 joystick.
Class Code Register - CLASS (RO)
PCI CFG 2D23D22D21D20D19D18D17D16
Offset 09h
POR Value
POR Value
00000000
00000111
D15D14D13D12D11D10D9D8
00000000
REVISION_ID[7:0]
BASE_CLASS[7:0]
SUB_CLASS[7:0]
POR Value
1999 Sep 3058
D7D6D5D4D3D2D1D0
PGM_IFACE[7:0]
00000010
Page 59
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
23:16BASE_CLASSROThe base class of 07h describes simple communication devices.
15:8SUB_CLASSROThe sub class of 00h describes serial controllers.
7:0PGM_IFACEROThe interface of 02h details a 16550 compatible serial controller.
CACHELINE Size Register - CACHELINE (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 0Ch
POR Value
BitNameR/WFunction
7:0CACHELINEROReserved for cache line size indicator.
Master Latency Timer Register - LATIME (RW)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 0Dh
POR Value
BitNameR/WFunction
7:0LATIMEROThe primary bus latency timer specifies the number of primary clocks that the
Header Type Register - HEADER (RO)
00000000
00000000
primary master may consume. It is set to zero since the 16650 UART is a
target only.
CACHELINE[7:0]
LATIME[7:0]
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 0Eh
POR Value
BitNameR/WFunction
7MULTI_FNROFor the SAA7780, function 2, this bit has no meaning.
6:0HEADERROHeader Type. A 00h indicates this device is not a PCI-to-PCI bridge.
1999 Sep 3059
MULTI_
FN
10000000
HEADER[6:0]
Page 60
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BIST Register - BIST (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 0Fh
POR Value
BitNameR/WFunction
7BISTROBIST capable. BIST is not supported in the SAA7780, function 2 at this
6STARTROIf BIST capable, this bit will start the BIST. Writing a 1 will start the test and
5:4RROReserved. These bits always return zero.
3:0CODEROCompletion Code. A value of zero means the device has passed its test.
SAA7780 CFG Space 1 Legacy Base Address Registers
The SAA7780, contains one legacy I/O base registers in configuration space 1. The joystick is the sole legacy I/O base
address register and is documented here.
16650 UART Base Address- UARTBASE (RW/RO)
BISTSTARTRRCODE[3:0]
00000000
revision.
the BIST should write this bit to a zero when complete. Software should fail
the device if the BIST is not complete after 2 seconds.
Non-zero values means the device has failed using device specific failure
codes.
PCI CFG 2D31D30D29D28D27D26D25D24
Offset 10h
POR Value
POR Value
POR Value
POR Value
00000000
D23D22D21D20D19D18D17D16
00000000
D15D14D13D12D11D10D9D8
00000000
D7D6D5D4D3D2D1D0
UARTBASE[7:3]RRIO
00000001
UARTBASE[31:24]
UARTBASE[23:16]
UARTBASE[15:8]
1999 Sep 3060
Page 61
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
31:3UARTBASERW16650 UART base address. The address should be on a 8 byte boundary. For
reference, 550 compatible UART legacy base addresses are 3E8h, 338h, 2E8h,
220h, 238h, 2E0h, 228h, 3F8h, and 2F8h.
2:1RROReserved. These bits are reserved and always return zeros for plug and play.
0IOROI/O flag. This read only bit indicates that this is an I/O range.
Subsystem Vendor ID - SUBVENID (RO)
PCI CFG 2D15D14D13D12D11D10D9D8
Offset 2Ch
POR Value
POR Value
BitNameR/WFunction
15:0SUBVEN_IDROSubsystem Vendor ID. The Subsystem Vendor ID register allows the
Subsystem ID - SUBSYSID (RO)
00010000
D7D6D5D4D3D2D1D0
00000100
manufacturer to uniquely identify their board since more than one board OEM
may use the SAA7780 chip. The Subsystem Vendor ID register is loaded by
an external EEPROM via the Serial Configuration Port after reset and before
any access to the PCI configuration header. The PCI target logic should force
a retry if the Subsystem Vendor ID register has not completed loading. The
Subsystem Vendor ID is read only to the PCI interface. If no external
EEPROM is present, then the default Subsystem Vendor ID is 1004h, that of
Philips Semiconductors (VLSI Technology).
SUBVEN_ID[15:8]
SUBVEN_ID[7:0]
PCI CFG 2D15D14D13D12D11D10D9D8
Offset 2Eh
POR Value
POR Value
1999 Sep 3061
SUBSYS_ID[15:8]
00000011
D7D6D5D4D3D2D1D0
SUBSYS_ID[7:0]
00000110
Page 62
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
15:0SUBSYS_IDROSubsystem ID. The Subsystem ID register allows the manufacturer to
uniquely identify their board since more than one board OEM may use the
SAA7780 chip. The Subsystem ID register is loaded by an external EEPROM
via the Serial Configuration Port after reset and before any access to the PCI
configuration header. The PCI target logic should force a retry if the
Subsystem ID register has not completed loading. The Subsystem ID is read
only to the PCI interface. If no external EEPROM is present, then the default
Subsystem ID is 0306h, identical to the SAA7780 function 2 Device ID.
Interrupt Line Register - INTLINE (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 3Ch
POR Value
BitNameR/WFunction
7:0INTLINEROInterrupt Line. The Interrupt Line register is an eight bit register used to
Interrupt PIN Register - INTPIN (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 3Dh
POR Value
BitNameR/WFunction
7:0INTPINROInterrupt Pin. The interrupt pin register tells which interrupt the SAA7780
00000000
communicate interrupt line routing information. The value in this register tells
which input of the system interrupt controller(s) the SAA7780 Device's
interrupt pin is connected to. It is set to 00h to use function 0’s interrupt line.
There is no legacy interrupt support for function 2.
00000000
device uses. The read only value of 00h implies that the SAA7780 device
shares the INT A interrupt pin with function 0. There is no legacy interrupt
support for function 2.
INTLINE[7:0]
INTPIN[7:0]
MIN_GNT Register - MINGNT (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 3Eh
1999 Sep 3062
MINGNT[7:0]
Page 63
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
POR Value
BitNameR/WFunction
7:0MINGNTROMinimum grant specifies how long of a burst period the device needs
MAX_LAT Register - MAXLAT (RO)
PCI CFG 2D7D6D5D4D3D2D1D0
Offset 3Fh
POR Value
BitNameR/WFunction
7:0MAXLATROMaximum latency specifies how often a device needs to gain access to the
00000000
assuming a clock speed of 33MHz. Since the SAA7780, function 2, is a
target only, this register is read only and set to zero.
MAXLAT[7:0]
00000000
PCI bus. The SAA7780, function 2, is a target only, this register is read only
and set to zero.
Multimedia Timer
Overview
The Multimedia Timer is a 20 bit, 1 microsecond resolution timer that is used for game audio/video synchronization. The
timer subsystem consists of the actual 20-bit timer and I/O space registers to report the status and count.
In a hypothetical operation, the multimedia timer is started at the end of a set of audio commands. The timer then starts
counting while the game control will play its video frames. If the system interrupts the video while the audio is playing,
the game application can read to multimedia timer to see which video frame should be displayed and make corrections
as necessary. The counter value must be read in three PS bus cycles.
The 1-uS resolution timer will get its time base from dividing down the OSC clock. An interrupt and flag is provided to
determine if the timer count has rolled over. The timer can either start from zero or be preloaded with a start value. Only
8 bit accesses are allowed to this device.
1999 Sep 3063
Page 64
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
FIGURE 6Multimedia Timer Block Diagram
OSC
PS BUS
CLOCK
DIVIDE
LOGIC
CTL
INTERNAL
PS BUS
INTERFACE
COUNTER CLOCK
CTL
COUNT
INTR
INTERRUPT
GENERATION
LOGIC
20 BIT - 1uS
RESOLUTION
UP COUNTER
Multimedia Timer Register Definition
There are five registers that control the multimedia timer. These registers are the timer control register, timer status,
and timer count registers. The timer control register resides in PCI configuration space. The remainder of the timer
registers are in I/O space.
PCI CFG 0
Offset 64hRRRRRFSTCLKTMRRSTR
POR Value00000000
BitNameR/WFunction
7:3RROReserved. These bits return zeros.
1999 Sep 3064
D7D6D5D4D3D2D1D0
Page 65
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
2FSTCLKRWFast clock enable. When set, the timer counter will use the PCI clock instead
of the 1 micro second timer clock. This function will reduce the simulation and
test time of the timer.
1TMRRSTRWTimer reset. When set, this bit holds the multimedia timer in reset. The
multimedia timer is also reset by the system reset.
0RROReserved. This bit returns a zero.
Multimedia Timer I/O Space Registers
Multimedia Timer Status Register - TMSTAT (RW/RO)
SONGBASE
Offset 00h
POR Value00000000
BitNameR/WFunction
7:4RROReserved. These bits return zeros.
3TPLDRWTimer preload indicator. When set, this indicates the timer will start counting
2TRESUMERWTimer resume. When set, the timer will resume counting at the next 1uS
1TMINTRCTimer interrupt. When asserted, the multimedia timer has flagged an interrupt
0TINTENRWTimer interrupt enable. When set, the multimedia timer will generate an
Multimedia Timer Count Registers
There are three registers required to hold the timer value. These three registers can be read at different cycles, It is
recommended that the least significant byte be read first for the most accuracy.
D7D6D5D4D3D2D1D0
RRRRTPLDTRE-
SUME
from the values set in the timer count registers. When cleared, the timer will
start counting from zero or its last value when stopped
clock edge. When cleared, the timer will stop counting.
when the timer has counted to zero. The timer will continue to count. Writing
a one to this bit will clear the interrupt.
SONGBASE
Offset 03hRRRRTMCOUNT2[7:0]
POR Value00000000
1999 Sep 3065
D7D6D5D4D3D2D1D0
Page 66
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
BitNameR/WFunction
7:4RROReserved. These bits return zeros.
3:0TMCOUNT2RWHigh nibble timer count. This nibble is the most significant digits of the timer
value.
Multimedia Timer Count Register 1 - TMCOUNT1 (RW)
SONGBASE
Offset 02hTMCOUNT1[7:0]
POR Value00000000
BitNameR/WFunction
7:0TMCOUNT1RWMiddle byte timer count. This byte is the middle significant digits of the timer
Multimedia Timer Count Register 0 - TMCOUNT0 (RW)
SONGBASE
Offset 01hTMCOUNT0[7:0]
POR Value00000000
BitNameR/WFunction
7:0TMCOUNT0RWLow byte timer count. This byte is the least significant digits of the timer
D7D6D5D4D3D2D1D0
value.
D7D6D5D4D3D2D1D0
value.
1999 Sep 3066
Page 67
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
Absolute Maximum Ratings
Absolute maximum ratings are those values which damage to the device may occur. Functional operation under these
conditions or at any other condition beyond those indicated in the operational sections of this specification is not
implied.1
Power Supply Operating Requirements
SAA7780 Minimum VDD Operating Requirement
IMPORTANT: The SAA7780 requires VDD >= 3.0V. If VDD < 3.0V, excessive damage from hot electrons might occur.
SAA7780 Power Supply Sequencing Requirement
0 <= (NWELL - VDD) < 4.0V
IMPORTANT: The 5.0V (NWELL) supply must power up ahead of the 3.3V (VDD, not VDDIC) supply. Likewise, the
3.0V supply must power down before the 5.0V supply. More specifically, the voltage level of the 5.0V supply must
always exceed, or at least equal, the voltage level of the 3.3V supply during power up or down, but not by more than
4.0V. This is due the biasing of the P+ source junctions and that some pad gate oxides see the (NWELL-VDD) voltage
level. If this level exceeds 4.0V or becomes less than 0V, damage will occur.
Device Maximum Ratings
The following table notes both the operating and non-operating conditions for both the 3.0V and 5.0V tolerant pads.
Remember that the ranges imply an operating range unless otherwise noted. The 5.0V tolerant pads signal at 3.0V
levels and are CMOS and TTL compatible.
Non-Operating Core and Ring Supply VoltageVDD, VDDIC-0.5V to 4.6V *
Operating Core Supply VoltageVDDIC-0.5V to 3.63V *
Operating Ring Supply VoltageVDD3.0V to 3.63V *
5V Tolerant Supply (5.0V nominal supply)NWELL-0.5V to 5.5V *
NWELL to VDD DifferentialNWELL-VDD0 ≤ (NWELL-VDD) < 4.0V
3V Tolerant I/O DC Input VoltageV
3V Tolerant I/O DC Output VoltageV
5V Tolerant I/O DC Input VoltageV
5V Tolerant I/O DC Output VoltageV
DC Input Current (at VI < 0V or VI > VDD)I
DC Output Current (at VO < 0V or VO > VDD)I
I3
O3
I5
O5
I
O
0°C to +70°C
-65°C to +150°C
-0.5V to VDD+0.5V (≤ 4.6V max)+
-0.5V to VDD+0.5V (≤ 4.6V max)+
-0.5V to 5.5V (≤ 6.0V max)+
-0.5V to VDD+0.5V (≤ 4.6V max)+
± 20mA
± 20mA
1. Adapted from the JEDEC standards JESD8-A and JESD36.
1999 Sep 3067
Page 68
ThunderBird Q3D PCI AudioSAA7780
Philips Semiconductors
Product Specification
Accelerator
ConditionSymbolMaximum Ratings
Power DissipationP
D
500mW
*Refer to Section 3.1 to ensure proper power supply sequencing as well as voltage ranges.
+Items in parenthesis are non-operating conditions.
DC Characteristics
All parameters apply across the recommended operating temperature range unless noted.
Recommended Operating Conditions
SymbolParameterMinMaxUnitsNotes
T
A
VDDRing Power Supply3.153.63VVSS = 0V typical
NWELL5V Tolerant Supply4.755.50VSee IMPORTANT notes on
V
IN
V
IN
V
OUT
DC Characteristics of CMOS and TTL Inputs
Ambient Temperature0+70°C
previous page.
Input Signal Voltage05.50VFor 5.0V tolerant inputs only.
Input Signal Voltage0VDD+.3VFor 3.3V signal inputs only.
1. Refer to the PCI LOCAL BUS SPECIFICATION, revision 2.1, June 1995 for DC current capabilities on the PCI bus.
Refer to the Audio Codec’97 Specification, revision 1.02, for DC current capabilities on the AC-Link interface.
1999 Sep 3069
Page 70
Philips SemiconductorsProduct specification
SAA7780ThunderBird Q3D PCI Audio Accelerator
Data sheet status
Data sheet
status
Objective
specification
Preliminary
specification
Product
specification
Product
status
Development
Qualification
Production
Definition
This data sheet contains the design target or goal specifications for product development.
Specification may change in any manner without notice.
This data sheet contains preliminary data, and supplementary data will be published at a later date.
Philips Semiconductors reserves the right to make changes at any time without notice in order to
improve design and supply the best possible product.
This data sheet contains final specifications. Philips Semiconductors reserves the right to make
changes at any time without notice in order to improve design and supply the best possible product.
[1]
[1] Please consult the most recently issued datasheet before initiating or completing a design.
Definitions
Short-form specification — The data in a short-form specification is extracted from a full data sheet with the same type number and title. For
detailed information see the relevant data sheet or data handbook.
Limiting values definition — Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one
or more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation of the device at these or
at any other conditions above those given in the Characteristics sections of the specification is not implied. Exposure to limiting values for extended
periods may affect device reliability.
Application information — Applications that are described herein for any of these products are for illustrative purposes only. Philips
Semiconductors make no representation or warranty that such applications will be suitable for the specified use without further testing or
modification.
Disclaimers
Life support — These products are not designed for use in life support appliances, devices or systems where malfunction of these products can
reasonably be expected to result in personal injury . Philips Semiconductors customers using or selling these products for use in such applications
do so at their own risk and agree to fully indemnify Philips Semiconductors for any damages resulting from such application.
Right to make changes — Philips Semiconductors reserves the right to make changes, without notice, in the products, including circuits, standard
cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no
responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these
products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless
otherwise specified.
Philips Semiconductors
811 East Arques Avenue
P.O. Box 3409
Sunnyvale, California 94088–3409
Telephone 800-234-7381
Copyright Philips Electronics North America Corporation 1999
All rights reserved. Printed in U.S.A.
Date of release: 09-99
Document order number:9397 750 06456
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.