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.

TAS2557: How can I adjust the Volume Gain and EQ of TAS2557 in ROM Mode 1 ?

Part Number: TAS2557


I use the EVM board to debug.

I connect the EVM , and open the Audio processing page of PPC3 tool, It will auto download some cfg, 

then I try to adjust the gain, it can work normally.

Then I download the " combined_configuration_0_ROMMode1_48KHz.cfg " to put the TAS2557 into ROM Mode 1,

and use the IIC cmds generated before to adjust the gain, but it does not work, the audio gain has no change.

The IIC cmds  generated in the Audio processing page of PPC3 tools seems have no effect to adjust the aduio gain in ROM Mode 1.

Why?

But I have find that I can directly wirte to the SPK_GAIN_EDGE reg to adjust the output audio Gain.

And  also how can I adjust the EQ? 

3007.combined_configuration_0_ROMMode1_48KHz.cfg

gain_to_0dB.cfg

gain_to_N24dB.cfg

  • Hi,

    SPK_GAIN_EDGE register changes the DAC gain that goes from 0dB to 15dB.
    The slider gain control in PPC3 is a different digital gain. I'll explain how this particular gain is controlled in another post.
    Regarding the EQ you can control it under "Tuning and Audio Processing" -> "Equalizer" and use only the first 6 biquads: e2e.ti.com/.../2631362

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Just an update on the volume control:
    This an error we need to fix, the volume control is not available in ROM Modes, that's the reason why it is only changing on Tuning & Audio Processing tab. Only the DAC gain is available for ROM Modes.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Hi,

    I have tryed it,

    but the EQ cfg files that I generate in the "Tuning and Audio Processing" page of PPC3 tool  is not work under ROM Mode 1.

    It is just like what I did in the gain adujst in "Tuning and Audio Processing".

    eq1_off.cfg

    eq1_on.cfg

  • Hi,

    Most processing features are included in the DSP of the device, currently the only control available in the GUI is the Tuning and Audio Processing tab that works with Smartamp Mode only. I'm working on this with the team and will provide further information about how to control digital processing features in ROM Modes.

    In the meantime, I would suggest you to use Smartamp mode. If you don't need the speaker protection you could do the following to disable it:
    - You can enter Tuning and Audio Processing -> Smart Amp -> Char Data and change Xmax and Thermal limit to its maximum values (10 and 1000 respectively)
    - Or you can also enable Feed Forward Protection only, this will disable the I/V sense feedback.
    By doing this, the speaker protection will not act and you can still use all other digital processing features like 10 Biquads, Smart EQ and DRC.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators
  • Hi,

    I see,

    but the main issue is that the cfg file of Smartamp mode  is too large,

    there are too many cmds, so it does not fit my system,

    as the cfg file of ROM Mode 1 is more smaller, so I choose to use ROM Mode 1, it has no mantter with the speaker protection or the I/V sense feedback function.

  • Hi,

    There is mixed information across documentation and forum, I've been checking this out with the rest of the team. Below is the resulting information:
    - ROM Modes have Digital Volume control: This is controlled by 4 registers, starting on Book 0, Page 50, Register 12. The gain goes from 0dB to -110dB and the register values are obtained as explained in the attached file.
    - ROM Modes don't include EQ Biquads: The Biquads are not accessible in ROM Mode. We will fix the data sheet to remove this mention from the processing blocks.

    Best regards,
    -Ivan Salazar
    Applications Engineer - Low Power Audio & Actuators

    Digital_Gain_Control.pdf