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.

TLV320AIC3254 no audio

Hello all,

I have a TLV320AIC3254EVM-U. I have been using the included GUI to play around with it. It has been working great for a while, Then I tried to do a very simple digital in, analog out in PurePath. While downloading to the EVM, PurePath asked to change the sample rate. It changed it, and it has not worked since. 

I did the EEPROM upgrade to V302 V304 more than 10 times, I even downgraded to V202. I uninstalled all of the windows drivers, and I even did a fresh install of windows. Still no luck. Windows detects the EVM, and it shows that it is outputting audio. When I use the included GUI,  and load "Playback" you can hear a click of the DAC powering up. The GUI, talks to the EVM like there is nothing wrong. And if you load the spectrum analyzer, all the bars are maxed out. If you hook up to audio in, while audio is playing, you can hear a crackling sound in the headphones, but it is very low.

I just dont understand what is going on, and how changing the sample rate could brake my EVM. I want to get this working again, because I cant afford to buy another one. 

PLEASE HELP,

Thank you

Anthony

*** EDITED *** I typed in wrong version number.

  • Hi, Anthony,

    Welcome to e2e and thank you for your interest in our products.

    It is a common problem when the sample rate is changed in the EVMs. I have revived some EVMs when this problem appears. Have you checked this wiki article: How to Revive a USB Audio EVM? Please follow the steps and try to use the EVM (remember to reset the device after follow the steps in the wiki).

    I hope this helps you. If you still have questions or if the problem persists, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Thank you for the reply Luis,

    I tried that over 10 times, I even tried different sample rates. And going to the extreme of formatting my hard drive, and reinstalling windows. The firmware update process works like it should, with no problems. And Windows sees and connects to the EVM, I just dont have audio out, both with headphone and line out. Under audio mixer in windows, Windows is showing "USB-EVM AUDIO", and the VU meter next to it, will move with any music or sound the computer outputs.

    From what I can tell (Im not a pro), Windows sees the EVM and is sending the i2s data to the EVM, but the EVM cant play the audio.

    Hope that makes sense.

    Thank you
    Anthony
  • Hi, Anthony,

    I would like to have a better approach of this issue. So, I have many questions about the EVM.

    Have you tried using different functions of the EVM? I mean, can you use the bypass, record, AGC or the rest of the functions of the EVM? Is it possible to read the register values by the command-line interface?

    Thank you.

    Best regards,
    Luis Fernando Rodríguez S.
  • Luis,

    Thank you for taking the time to help me with this.

    I have tried other functions, But I have not tried record or ACG. I only tried functions that should provide audio on the headphone or line out jacks. Like, EQ, Spectrum analyzer, 3D audio, adaptive filtering, etc...

    I have not tried to read the registers from the command-line directly. Using the included GUI I can record the output i2c data, read and show the flags (even when I change functions), read and show the contents of the registers at any page I select. I have tried messing with the ADC, and DAC power, volume, and mute. I have messed with the input MUX. Nothing works. I can hear a small(have to want to hear it) pop when I switch on and off the DAC power.

    It seems like the everything works on the EVM, except audio out.

    I did add wires to R6 & R7, on the i2c side, so I could use an external MCU. But I did that about a month ago. And I have not had any problems with it using the included GUI. When PurePath programmed the EEPROM, I had my MCU disconnected. I didnt want to take a chance screwing something up by having my MCU hooked up.

    Thank you
    Anthony
  • Hi, Anthony,

    I would like to be sure that the clocks settings and the I2C are working properly. So, I recommend to check the serial data interface clocks frequencies and data (BCLK, WCLK, DIN and DOUT) using the record and playback functions. Then, I suggest to read the registers related with the audio outputs with the GUI (using commands such r 30 25 01).

    Thank you.

    Best regards,
    Luis Fernando Rodríguez S.
  • Luis,

    Not a problem, I can do that. It will be a couple hours though, Im at work. But once I get home, I will give it a try.

    Thank you
    Anthony
  • Thank you, Anthony. I will be waiting for the results.

    Best regards,
    Luis Fernando Rodríguez S.
  • Luis,

    I tried Playback, and recording under "typical configurations" , I could not hear anything from the headphones in "playback", and sound recorder did not pickup anything in "recording". I never used the recording configuration, so I dont know if I am doing it correctly. I hooked line in to my phone, and played music, then opened sound recorder, and recorded what was coming from the EVM. Then I played what I recorded, it was just dead air.

    I checked register 25h, in playback and recording, the data is 00h. But if I change registers 41h & 42h, to 05h, then check other random stuff, then check registers 41 & 42, the values are what I put in it before. They changed, and stayed changed.

    I checked all the registers that "playback" loads, to see if the values are what was loaded. And they are.

    I hope this is the info you need. 

    Thanks

    Anthony

  • Hi, Anthony,

    Thank you for the tests that you made. It seems that the I2C lines are working correctly. But if the record and playback functions are not working properly, it must be related with the I2S lines or the sample rate. Have you checked the I2S clocks? Could you check the clocks frequencies please? Additionally, could you try using the bypass modes to route the inputs directly to the outputs? This is to ensure that the inputs and outputs are working correctly.

    Thank you.

    Best regards,
    Luis Fernando Rodríguez S.
  • Hello Luis,

    I am sorry it has taken a while for me to reply, I just could not get away.

    I took my 1964 Tektronics scope, and probed the I2S lines. The only one that is doing anything is the WCLK. I cant tell you the frequency exactly(Its not worth calibrating my scope), but it is about 2MHz. 

    The sample rate is set to 48K. I have tried other sample rates with hope it would fix it.

    I tried the bypass modes, the flags will change, but I still have no audio.

    I hope that helps.

    Thanks

    Anthony

  • Hi, Anthony,

    The default clocks configuration of the EVM must be:
    MCLK = 11.2896 MHz, BCLK = 2.8224 MHz and WCLK = 44.1kHz.

    Could you check if the jumpers and switches are in the default position on the MODEVM-INTERFACE board please? If yes, the problem might be related with that board.

    Thank you.

    Best regards,
    Luis Fernando Rodríguez S.
  • Hello Luis,

    From the included GUI, It is saying those are the clocks.

    This board is the small USB dongle size board. There is no switches or jumpers on it. Could that mean the board is bad? if so, would you have an idea on what happened? The problem started when PurePath changed the sample rate.

    Thanks
    Anthony
  • Hello Luis,

    I just wanted to let you know, I tried the EVM on 2 other computers, and I also tried reloading the firmware on those computers. I still have no luck.

    Thank you for taking the time to help me with this.
    Anthony
  • Hi, Anthony,

    Thank you for the information that you provided.

    I have been making some tests with the TLV320AIC3254EVM-U. It seems that the wiki article doesn't specify that you must avoid the step 16 for this EVM (Run "remove-miniEVM.exe" as administrator (right click option). This is found inside the USBfirmware files obtained above). When you execute the "remove-miniEVM.exe" file, the EVM driver is deleted.

    Could you try with this please? Let me know if the problem persists.

    Best regards,
    Luis Fernando Rodríguez S.

  • Hello Luis,

    I tried what you asked 3 times, all with different sample rates. It did not work. Then I said "screw it!!, i'm going to erase the EEPROM!" At this time I have had it. I made a quick program for my MCU (parallax Propeller), that would first write $00 to all EEPROM locations, then write $FF to all locations. I then went into device manager, selected "show hidden devices" and deleted every hidden device, and I mean every device. I then ran DFUTEST. It loaded the EEPROM with DFUEE with no problems, but had problems detaching. But after a few times unplugging the EVM-U, and running DFUTEST, it was able to detach, and I could load the image file (44.1k). I crossed my fingers, and clicked "test" within sound manager, and to my enjoyment, I GOT AUDIO!!!

    The only thing I could think of is the EEPROM got loaded with some wrong data that was past the location DFUTEST would write to (0x0058), and the USB-chip was reading it. Because I have no real idea what happened. All I care about now is, is that it works.

    Maybe you can use this experience for future problems. Or maybe have a way to erase all the locations in the EEPROM.

    I want to thank you so much for sticking it out with me, and offering your advice. You have been great.

    Thank you
    Anthony
  • Hello, Anthony,

    I'm glad to read that you finally got audio. Thank you for the information, it could be very useful to avoid this kind of issues in the future.

    Best regards,
    Luis Fernando Rodríguez S.