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.

PCM5122: Application issues

Expert 1500 points
Part Number: PCM5122

Hi,

1. Is there a fade in/out function for PCM5122 volume adjustment?

2. When using PCM5122, POP sound is generated for every 1dB increase or decrease in audio output during volume adjustment. How to modify it?

Currently, the volume is adjusted through the following registers.

  PCM5122.zip

  • Hello Reed,

    The soft mute XSMT mutes or unmutes the part in steps which is what you are referring as fade in and fade out. When the XSMT pin is switched  from (3.3 V to 0 V, a soft digital attenuation ramp begins. –1-dB attenuation is then applied every sample time from 0 dBFS to –∞. When the XSMT pin is shifted from 0 V to 3.3 V, a soft digital un-mute is started. 1-dB gain steps are applied every sample time from –∞ to 0 dBFS. Both mute and un-mute take 104 samples.

    Since you want to change the registers for digital audio volume increase or decrease , applying I2C signal will create a pop. I believe the  work around is to mute the part first, change the volume and then unmute the part.

    Regards,

    Arash