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.

PCM5121: How to export the register settings

Part Number: PCM5121

Hi team,

Our customer is using PCM5121 for their BT speaker. They can use our EVM to tune the sound with PurePath GDE Home Edition, however, we don't know how to export the register settings.

In the GDE home edition, the generate code menu is gray. Also the .cfg file don't contains MiniDSP settings. 

We have tried to use the logging function to get the register settings. But after writing the log file to PCM5121 with MCU, the sound is totally different with what our customer expect.

Could you please give us some guide about how to export the register setting? Thanks!

Best regards,

Vio Liu

  • HI, Vio,

    Could you share the PPS version customer is using?, if the EVM is connected successfully, you should be able to build and generate the code from PPS without issues. A header file can be generated from PPS, please refer to the following wiki for instructions.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    Here's what i'm doing. The software version is shown below: Purepath Studio Home audio Minidsp GDE

    Select Open ROM and click on PCM5020 SPDIF ROM COAX.pfw

    After editing the EQ and DRC, config the Build options.

    Click Save as and save the file. There's 3 files in the folder.

    Can't generate code because the menu is gray.

    The content of the .cfg file is not correct and can't be used.

    Could you please let me know what's wrong with my step. And could you please suggest some other ways to export the settings?

    The method you sent to me seems not work.

    Best regards,

    Vio Liu

  • Hi, Vio,

    Thanks for the feedback. Have you tried to run the ROM code first and then check if it is possible to generate the code?. Unfortunately I don't have an EVM to try this. Also, please refer to the SLAA541 app note for detailed information about the ROM code operation in PurePath Studio.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    Sorry to say that I can't find any information about how to export the register map in the application map. If we use PCM5121, we need to use GDE HOME EDITOIN. GDE HOME EDITION don't support generate code after opening the ROM for PCM5121. You can try this even without EVM in the software.
    Can you help me ask somebody who have experience in exporting the register map? THanks!

    Best regards,
    Vio Liu
  • Hi, Vio,

    It seems that when using PPS with a ROM application, export options are not available. In the past it was suggested to use the logging function to track down the register writes when connecting the device and updating the coefficients in the processing blocks. Another option would be to manually update the biquad coefficients in the base_main_Rate4x code by reading the coefficient location using I²C memory tool.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    Thanks for your help. My problem is, customer has used logging function to export the settings. But our customer can't make the DAC work using the exported register map.
    Can you provide some guide about this? Thanks!