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.

How to convert *.cfg into *.h?

Hi,

I can use purepath console 2 to generate *.cfg.
However,I don't know how to use it to generate *.h.
Please help me, thanks.
  • Hi, Kidd,

    When using PPC2 in advanced mode, you have access to the Direct I2C R/W tab. There is a section called Register Dump in that tab, there you can export to the output window the settings of the amplifier in different formats.

      

    Best  Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thanks.

    "Register Dump" makes a huge dump (>8k) since it dump all TAS5756 registers.
    It is huge for a MCU flash.

    "System Build" makes a small dump (1~2k) since it only dump necessary registers.
    Do you know how to generate source code from it?