Philips Semiconductors
Product specification
Multimedia bridge, high performance
Scaler and PCI circuit (SPCI)
SAA7146A
7.2.6
STATUS INFORMATION OF THE PCI INTERFACE
Table 9 lists the status information that the PCI interface makes available to the user in addition to the interrupt sources
that are described later. This information is read only.
Table 9 Status bits of the DMA control
OFFSET
NAME
BIT
TYPE
DESCRIPTION
logical video DMA pointer of FIFO 1
(HEX)
120
124
128
12C
130
134
138
13C
VDP1
VDP2
VDP3
ADP1
ADP2
ADP3
ADP4
DDP
31 to 0
31 to 0
31 to 0
31 to 0
31 to 0
31 to 0
31 to 0
31 to 0
R
R
R
R
R
R
R
R
logical video DMA pointer of FIFO 2l
logical video DMA pointer of FIFO 3
logical audio DMA pointer of audio output FIFO A1_out
logical audio DMA pointer of audio input FIFO A1_in
logical audio DMA pointer of audio output FIFO A2_out
logical audio DMA pointer of audio input FIFO A2_in
logical DEBI DMA pointer
The programming of registers for the 3 Video DMA
channels, both video processors (HPS, BRS) and for the
interfaces DEBI and I2C-bus is performed by an upload
method. This is done to guarantee coherent programming
data. During initiation of an upload operation from a
shadow RAM each of the UPLD bits [10 to 0] (see
Table 11) is assigned to a set of registers. If a logic 1 is
written into a UPLD bit all dedicated shadow RAM
registers containing changed data are uploaded into their
working registers immediately. During a read cycle the
UPLD bits give information on whether the shadow RAM
contains changed data not yet uploaded into the working
registers. The UPLD bits remain HIGH as long as the
contents of the shadow RAM represents the current
programming
7.3
7.3.1
Main control
GENERAL
The SAA7146A has two Dwords of general control to
support quick enable/disable switching of any activity of
the SAA7146A via direct access by the CPU. These main
control Dwords are split in two parts. The upper parts have
16 bits of bit-mask to allow bit-selective write to the lower
part which contains single bit enable/disable control of
major interface functions of SAA7146A. If a certain bit
position is masked with a logic 1 in the mask word (upper
2 bytes) during a write access, then the corresponding bit
in the control word (lower 2 bytes) is changed according to
the contents of the transmitted data. By that the CPU can
easily switch on or off certain selected interfaces of the
SAA7146A without checking the actual ‘remaining’
programming (enabling) of the other parts.
1998 Apr 09
32