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.

TLV320AD3101 GUI issue

Other Parts Discussed in Thread: TLV320ADC3101

I am getting everything going, sort of. But the one thing I cannot make work is the signal processing. The software, I downloaded from your website http://www.ti.com/litv/zip/slac248b lets me control everything but the signal processing. I pick a processing block as directed, but when I try to select filter types, nothing happens. I can select a filter type, but that is all I can do. Everything else stays grayed out to further define the filter I want. Any suggestions

Thank you,

Adam

  • Another question on this board. Is there a good script for enabling the Digital Mic inputs. I can get it going, but I am getting a high pitch continues tone in the audio. I does pass normal audio. Interestingly it disappears when I program the AGC. Even if I am not enabling it. Curious which register does this, cannot find this so far.

     

    Thank you in advance,

     

    Adam

  • Hi, Adam,

    I've asked John to help you with this.

    -d2

  • Hi Adam,

    There could be a few different problems here. First, it could be the drivers. I would make sure that the customer has the most up to date National Instruments (NI) VISA drivers.

    Available at: http://sine.ni.com/psp/app/doc/p/id/psp-411

    I would also make sure they have the most up to date TI drivers: ti.com/litv/zip/slac521

    Also, there is an error message box in the GUI, and looking at the screenshot you sent me, we might be able to get some more information from that: (Circled in the image below):

     

     If the customer is interested in knowing what registers are affected when loading the AGC from the GUI, they can use the Command-Line Interface to record all of the individual commands.

    As for the high pitch tone, its hard to tell what it could be. This could be due to feedback, is this microphone within range of an output speaker to listen to the mic?

    Regards,

    ~John

  • John,

     

    Downloaded it all, to no avail. Same problem

    Below is a picture of the screen showing the errors when I try to run it.

     

     

    Adam

  • John,

    Thank you for looking into this. From our converstation:

    This issue in the GUI is coming up for calculating biquad coefficients for the ADC3101. This can be done through another program found here: http://www.ti.com/tool/coefficient-calc. And following

    Page 68 through 72 in the ADC3101 d/s.

     

    you said you were able to reproduce the problem in the newer GUI, however the older GUI works correctly. Here is a link to the ftp for it: ftp://ftp.ti.com/pub/PPAC/TLV320ADC3101EVM-K/ADC3101_CS_v1_2_0.zip

    Let's see if this works for the customer as well, and if so, I will verify this as the answer.

    Regards,

    John Stevens

    Analog Field Applications

     

  • Started with the board again. But things are
    still not working as supposed to.
    The Eq can now be set and downloaded. But it does not affect the sound at all…

    If I try the Eq with the digital mics, uploading the setting mutes the audio
    and can all be activated again be reloading my script (which “soft” resets the
    part)…

    Any thoughts on how to get the Eq settings working?

     

    Thanks,

    Adam

  •  

    Setup:

    Windows 7 laptop

    ADC3101 v1.20 installed with Administrator rights, drivers installed, running in compatibility mode, everything works

    USB-MODEVM updated to latest v3.03 firmware, 44.1kHz image, TLV320ADC3101 daughter board

     

    Procedure:

    ADC3101 GUI is run, successfully connects to the board, We can read registers, run scripts, download firmware, change EVM name, etc. successfully.

                           

    We run the Audio Recording Quick-start and load the settings for internal microphone. Everything works, and we can capture audio from the microphones, into the PC through USB

     

    Then we start the Biquad Filter Tool, configure for high pass, or low pass, or anything for that matter, calculate coefficients and download, but the audio does not get affected.

     

    Troubleshooting Observations:

    We started examining the biquad filter coefficients that should have values written to them, according to the script captured. They were all zero, explaining why the audio was not affected. We then did a little more digging to see at what point they get wiped out.

    After loading the “Recording” script, we observed that the coefficient registers are all reset to zero’s (page 4 of the registers)

     

    At reset, default values, everything seems normal:

     

    After running the recording script. All values get wiped out and become zero

     

    Downloading the Biquad Filter coefficients does not seem to be able to write to those registers. In fact, using the command-line interface and trying to write a single value to register 0x0E in page 4 does not go through. Any attempts to write to these registers fails after running the recording script, unless we soft reset the device.

    After a lot of troubleshooting, we determined that it is when the ADC clock dividers are enabled (registers 18 and 19) that page 4 effectively gets wiped out and becomes “un-writable”. I cannot find anything in documentation that would suggest this is normal behavior. This gets done when we run the Recording script, which I’ve captured below. The highlighted command is the culprit. If I comment it out, then the biquad coefficients are written to the device successfully. Of course, the device doesn’t work properly in this case, since the ADC clock isn’t configured correctly.

     

    w 30 00 00

    w 30 01 01

    w 30 00 00

    w 30 12 81 82

    w 30 1B 00

    w 30 00 00

    w 30 3D 01

    w 30 00 01

    w 30 33 50

    w 30 34 FC

    w 30 37 FC

    w 30 3B 32

    w 30 3C 32

    w 30 00 00

    w 30 51 C2

    w 30 52 00


    I should add, this behavior is the same on two boards that we have. However, on
    one of the boards, audio is dead, even though I can read/write to the register
    set as noted above 

    The board that is not working fully, is the one the customer received a couple of months ago. It worked in the beginning, but had a high pitch noise passing audio through, as mentioned in the earlier emails. Lucas says the noise is not there with the replacement board I gave him recently, which is good. However, the register issue described below is evident on both boards.

    Any help here is appreciated

  • All,

    From my understanding this issue has been closed outside of E2E.

    The main issue was in the On-Board Microphone Recording Script in the GUI - The register writes for the PGA written out of sequence.

    One thing of note is that the ADC3101 cannot change BiQuads on the fly. The BiQuad coefficients can only be modified (and seen in the GUI) when the ADC is powered down.

    Please respond if any of this information is incorrect or there is more to add.

    Regards,

    ~John