Register description
STA335W
5.9
5.9.1
5.9.2
5.9.3
5.9.4
5.9.5
Note:
User-defined coefficient control registers (addr 0x16 - 0x26)
Coefficient address register
D7
D6
D5
D4
D3
D2
D1
D0
CFA5
CFA4
CFA3
CFA2
CFA1
CFA0
0
0
0
0
0
0
Coefficient data register bits 23:16
D7
C1B23
0
D6
C1B22
0
D5
C1B21
0
D4
C1B20
0
Coefficient data register bits 15:8
D3
C1B19
0
D2
C1B18
0
D1
C1B17
0
D0
C1B16
0
D7
C1B15
0
D6
C1B14
0
D5
C1B13
0
D4
C1B12
0
Coefficient data register bits 7:0
D3
C1B11
0
D2
C1B10
0
D1
C1B9
0
D0
C1B8
0
D7
C1B7
0
D6
C1B6
0
D5
C1B5
0
D4
C1B4
0
D3
C1B3
0
D2
C1B2
0
D1
C1B1
0
D0
C1B0
0
Coefficient write/read control register
D7
D6
D5
D4
D3
D2
D1
D0
Reserved
Reserved
R1
Reserved
W1
0
0
0
0
0
Coefficients for user-defined scaling are handled internally in the STA335W via RAM.
Access to this RAM is available to the user via an I2C register interface. A collection of I2C
registers are dedicated to this function. One contains a coefficient base address, five sets of
three store the values of the 24-bit coefficients to be written or that were read, and one
contains bits used to control the write/read of the coefficient(s) to/from RAM.
The read and write operation on RAM coefficients works only if LRCKI (pin 29) is switching.
Reading a coefficient from RAM
1. Select the RAM block with register 0x31 bit1, bit0.
2. Write 6-bits of address to I2C register 0x16.
3. Write 1 to R1 bit in I2C address 0x26.
4. Read top 8-bits of coefficient in I2C address 0x17.
5. Read middle 8-bits of coefficient in I2C address 0x18.
6. Read bottom 8-bits of coefficient in I2C address 0x19.
32/43