Electronic Components Datasheet Search
  English  ▼

X  

STA335BWSQS Datasheet(PDF) 55 Page - STMicroelectronics

Part # STA335BWSQS
Description  2.1-channel, high-efficiency digital audio system with QSound QHD®
PDF  70 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STA335BWSQS Datasheet(HTML) 55 Page - STMicroelectronics

Back Button STA335BWSQS Datasheet HTML 51Page - STMicroelectronics STA335BWSQS Datasheet HTML 52Page - STMicroelectronics STA335BWSQS Datasheet HTML 53Page - STMicroelectronics STA335BWSQS Datasheet HTML 54Page - STMicroelectronics STA335BWSQS Datasheet HTML 55Page - STMicroelectronics STA335BWSQS Datasheet HTML 56Page - STMicroelectronics STA335BWSQS Datasheet HTML 57Page - STMicroelectronics STA335BWSQS Datasheet HTML 58Page - STMicroelectronics STA335BWSQS Datasheet HTML 59Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 70 page
background image
STA335BWSQS
Register description
55/70
6.12.17
Coefficient write/read control register
Coefficients for user-defined EQ, Mixing, Scaling, and Bass Management are handled
internally in the STA335BWSQS 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.
Three different RAM banks are embedded in STA335BWSQS. The three banks are
managed in paging mode using EQCFG register bits. They can be used to store different
EQ settings. For speaker frequency compensation, a sampling frequency independent EQ
must be implemented. Computing 3 different coefficients set for 32 kHz, 44.1kHz, 48 kHz
and downloading them in the 3 RAM banks, it is possible to select the suitable RAM block
depending from the incoming frequency with a simple I2C write operation on register 0x31.
For example, in case of different input sources (different sampling rates), the 3 different set
of coefficients can be downloaded once at the start up, and during the normal play it is
possible to switch among the 3 RAM blocks allowing a faster operation, without any
additional download from the microcontroller.
To write the coefficients in a particular RAM bank, this bank must be selected first writing bit
0 and bit 1 in register 0x31. Then the below write procedure can be used.
Note that as soon as a RAM bank is selected, the EQ settings will be automatically switched
to the coefficients stored in the active RAM block.
Note:
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.
Reading a set of coefficients 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 RA 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.
7.
Read top 8-bits of coefficient b2 in I2C address 0x1A.
8.
Read middle 8-bits of coefficient b2 in I2C address 0x1B.
D7
D6
D5
D4
D3
D2
D1
D0
Reserved
RA
R1
WA
W1
00
00



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com