STA304 STMicroelectronics, STA304 Datasheet - Page 17

Audio DSPs Digital Audio Proc

STA304

Manufacturer Part Number
STA304
Description
Audio DSPs Digital Audio Proc
Manufacturer
STMicroelectronics
Datasheet

Specifications of STA304

Mounting Style
SMD/SMT
Package / Case
TQFP-44
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
STA304
Manufacturer:
ST
Quantity:
562
Part Number:
STA304
Manufacturer:
ST
0
Part Number:
STA304-5C
Manufacturer:
ST
Quantity:
859
Part Number:
STA304-5C
Manufacturer:
ST
0
Part Number:
STA304-5C/
Manufacturer:
MIC
Quantity:
1 526
Part Number:
STA304-5C/
Manufacturer:
ST
0
Part Number:
STA304A
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
STA304A
Manufacturer:
SANKEN
Quantity:
20 000
Part Number:
STA304A/
Manufacturer:
pericom
Quantity:
11 120
STA304
11.0 COEFFICIENT HANDLING
In order to implement the Static EQ filters and the Bass management, a RAM space for user coefficients has
been included in this device: starting from address 240h (YRAM) there are 69 x 20 bit registers available for this
purpose. In order to be able to read or write into these registers an indirected addressing approach must be
followed by the application software. As showed in Figure 8 there are two AC'97 dedicated registers (4 x 8 bits
registers from I2C point of view) to access the coefficient table. In register 78h (78h + 79h in I2C addressing)
the 16 low bits of the coefficient are stored (by the user in case of a write operation, by the logic in case of a
read operation); the higher 4 bits are stored in the lowest nibble of register 7Ah (7Bh in I2C addressing). The
address of the coefficient on which the R/W operation must be performed is stored in the high byte of register
7Ah. The address is made adding the coefficient index to the base location 40h.
To select between Read or Write operation the 'R' bit in register 7Ah (7Bh in I2C addressing) must be properly
setup. The actual read/write operation will start after the register 7Ah (7Bh in I2C addressing) has be written.
The following paragraphs will explain this in more details.
Figure 12. Coefficient registers usage
11.1 Reading a coefficient value
Depending on the bus used to read the coefficient the following steps must be followed:
11.2 Writing a coefficient value
Depending on the bus used to write the coefficient the following steps must be followed:
17/31
Reading from AC’97
– write 8 bit INDEX 40h and R/W bit at AC`97 address 7Ah
– read 16 lower data bits at AC`97 address 78h
– read 4 higher data bits at AC`97 address 7Ah
Reading from I
– write 8 bit address at I2C address 7Ah coeff INDEX + 40h
– write R/W bit at I
– read 8 middle data bits at I
– read 8 lower data bits at I
– read 4 higher data bits at I
Writing from AC’97
– write 16 lower bit data at AC`97 address 78h
– write 8 bit INDEX + 40h and R/W bit and 4 higher data bits at AC`97 address 7Ah
Writing from I2C
– write 8 middle data bits at I2C address 78h
– write 8 lower data bits at I2C address 79h
– write 8 bit address at I2C address 7Ah coeff INDEX + 40h
– write 4 higher data bits and R/W bit at I2C address 7Bh
AC`97
7Ah
78h
2
C
7Ah
78h
2
C address 7Bh
I2C
7Bh
79h
R : set this bit to 1 for reading a coefficient, 0 for writing it.
2
2
C address 79h
2
C address 7Bh
C address 78h
Bit 15
Coeff. Address (8 bits)
Coefficient[15..0]
R-x-x-x
Coefficient[19..16]
Bit 0

Related parts for STA304