PRELIMINARY DATA SHEET
MAS 3507D
3.3.2. Read Control Interface Data
act with built-in hardware blocks. A list of useful regis-
ters is given in the next section.
1) send command
Example: Muting can be realized by writing the value 1
into the register with the number $aa:
dev_write
data_write
$3, x2
x1,x0
d1,d0
S
A
A S
A S
A
A P
<$3a><$68><$9a><$a1><$00><$00>
2) get ancillary data values
dev_write data_read
dev_read
d3, d2
S
A
3.3.4. Write D0 Memory
(ancillary word 0)
A
A
....repeat for n data values....
d3, d2 d1,d0
Nak
A
A
P
dev_write
data_write
$A, $0
n3,n2
a3,a2
dn3,dn2
$0,$0
$0,$0
n1,n0
a1,a0
d1,d0
$0,d4
S
A
A
A
A
A
A
A
A
A
A
A
x2...x0: combined count, offset value
d3...d0: 16-bit data values
An internal memory array keeps the status information
of the MAS 3507D (see Table 3–10). The ‘read control
interface data’ command can be used for quick access
to this memory array. A successive range of memory
locations may be read by passing a 6-bit offset value
“o” and a 6-bit count value “n” as parameter.
....repeat for n data values....
dn3,dn2
$0,$0
d1,d0
$0,d4
A
A
A
A
A P
n3..n0: number of words
a3..a0: start address in MASD memory
d4..d0: data value
Both values are combined in a 12-bit = 4 nibble field
x2, x1, x0. If, for example, 4 words (n = 4) starting with
one word offset (o = 2), i.e. the MPEG Status 2, the
CRCErrorCount, and NumberOfAncillaryBits are read
from the control memory array, the 3 nibbles x2, x1 and
x0 are evaluated as shown in the following table.
The MAS 3507D has 2 memory areas of 2048 words
each called D0 and D1 memory. For both memory
areas, read and write commands are provided.
Example: reconfiguration of the output to 16 bit without
delay has the following I2C protocol:
11
10
9
8
7
6
5
4
3
2
1
0
<$3a><$68><$a0><$00> (write D0 memory)
6-bit values
bit
offset: 2
number of words: 3
<$00><$01>
<$03><$2f>
<$00><$10>
<$00><$00>
(1 word to write)
(start address)
(value = $00010)
0
0
0
0
0
1
8
0
0
0
0
3
0
1
1
nibble
<$3a><$68><$04><$75> (run command)
The complete I2C protocol reads as:
3.3.5. Write D1 Memory
<$3a><$68><$30><$83>
<$3a><$69><$3b><receive 3 16-bit data values>
dev_write
data_write
$B, $0
n3,n2
a3,a2
dn3,dn2
$0,$0
$0,$0
n1,n0
a1,a0
d1,d0
$0,d4
S
A
A
A
A
A
A
A
A
A
A
A
The ‘read control interface data’ command resets the
MPEG-FRAME-SYNC at PI4 pin (see Section 2.9. on
page 16).
3.3.3. Write Register
....repeat for n data values....
dn3,dn2
$0,$0
d1,d0
$0,d4
A
A
A
A
dev_write
data_write
$9, r1
r0, d0
d2, d1
S
A
A
A
A
A
A P
n3..n0: number of words to be transmitted
a3..a0: start address in MASD memory
d4..d0: data value
d4, d3
A P
The
controller
writes
the
20-bit
value
(d = d4,d3,d2,d1,d0) into the MAS 3507D register
(r = r1,r0). In contrast to memory cells, registers are
always addressed individually, and they may also inter-
For further details, see ‘write D0 memory’ command.
Micronas
21