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:可避免噼啪噪声的一些设计问题...

Guru**** 2573695 points
Other Parts Discussed in Thread: PCM5122

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/986856/pcm5122-some-design-question-to-avoid-pop-noise

器件型号:PCM5122

尊敬的 Sirs:

我知道吗、

1.如果音量是50%并通过 I2C 将音量设置为0、该音量将会在多快的时间内完成?

PCM5122不支持淡入/淡出功能、对吧?

3.客户想要添加一些代码以通过软件进行音量淡入/淡出控制,如下所示,代码是否正常?

===================================

空我的静音(int vol)

   while (vol >0)

   {

       Vol-= 10;

      如果(vol < 0) vol = 0;

       

        PCM5122_SetVol (vol);   //使用 I2C 设置 PCM5122卷

       usleep (5000);        //延迟5ms

   }

===================================  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Peter:

    默认情况下、器件会以每 fs 采样周期1dB 的速率升高或降低音量、但该速率是可调的。

    2.不正确。  PCM5122支持调高和调低音量、并具有可配置的步骤:

    请参阅数据表中的第8.3.5.4节。

    3、 代码还可以、但可能不需要、除非您想使用比集成斜坡功能更慢的代码。