MAS 3507D
PRELIMINARY DATA SHEET
20
Micronas
3.2.2. Conventions for the Command Description
The description of the various controller commands
uses the following formalism:
– A data value is split into 4-bit nibbles which are num-
bered beginning with 0 for the least significant nib-
ble.
– Data values in nibbles are always shown in hexa-
decimal notation indicated by a preceding $.
– A hexadecimal 20-bit number d is written, e.g. as
d = $17C63, its five nibbles are
d0 = $3, d1 = $6, d2 = $C, d3 = $7, and d4 = $1.
–
Abbreviations
used in the following descriptions:
a
address
d
data value
n
count value
o
offset value
r
register number
x
don’t care
–
Variables
used in the following descriptions:
dev_write
$3a
dev_read
$3b
data_write
$68
data_read
$69
control
$6a
3.3. Detailed MAS 3507D Command Syntax
3.3.1. Run
The ‘run’
command causes the start of a program part
at address
a
= (a3,a2,a1,a0). The nibble a3 is
restricted to
$0
or
$1
which also acts as command
selector. Run with address
a = $0
will suspend normal
MPEG decoding and only I
2
C commands are evalu-
ated. This freezing will be required if alternative soft-
ware is downloaded into the internal RAM of the
MAS 3507D. Detailed information about downloading
is provided in combination with a MAS 3507D software
development package or together with MAS 3507D
software modules available from Micronas.
If the address $1400
≤
a
< $1800, the MAS 3507D
continues execution of the program with the down-
loaded code. For detailed information, please refer to
the MASC software development kit. This is for starting
the downloaded program code.
Example 1: ‘run’ at address $fcd (override start-up
configuration) has the following I
2
C protocol:
<$3a><$68><$0f><$cd>
Example 2: ‘run’ at address $475 (activate PLLOffset
and OutputConfig after change by write command) has
the following I
2
C protocol:
<$3a><$68><$04><$75>
S
dev_write
A
data_write
A
a3
,
a2
A
P
a1,a0
A
Table 3–4:
Basic controller commands
Code
Command
Comment
$0
$1
run
Start execution of an internal program. (Run 0 means freeze operating sys-
tem.)
$3
read Control Informa-
tion and Ancillary Data
fast read of a block of information organized in 16-bit words (see Section
3.7.1. on page 30)
$9
write register
An internal register of the MAS 3507D can be written directly to by the con-
troller.
$A
$B
write to memory
A block of the DSP memory can be written to by the controller. This feature
may be used to download alternate programs.
$D
read register
The controller can read an internal register of the MAS 3507D.
$E
$F
read memory
A block of the DSP memory can be read by the controller.