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.

TLV320AIC24: Analogue Loopback

Part Number: TLV320AIC24

Tool/software:

I'm having some issues getting the analogue loopback working. I can configure the registers for the device, and see the signal applied at the input, but when i set the analogue loopback bit I see nothing at the output. I tried applying a signal beyond the range of the ADC to get the overflow bit to set but nothing happens. Any suggestions would be greatly appreciated. 

Thanks in advance.

  • Hi,

    How are you connecting the inputs and output? Also, which registers are you setting? On page 12 of the datasheet you can see the switches connecting the inputs to the ADC and the outputs to the DAC. You can close these switches with registers 6A and 6B, and hopefully if the input connection is selected, then you will be able to trigger the overflow flag as expected. If the output connection is closed, you should be able to get digital or analog loopback working. Also, make sure that your output is not muted, from register 3B, and set registers 5A and 5B so that the PGAs are not muted, I would recommend 0 to start. 

    Let me know if you are still having issues and feel free to send your registers/schematic so I can help more.

    Best,
    Mir

  • To get the analogue loopback working my understanding is you can set register 1 to 0x44 (continuous data transfer and analogue loopback). Is this ok for headset in to headset out and handset in to handset out? 

    If i then set register 6A to say 0x63 (0x63 Headset and handset connected to ADC. Headset and Handset connected to the output.) 

    Probably the other registers are ok with their defaults. Would the loopback being set stop the ADC overflow because it takes priority. 

    Thanks for your help.

     

  • Also, I'm seeing another issue where I can only detect half of the final codec in a cascade. I can use the i2c address for one of the two channels in the device. Don't know if the two problems could be related.

  • Hi,

    Today is a holiday for our team in the U.S. We will follow up when our team returns on Friday.

    Thank you for your patience,
    Jeff McPherson

  • Ok, thanks. I have been able to get the headset in to headset out working, but it seems to work intermittently. I run the same program and sometimes it takes the configuration, other times it doesn't. Some codecs in the cascade have the headset in to headset out working, others don't. I'm not sure what's going on.  

  • Hi,

    What did you end up writing to the registers? What is your test setup to run the program? What is your power supply sequence? Can you attach a schematic?

    Best,
    Mir

  • Would it be possible to email you privately? I've sent you a request to connect

  • Hi,

    Yes, send me a message!

    -Mir