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: changing DSP settings in real time over I2C

Part Number: PCM5242

Good morning,

We have a subwoofer in development and are planning to use the PCM5242 DAC + DSP for processing the incoming audio.

The subwoofer will have manual controls to change gain, crossover point and phase. These controls are connected to a micro controller.

we are expecting to then alter some registers in the PCM5242 over I2C to mimic what the purepath software does.

Is this possible and what is the best way to achieve?

  • Hi Keith,

    It is possible, but not exactly simple.  Back calculating the coefficients can be problematic, as there are a number variables.  I generally recommend that users create some preset values in purepath console or purepath studio, and then implement a look-up table to write them to DSP.  Changing biquads on the fly can results in some audible glitchess (albeit low magnitude), so you might need to implement a volume ramp down, then up strategy if you want to avoid that.  The device features a mode call adaptive memory, where you use two sets of the coefficient ram to apply your new values.  

    Thanks,

    Paul