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.

TLV320AIC3254: Adjust Mono mixer gain during runtime

Part Number: TLV320AIC3254

Hello,

I am using the TLV320AI3254 codec chip on a custom solution.

I set up the process flow using PurePath, and I am using the miniDSP for both ADC and DAC. I need to adjust the gain on a mono mixer during run-time. I know which registers need to be written, and when I do that I don't get any change. However, if I power down the ADC and DAC before I write the registers and power them back up afterwards, the change actually takes effect. As I have two audio sources that need independent volume control, I have to keep the DAC and headphone amplifier gains constant, and the mono mixer gain is supposed to control the volume of the two different audio sources that are played simultaneously. When I do the power cycle, it obviously stops the audio momentarily and I do not want that.

So my question is if it is possible to dynamically change the mono mixer gain without a power cycle?

Best regards,
Gamli

  • Hi,

    I still have not found any better solution to my problem than to power cycle the DAC. Is there any sort of 'refresh' functionality possible? After reading through the application note SLAA408A, I have not found any suitable actions for this.

    All tips really appreciated!

    Thanks,
    Gamli

  • Hi Gamli,

    There at two things to take care of while performing run-time coefficient update - (1) to enable adaptive coefficient buffers and (2) switch adaptive coefficient buffers after updating a coefficient at run-time.

    The relevant application note is slaa425: http://www.ti.com/lit/pdf/slaa425

    Please let us know if there any further questions.

    Diljith