MAS 3507D
PRELIMINARY DATA SHEET
3.2.2. Conventions for the Command Description
3.3. Detailed MAS 3507D Command Syntax
The description of the various controller commands
uses the following formalism:
3.3.1. Run
– A data value is split into 4-bit nibbles which are num-
bered beginning with 0 for the least significant nib-
ble.
dev_write
data_write
a3,a2
a1,a0
S
A
A
A
A P
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 I2C 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.
– 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
d
n
o
r
address
data value
count value
offset value
register number
don’t care
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.
x
– Variables used in the following descriptions:
dev_write
dev_read
$3a
$3b
data_write $68
data_read $69
Example 1: ‘run’ at address $fcd (override start-up
configuration) has the following I2C protocol:
control
$6a
<$3a><$68><$0f><$cd>
Example 2: ‘run’ at address $475 (activate PLLOffset
and OutputConfig after change by write command) has
the following I2C protocol:
<$3a><$68><$04><$75>
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-
fast read of a block of information organized in 16-bit words (see Section
tion and Ancillary Data 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
read memory
The controller can read an internal register of the MAS 3507D.
A block of the DSP memory can be read by the controller.
$E
$F
20
Micronas