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.

TLV320AIC1110: Sine wave 3.4kHz

Part Number: TLV320AIC1110
Other Parts Discussed in Thread: TLV320AIC3110, TLV320AIC3111

Good day. 

My last thread

is closed, but problem is not solved. Any idea?

  • Vlad,

    The sinusoids will not be perfect sinusoids. The imperfections are not audible for these short beep applications. The TLV320AIC3110 is not programmable, so you're using a preset DSP block which is one of the more complex blocks (processing block 25). I imagine it was a compromise for including the beep generator on that block. the original use for this beep generator is for button press sounds, or brief alerts so the quality of the tone is not critical.

    The TLV320AIC3111 is a very similar device, but has a graphically programmable MiniDSP. In the graphical development environment you can use a tone generator block and the results are far more smooth. if this is necessary for you, the AIC3111 may be a better choice.

    best regards,
    -Steve Wilson
  • Vlad,

    I've looked into this a little more, and I'm still uncertain about the stepping. initially it looked like the steps make sense due to the fact that the beep generator is after the interpolation filter, but the delta should be much smaller than 20usec. i would've expected it to be closer to 0.2usec. I will continue to look into this and get back to you. I'm going to be out of the office next week, so i wont be able to get back to you until the following week.

    best regards,
    -Steve wilson
  • OK, I will  wait..

    Last topic was writed one year ago, no one looked at the waveforms.

  • Vlad,

    Beep samples are generated at the Fs frequency. Which was a design decision to optimize the MIPS. otherwise the beep generator would eat up more processing time. The Reason that the Frequency is only able to hit Fs/4 is due to the fact that all tones start on a zero crossing.

    If you would like to create more perfect tones, you can use the TLV320AIC3111 and use the Tone Generator in the MiniDSP. This would be able to produce a sine wave with better resolution.

    best regards,
    -Steve Wilson
  • Hi Steve-Wilson.
    I want use this chip for voice application, so I need band 300..3400Hz, not only BEEP as you said. The datasheet says chip is suitable for that frequencies.
    So I want test how works adc(mic in) and dac(ear out). Simply way do 2nd test(DAC) is put to PCM interface the data (one digital tone from 300 to 3400Hz) and watch the output. As you seen there are distortions on high voice freqs. Why you use therm "beep"?
    Do you mean "tone signal" ?
    What is "Fs"? If it is Frame sync (PCM-SYN in datasheet) so this freq is 8kHz (standard pcm sample rate). So the pass band of chip is 2kHz?
  • Vlad,

    I apologize, I thought we were talking about the "beep generator" function for the DAC. see image below:

    you shouldn't be getting the steps for a tone you provide to the SDIN

    can you post your register configurations?

    best regards,
    -Steve wilson

  • Vlad,

    I haven't heard back from you, can you post your configuration? or have you resolved this issue?

    best regards,
    -Steve Wilson
  • Hi Steve-Wilson.

    As I wrote in last thread to Diego and Ravi:

    the value of registers [0x00..0x06]

    9B   03   40   A0   00 00 00

    Regs from addr 0x02 to 0x06 are default values.

    I have changed reg00 to 0x9B and reg01 to 0x03