1997 Nov 17
32
Philips Semiconductors
Preliminary specification
ISO/MPEG Audio Source Decoder
SAA2502
Data is transferred to or from the SAA2502 in local register
units (1 byte). Local registers may be of readable and/or of
writeable type. A local register transfer is initiated by
writing the corresponding local register address. The local
register unit content is then transferred.
7.6.5.3
Register block type
Some sets of local registers are organized in blocks.
One local register address is assigned to a complete block.
The local register block address points to the first local
register of the block. Blocks may be accessed only
sequentially by reading or writing successively to the
individual members of the block. Reading or writing a
restricted type block may be interrupted if desired by
stopping at any location in the block. Transferring may
then continue later via a new block operation using a
special local address (provided that no other restricted
type local SAA2502 address has been sent since). This
special address is labelled ‘continue block’
(see Section 7.6.6.11).
The set of four APU registers is a special type that has an
auto increment option. The local addresses of these
registers are adjacent to each other. To save time there is
an option to programme them in sequence, in one I
2
C-bus
transmission.
After an initial local address (14H to 17H) the data for each
APU coefficient follows in sequence, without the need for
transmitting other local addresses. The auto increment will
(if required) scroll round from the last local address (17H)
back to the first local address (14H).
Only the APU registers have local addresses that provide
the auto increment option.
Several individual registers store more than one byte of
data. To program them, transmit their local address,
followed by all the data bytes, in sequence.
7.6.5.4
Restricted type registers
Some local registers and/or local register blocks are of the
so-called ‘restricted type’. Access of such registers is
subject to the following limitations:
Transfer speed in L3 mode is limited to 800 kbits/s.
There are no special speed limitations in I
2
C-bus mode
other than the 400 kbits/s specification limit. Both
maximum speeds are scaled down proportionally when
the MCLK24 frequency is below maximum.
Restricted registers should not be accessed more
frequently than once per audio frame.
Section 7.6.6 describes the category of each local
register/block.
7.6.6
L
OCAL REGISTERS
7.6.6.1
Status
The host may check the SAA2502 status by reading the
one byte status word. Reading status may be
accomplished in two ways:
Using the special read status protocol of the L3 mode
Using the normal data exchange protocol.
The status byte read branch of the protocol may be looped
an arbitrary number of times. If read is looped, status is
updated between individual readings. The status bits are
shown in Table 23.
Table 23
Status register: status is 1 byte (read-only, unrestricted type, local address = 1AH)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
DST1
DST1
undefined
undefined
undefined
undefined
INSYNC
undefined