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.

TLV320DAC3100-Q1: Enabling Beep Generator timing - Auto increment writing

Part Number: TLV320DAC3100-Q1

Hi team,

I have a question about the sequence of Enabling Beep Generator (Reg.0x47 D7) and its configuration(0x48, 0x49....0x4F).

When I sent beep enable command (0x47 D7=1) first and then send command to set its length, volume using auto increment feature

of I2C, then the new setting of the beep generator was reflected immediately.

I thought once beep generator enable command is sent, the beep starts before waiting the other command to come.

Or in the beep generation will not be enabled until all write command complete in auto increment mode?

Normal

47(add) 89(data) 48(add) 89(data) 49(add) 00(data).....

Auto increment

47(add) 89(data) 89(data) 00(data).....

regards,

regards,

  • Hi, Shinji,

    Thank you for the details about the beep generator.

    It is important to mention that the beep generator parameters must be configured before enabling the beep command. If you enable the beep first and then you modify the parameters, you could get unexpected results. In addition, I recommend to wait for 8 BCLK pulses before using the beep generator. The processing block needs of these clock pulses to be fully initialized.

    I think this App Note could be useful for you for additional details about the Beep Generator.

    https://www.ti.com/lit/an/slaa446/slaa446.pdf#page=9

    Please let me know if you have additional questions or comments.

    Best regards,
    Luis Fernando Rodríguez S.

  • Hi Luis,

    I sent beep generator enable and then send the beep configuration, but it seems the beep configuration is

    successfully reflected to the beep sound.

    Do you mean that it is not always true? In order to make sure the configuration is reflected to the beep sound, the configuration data

    must sent at least 8 BCLK before beep enable?

    Do you have any idea why the beep configuration was reflected even if it is sent after beep enable? (command is sent auto increment mode.)

    regards,

  • Hi, Shinji,

    It is recommended to enable the beep generator after configuring the parameters because the beep could be affected on the fly. Usually, there's no wrong behavior because the I2C configuration is too fast for audible purposes.

    Regarding your question about the BCLK pulses, yes, it is important to send at least 8BCLK pulses before the beep enable. The processing blocks require of the BCLK to be fully initialized.

    Best regards,
    Luis Fernando Rodríguez S.