sta323wqs STMicroelectronics, sta323wqs Datasheet - Page 65

no-image

sta323wqs

Manufacturer Part Number
sta323wqs
Description
2.1-channel High-efficiency Digital Audio System With Qsound Qhd??
Manufacturer
STMicroelectronics
Datasheet
STA323WQS
8.9
8.10
Writing a single coefficient to RAM
1.
2.
3.
4.
5.
Writing a set of coefficients to RAM
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Write bottom 8-bits of coefficient a1 in I
11. Write top 8-bits of coefficient a2 in I
12. Write middle 8-bits of coefficient a2 in I
13. Write bottom 8-bits of coefficient a2 in I
14. Write top 8-bits of coefficient b0 in I
15. Write middle 8-bits of coefficient b0 in I
16. Write bottom 8-bits of coefficient b0 in I
17. Write 1 to WA bit in I
The mechanism for writing a set of coefficients to RAM provides a method of updating the
five coefficients corresponding to a given biquad (filter) simultaneously to avoid possible
unpleasant acoustic side-effects. When using this technique, the 8-bit address specifies the
address of the biquad b1 coefficient (for example 0, 5, 10, 15, …, 45 decimal), and the
STA323WQS generates the RAM addresses as an offsets from this base value to write the
complete set of coefficient data.
Table 69.
0
1
2
3
4
5
Index (decimal)
Write 8-bits of address to I
Write top 8-bits of coefficient in I
Write middle 8-bits of coefficient in I
Write bottom 8-bits of coefficient in I
Write 1 to W1 bit in I
Write 8-bits of starting address to I
Write top 8-bits of coefficient b1 in I
Write middle 8-bits of coefficient b1 in I
Write bottom 8-bits of coefficient b1 in I
Write top 8-bits of coefficient b2 in I
Write middle 8-bits of coefficient b2 in I
Write bottom 8-bits of coefficient b2 in I
Write top 8-bits of coefficient a1 in I
Write middle 8-bits of coefficient a1 in I
RAM block for biquads, mixing, and scaling
0x00
0x01
0x02
0x03
0x04
0x05
Index (hex)
2
2
C address 0x26.
C address 0x26.
2
C register 0x16.
Channel 1 – biquad 1
Channel 1 – biquad 2
2
C address 0x17.
2
2
2
2
2
2
C register 0x16.
2
2
C address 0x17.
C address 0x1A.
C address 0x1D.
C address 0x20.
C address 0x23.
C address 0x18.
C address 0x19.
2
2
2
2
2
2
2
2
2
2
C address 0x18.
C address 0x1B.
C address 0x1E.
C address 0x21.
C address 0x24.
C address 0x19.
C address 0x1C.
C address 0x1F.
C address 0x22.
C address 0x25.
C1H10 (b1/2)
C1H11 (b2)
C1H12 (a1/2)
C1H13 (a2)
C1H14 (b0/2)
C1H20
Coefficient
User-programmable settings
0x000000
0x000000
0x000000
0x000000
0x400000
0x000000
Default
65/72

Related parts for sta323wqs