| Electronic Components Datasheet Search |
|
STA328 Datasheet(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STA328 Datasheet(HTML) 35 Page - STMicroelectronics |
|
35 / 41 page ![]() 35/41 STA328 8.6.17 Coefficient Write Control Register (Address 26h) Coefficients for EQ, Mix and Scaling are handled internally in the STA328 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 func- tion. First register contains the coefficient base address, five sets of three registers store the values of the 24-bit coefficients to be written or that were read, and one contains bits used to control the read or write of the coefficient (s) to RAM. The following are instructions for reading and writing coefficients. 8.7 Reading a coefficient from RAM ■ write 8-bits of address to I 2C register 16h ■ write ‘1’ to bit R1 (D2) of I 2C register 26h ■ read top 8-bits of coefficient in I 2C address 17h ■ read middle 8-bits of coefficient in I 2C address 18h ■ read bottom 8-bits of coefficient in I 2C address 19h 8.8 Reading a set of coefficients from RAM ■ write 8-bits of address to I 2C register 16h ■ write ‘1’ to bit RA (D3) of I 2C register 26h ■ read top 8-bits of coefficient in I 2C address 17h ■ read middle 8-bits of coefficient in I 2C address 18h ■ read bottom 8-bits of coefficient in I 2C address 19h ■ read top 8-bits of coefficient b2 in I 2C address 1Ah ■ read middle 8-bits of coefficient b2 in I 2C address 1Bh ■ read bottom 8-bits of coefficient b2 in I 2C address 1Ch ■ read top 8-bits of coefficient a1 in I 2C address 1Dh ■ read middle 8-bits of coefficient a1 in I 2C address 1Eh ■ read bottom 8-bits of coefficient a1 in I 2C address 1Fh ■ read top 8-bits of coefficient a2 in I 2C address 20h ■ read middle 8-bits of coefficient a2 in I 2C address 21h ■ read bottom 8-bits of coefficient a2 in I 2C address 22h ■ read top 8-bits of coefficient b0 in I 2C address 23h ■ read middle 8-bits of coefficient b0 in I 2C address 24h ■ read bottom 8-bits of coefficient b0 in I 2C address 25h 8.9 Writing a single coefficient to RAM ■ write 8-bits of address to I 2C register 16h ■ write top 8-bits of coefficient in I 2C address 17h ■ write middle 8-bits of coefficient in I 2C address 18h ■ write bottom 8-bits of coefficient in I 2C address 19h ■ write 1 to W1 bit in I 2C address 26h D7 D6 D5 D4 D3 D2 D1 D0 RA R1 WA W1 00 00 |
|
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 |
| 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 |