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.

TAS5766 Configuration 2 Smart Amp Mode

Other Parts Discussed in Thread: TAS5766M

Hi

I'm using the TAS5766 with a MSP430 to download a smart amp configuration.

I get acknowledge on writes to both CRAM and IRAM. But when I verify the written I get a different output on address 32 and a couple of bytes from there on page 44.
When the configuration is downloaded, the amplifier don't work, but makes a lot of noise.

Can I expect to get the correct configuration when I read it back from the TAS5766?
Do you have any ideas on how to find out why the configuration don't work?

I attached the configuration I'm trying with..

I hope you can help.. 

best regards

Jesper

TAS5766M - Configuration 2 - Smart Amp Mode.h

TAS5766M - Configuration 2 - Basic Mode.h

  • Hi Jesper,

    Try loading the code below into the MCU and remove any other configuration. After loading this code, audio should be playing if BCLK and LRCK are present. This will boot the part into basic mode. If this doesn't work, then check your I2S signals.

    //-------------------------------------------------
    // Reset
    //-------------------------------------------------
    // Select Page 0
        { 0x00, 0x00 },
    // Set the device into Powerdown
        { 0x02, 0x11 },
    // Reset Device
        { 0x01, 0x11 },
    // PLL reference clock = BCK (no SCK present)
        { 0x0D, 0x10 },
    // Ignore SCK halt detection (no SCK present)
        { 0x25, 0x08 }

    Regards,

    J-

  • Hi J

    Thanks for your quick response.

    I tried your code and it works fine, so there is no problem with the I2S.

    I can confirm all the IRAM and most of the CRAM is written correctly. And it is on the same address I read something different from the configuration, in both amplifiers. That implies to me that there could be something wrong with the configuration data?

    The amplifiers send out a lot of noise when the smart amp filter is downloaded..

    Bedst regards

    Jesper

  • Hi Jesper,

    Could you generate the dump as a .cfg file instead of a .h file and attach it? That way I can debug it here easily.

    The algorithm may change some of the C-RAM locations, so that is expected.

    Regards,
    J-
  • Hi J.

    Here is the .cfg data and a source file. I added an extension with .123 so it could be posted.

    Bedst regards

    Jesper

    ac_13-08-15_top_burst1.cfg.123

    ac_13-08-15_top_burst120.cfg.123

    ac_13-08-15_top.ppc3.123

  • HI Jesper,

    I will look into this as soon as I can.

    Regards,
    J-
  • Hi Jesper,

    I loaded your file and there was no audio. I suspect that the issue may be due to how the registers were dumped.

    The Dump function simply does that. It dumps the state of the device. However, you must go to the Tuning and Audio Processing page first for the motherboard to be programmed and the TAS5766M to have the correct coefficients. You also must have the TAS5766M+motherboard powered and connected. This is explained in the Smart Amp User Manual.

    Steps:
    1. Connect motherboard+TAS5766M and provide power and usb.
    2. Load TAS5766M App.
    3. Click New.
    4. Click Connect at the bottom left (if shown).
    5. Go to Tuning and Audio Processing Page.
    6. Click Import. Browse for the ppc3 file you obtained from the Learning Board App.
    7. Play music to make sure audio is working.
    8. Go to End System Integration.
    9. Dump.

    Similarly, if you want to execute a .cfg file that was previously dumped, you need to first go to Tuning and Audio Processing page for it to program the motherboard for proper use before you load the .cfg file (which only programs the TAS5766M device).

    Let me know if this solves the issue. I've seen a couple of times where this causes confusion, so it might be possible that we make some changes to make this more intuitive.

    Regards,
    J-

  • Jesper,

    Below is a dump using your imported ppc3 file that works:

    TI_cfg.cfg

    Regards,

    J-