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.

[FAQ] [参考译文] [FAQ] TLV320AIC3254:TLV320AIC32xx系列蜂鸣器配置

Guru**** 633810 points
Other Parts Discussed in Thread: TLV320AIC3254, TLV320AIC3254EVM-K, TLV320AIC3120, TLV320AIC3100, TLV320AIC3206, TLV320AIC3110, TLV320AIC3204, TLV320AIC3253, TLV320AIC3256, TLV320AIC3111, TLV320DAC3203
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/773086/faq-tlv320aic3254-tlv320aic32xx-family-beep-generator-configuration

部件号:TLV320AIC3254
主题中讨论的其他部件:TLV320AIC3120TLV320AIC3100TLV320AIC3206TLV320AIC3110TLV320AIC3204TLV320AIC3253TLV320AIC3256TLV320AIC3111TLV320DAC3203

如何在TLV320AIC3254和该系列中的其它类似器件中配置蜂鸣器?

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

    此应用程序报告 中介绍了蜂鸣器配置:http://www.ti.com/lit/an/slaa446/slaa446.pdf

    下面是配置TLV320AIC3254EVM-K以生成蜂鸣声的示例脚本。 请注意,其他EVM的配置将不同,但蜂鸣器部分相同。 重要的细节是PRB_P25被选中,MDAC*DOSR值是正确的(请参阅设备数据表和应用程序参考指南中的资源类(RC))。

    BEEP.txt

    对于上述设备,只要 发出蜂鸣声命令(第0页/注册71,D7 ='1'),NDAC就需要关闭以防止音频故障。 下面的脚本提供了一个在运行中执行此操作而不会听到点击或弹出的示例:  

    W 30 00 00              # Page 0
    W 30 40 0C              #静音DAC
    f 30 26 xxx1xxx1        # Wait for mute flag (等待静音标记)
    W 30 0B 02              #关闭NDAC
    W 30 47 8C              #蜂鸣声!,-6dB增益
    W 30 0B 82              #打开NDAC
    W 30 40 00              #取消静音DAC
    f 30 47 0xxxxxxx        # Wait for beep to fine.(等待蜂鸣音结束。

    命令'f'轮询直到一个位设置为'1'或清除'0'。 'x'不在乎。

    适用于:

    TLV320AIC3204, TLV320AIC3206, TLV320AIC3253, TLV320AIC3254, TLV320AIC3256,  TLV320DAC3203,TLV320AIC3100, TLV320AIC3110, TLV320AIC3111, TLV320AIC3120, TLV320AIC3136