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.

  • Resolved

[FAQ] TLV320AIC3254: TLV320AIC32xx Family Beep Generator Configuration

Mastermind 39225 points

Replies: 1

Views: 327

Part Number: TLV320AIC3254

How do I configure beep generator in the TLV320AIC3254 and other similar devices in the family?

Regards,
Collin Wells
Precision ADC Applications

  • The Beep Generator configuration is described in this application report: http://www.ti.com/lit/an/slaa446/slaa446.pdf

    Below is an example script for configuring the TLV320AIC3254EVM-K for beep generation. Note that the configuration for other EVMs will be different, but the beep generator section would be the same. The important detail is that PRB_P25 is selected and the MDAC*DOSR value is proper (refer to the resource class (RC) in the device datasheet and application reference guide).

    BEEP.txt

    For the devices described above, whenever the Beep command is issued (Page 0 / Register 71, D7 = '1'), NDAC needs to be off to prevent audio glitches. The following script provides an example of doing this on-the-fly without audible clicks or pops: 

    w 30 00 00              # Page 0
    w 30 40 0C              # Mute DACs
    f 30 26 xxx1xxx1        # Wait for mute flag
    w 30 0B 02              # Turn off NDAC
    w 30 47 8C              # Beep!, -6dB Gain
    w 30 0B 82              # Turn on NDAC
    w 30 40 00              # Un-mute DACs
    f 30 47 0xxxxxxx        # Wait for beep to finish

    The command 'f' polls registers until a bit is set '1' or cleared '0'. The 'x' is don't care.

    Applies to:

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

    Regards,
    Collin Wells
    Precision ADC Applications

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.