This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TAS5828M: question about the DRC settings in PurePath Console.

Part Number: TAS5828M
Other Parts Discussed in Thread: TAS5825M

Tool/software:

I would like to create an app that allows users to set region and time constant in the DRC settings screens in the PurePath console.


Therefore, we check the I2C communication data when setting up from the PurePath Console.

The environment is as follows:
- device : TAS5828M
- speaker configuration : Stereo2.0
- Audio Mode : BasePro(2.0 4k)


Below is the I2C communication data when set up in the attached screen state.
w c0 00 00
w c0 7f 8c
w c0 00 08
w c0 68 00 1b 4b 98 00 1b 4b 98 00 0d a6 86 00 00 00 00 00 00 00 00 ff 81 47 ae
w c0 00 00
w c0 7f 8c
w c0 00 09
w c0 08 f9 06 21 a9 fe 01 c0 79 00 00 00 00 00 00 00 00

I think this region and time constant setting corresponds to K0_1 to off2_1 in the DRC of the DSP memory map in the application report [slaa786a.pdf]. Is this correct?
In this case, the DSP memory address is different, but which one is correct?
For DSP memory map:
- BOOK : 0x8C
- PAGE : 0x06
- SUB ADDRESS : 0x64 - 0x7C
And
- BOOK : 0x8C
- PAGE : 0x07
- SUB ADDRESS : 0x08 - 0x10

For I2C communication dat
- BOOK : 0x8C
- PAGE : 0x08
- SUB ADDRESS : 0x68 - 0x7C
And
- BOOK : 0x8C
- PAGE : 0x09
- SUB ADDRESS : 0x09 - 0x14


In addition, if you extract the settings for the DSP memory from the above I2C communication data, they become the following values.
DRC1 Energy : 0.000832986, Attack(ms) : 25
DRC1 Attack : 0.000832986, Energy(ms) : 25
DRC1 Decay : 0.00041658, Release(ms) : 50
K0_1 : 0, Ratio : 1
K1_1 : 0, Ratio : 1
K2_1 : -0.99000001, Ratio : 100
T1_1 : -13.95209777, Threshold(dB) : -60
T2_1 : -3.986313701, Threshold(dB) : 0
off1_1 : 0, Offset(dB) : 0
off2_1 : 0.166096449, Offset(dB) : 1

How are these values ​​calculated from the values ​​set in the PurePath Console?
Also, changing either the offset or the ratio will change the other. What is the rule for this change?

  • Hi Kitauchi-san,

    The Application report is specifically for the TAS5825M so the register map will not be the same as for the TAS5828M. PPC3 will give the correct register writes to configure the device how you want it. Unfortunately, I cannot give you the exact calculation from PPC3 values to a corresponding I2C command. It varies depending on the feature, is IP driven, and sometimes need to be calculated from more than one value in the GUI. If you need more information on tuning the features you can see the tuning guide for the TAS58xx document. The only other way that I could suggest to determine what I2C commands for you to set would be to manually enter the data into PPC3 and then log the I2C code.

    Regards,

    Ramsey