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.

PCM5242: Query Regarding MiniDSP Runtime Configuration (Volume Control)

Part Number: PCM5242
Other Parts Discussed in Thread: PCM5252

Tool/software:

Dear TI Support Team,

  • I am currently working with the PCM5242/PCM5252 and using PurePath Studio to design the MiniDSP configuration. I have successfully loaded the program into the device and am able to communicate with it over I²C.

    However, I am facing difficulty updating the MiniDSP runtime coefficient for the volume control block during operation. According to the interface overview, the volume block is mapped as follows:

    • I²C Page: 0x2C (44)

    • Register: 0x08

    I have attempted to write a 4-byte value to this register (Strating from 0x08) using standard I²C writes after Loding the configuration file. The I²C transaction appears successful, but the volume does not change.

    Could you please confirm the following:

    1. Is the volume block in PurePath Studio MiniDSP runtime-configurable during normal device operation?

    2. Is there a required write format, sequence, or delay for updating MiniDSP coefficients via I²C?

  • Hi, There is a ping-pong type swap mechanism to prevent the accidental changes or writes. Basically there are 2 buffers (User and DSP) so with a switch you have to tell the device that you want to write the value of the user buffer into the DSP buffer and on the next Fs the swap will take place. This is explained in details in the following app note.

    https://www.ti.com/lit/an/slaa425d/slaa425d.pdf?ts=1749580531398

    I believe there is a method on the GUI that can be used to do it ( I don't have an EVM to check it here )

      

    then you go to the tool tab and under this tab, select I2C memory tools and the following window opens up. Put the information about the register that you want in this and click poke and it should write your new values into registers

    Regards,

    Arash

  • Dear Arash,

    Thank you for sharing the Coefficient RAM Access Mechanism documentation. By following the C-RAM Access at Power-Up mode as outlined, I was able to successfully update the registers during runtime.

    I appreciate your support and guidance. Once again, thank you very much!