| Electronic Components Datasheet Search |
|
STA339BW Datasheet(PDF) 59 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STA339BW Datasheet(HTML) 59 Page - STMicroelectronics |
|
59 / 77 page ![]() STA339BW Register description Doc ID 15251 Rev 5 59/77 For example, in case of different input sources (different sampling rates), the three different sets of coefficients can be downloaded once at the start up, and during the normal play it is possible to switch among the three 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 write procedure below can be used. Note that as soon as a RAM bank is selected, the EQ settings are 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. 9. Read bottom 8 bits of coefficient b2 in I2C address 0x1C. 10. Read top 8 bits of coefficient a1 in I2C address 0x1D. 11. Read middle 8 bits of coefficient a1 in I2C address 0x1E. 12. Read bottom 8 bits of coefficient a1 in I2C address 0x1F. 13. Read top 8 bits of coefficient a2 in I2C address 0x20. 14. Read middle 8 bits of coefficient a2 in I2C address 0x21. 15. Read bottom 8 bits of coefficient a2 in I2C address 0x22. 16. Read top 8 bits of coefficient b0 in I2C address 0x23. 17. Read middle 8 bits of coefficient b0 in I2C address 0x24. 18. Read bottom 8 bits of coefficient b0 in I2C address 0x25. |
|
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 |