Other Parts Discussed in Thread: TAS5806M
Hello,
I am trying to set the BQ coefficients of my TAS5806MD via an STM32 programmed in Cube IDE. For some testing I try to set a simple lowpass. The Problem is, that it doesn't affect the sound, so the signal is not lowpassed. I couldn't figure how to get it working. Do I need to write 0x00 to the BQ_WR_CTRL1 Register? I really dont have any clue.
my code here step by step:
1) Power Up and then send 0x02 to the DEVICE_CTRL_2_REGISTER for HiZ Mode
2) Wait for 10ms
3) Convert coefficient into 5.27 Format (for example -1.98611414 is converted into 4 bytes --> 1st Byte: 141 2nd Byte: 224 3rd Byte: 176 4th Byte: 214)
4) go to Page 0x00
5) change to Book 0xAA
6) go to Page 0x26
7) select subadress (for example 0x54 for Right BQ1 B0)
8) send the precalculated 4 bytes of the coefficient (1st Byte: 141 2nd Byte: 224 3rd Byte: 176 4th Byte: 214)
9) do 3)-8) again for the remaining 4 BQ coefficents.
9) go to Page 0x00
10) change to Book 0x00
11) send 0x03 to the DEVICE_CTRL_2_REGISTER for Play Mode
Am I missing any steps? Is the 5.27 Format right? could you provide me an example pseudo code or a step by step example how to set the Registers of the DSP of the TAS5806MD right?
Best regards,
Severin