Registers
STA308A
7.2.78 Coefficient write control register (0x4C)
D7
D6
D5
D4
D3
D2
D1
D0
WA
W1
0
0
Coefficients for EQ and Bass Management are handled internally in the STA308A 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 of the coefficient(s) to RAM. The
following are instructions for reading and writing coefficients.
7.3
Reading a coefficient from RAM
1. write top 2-bits of address to I2C register 0x3B
2. write bottom 8-bits of address to I2C register 0x3C
3. read top 8-bits of coefficient in I2C address 0x3D
4. read middle 8-bits of coefficient in I2C address 0x3E
5. read bottom 8-bits of coefficient in I2C address 0x3F
7.4
Reading a set of coefficients from RAM
1. write top 2-bits of address to I2C register 0x3B
2. write bottom 8-bits of address to I2C register 0x3C
3. read top 8-bits of coefficient in I2C address 0x3D
4. read middle 8-bits of coefficient in I2C address 0x3E
5. read bottom 8-bits of coefficient in I2C address 0x3F
6. read top 8-bits of coefficient b2 in I2C address 0x40
7. read middle 8-bits of coefficient b2 in I2C address 0x41
8. read bottom 8-bits of coefficient b2 in I2C address 0x42
9. read top 8-bits of coefficient a1 in I2C address 0x43
10. read middle 8-bits of coefficient a1 in I2C address 0x44
11. read bottom 8-bits of coefficient a1 in I2C address 0x45
12. read top 8-bits of coefficient a2 in I2C address 0x46
13. read middle 8-bits of coefficient a2 in I2C address 0x47
14. read bottom 8-bits of coefficient a2 in I2C address 0x48
15. read top 8-bits of coefficient b0 in I2C address 0x49
16. read middle 8-bits of coefficient b0 in I2C address 0x4A
17. read bottom 8-bits of coefficient b0 in I2C address 0x4B
54/63