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.

Initializing and debugging TAS3204

Other Parts Discussed in Thread: TAS3204, OPA1632

Hello TI community,

 

I'am new to the world of the TAS Audio DSPs and just finished my first board with the TAS3204. Now like almost always the problem is to get the chip running. The hardware is completed and from my understanding ready to be used. I'am using the analog in- and outputs of the DSP in combination with my selfbuild PA loudspeakers. What I have so far, is that the xtal is running with the correct frequency and I can see a signal on the clock outputs. Furthermore I'am measuring round about 1.8V at the VR_ANA, DIG and PLL pins. Then I tried to start the DSP in the I/O test configuration, which is described in the datasheet by using my system controller. After coming out of the reset the DSP consumes 180mA which should be within the specified limits and is communicating with the eeprom via the I2C bus. So far for me everything looks good, the problem is that I won`t get any output from the TAS. So I was thinking maybe the analog in- and outputs aren't routed in passthrough during I/O test configuration but I couldn`t find an answer to that in the datasheet. The next thing that came to my mind, that maybe the mute pin is active even if the datasheet says it won't, so I tested this with my system controller by pulling the mute pin to vcc or ground. Still no luck. After that I double checked my hardware. I found that VMID is just a litte above 200mV but since the datesheet won't tell me the nominal voltage I don't know if this is the normal condition. VREF is another unknow value for me I measured 1.3V but is it correct? Long story I know, so let me sum up my questions:

1. In I/O test configuration does the TAS3204 stream audio from the analog inputs to the analog outputs?

2. Is there a register that must be written to set the output volume of the DSP either in the test configuration or during normal operation to get output?

3. What are the normal voltages for the VMID, VREF and REXT pins?

4. Any other ideas to get the DSP working?

 

Yours faithfully,

Christopher

  • Chris,

        Sounds like you've done your due diligence in your description of your observations.

    Christopher K. said:
    1. In I/O test configuration does the TAS3204 stream audio from the analog inputs to the analog outputs?

    Yes - TAS3204 should stream Analog In -> Analog Out in test mode, however you might want to verify GPIO1 is pulled low as per the datasheet.

     

    Christopher K. said:
    2. Is there a register that must be written to set the output volume of the DSP either in the test configuration or during normal operation to get output?

    It should default to 0dB

    Christopher K. said:
    3. What are the normal voltages for the VMID, VREF and REXT pins?

    VMID should be ~AVDD/2 since it's the ADC/DAC Mid-Rail supply. A level of ~200mV sounds like there is potentially a short on your board. You may wish to power down the board, and ohm out the VMID pin to your analog ground to check.

    Christopher K. said:
    4. Any other ideas to get the DSP working?

    I'd suggest working the VMID pin first, and finding root cause of why it's low. Once this step is verified, we can pursue other avenues.

  • Good morning Drew,

     

    thank you for your fast reply to my problem. It's good to hear that the TAS streams Audio through the analog ports in the I/O test configuration. That makes testing the board a lot easier. At the moment I'am using my system controller to controll the DSP with a sequence like this: powering board -> reset pin held low -> setting GPIO1 pin low -> powering dsp -> wait 20ms -> releasing reset.

    Regarding the VMID voltage you just confirmed my suspicion that it's level should be around 1.6V. Unfortunately the board lies in the lab of my university and now it is a weekend so I can't check the VMID connection till monday. In the meantime I did what I could and tripple checked my circuit diagram and found something interesting. In this datasheet for the TAS3204

    http://focus.ti.com/lit/ds/symlink/tas3204.pdf

    in section 2.3 terminal descriptions you are directed to decouple the VMID pin with a 100nF and a 10uF ceramic cap furthermore the VREF pin is only decoupled with a single 100nF capacitator. Now if we jump to the application information scematics in section 14.1 we see that all the reference voltage pins are decoupled via identical 100nF and 4.7uF capaciator networks. So now I'am a little bit confused. I don't expect the 10uF cap on the VMID pin to be a problem in comparison to a 4.7uF cap. What bugs me is the single 100nF cap at the VREF pin. If there is missing a filter cap it could be another problem. So it would be nice if you could check this for me until I can make measurements on my board on monday.


    best regards,

    Christopher

  • Christopher K. said:
    I don't expect the 10uF cap on the VMID pin to be a problem in comparison to a 4.7uF cap.

      This isn't a problem,  whether its a 4.7uF, or a 10uF cap, its there to provide bulk charge storage at the pin to keep the voltage at ~AVDD/2 under heavy loads.

    Christopher K. said:
    hat bugs me is the single 100nF cap at the VREF pin.

    This is just a power supply decoupling cap. Standard practice in industry to mitigate real world noise that is coupled on the internal voltage regulators output. If you don't have a bulk cap on the VREF pin, it's value should still be at AVDD/2 since the voltage is generated internally.

    For verification purposes, you can simply swap the 4.7uF caps with 10uF and observe if you find any changes. You could also stick on the 4.7uF or 10uF cap on the VREF pin and observe for any changes. This will hopefully settle your concerns.

    However, from the purely theoretical standpoint, changing the value of the cap will not cause the AVDD pins to be pulled down to 200mV as caps do not pass DC. I suspect you have a board issue, -or- your TAS3204 device has suffered from Electrical Overstress due to handling without the necessary precautions. If it's the later, you should be able to get some free samples from TI.com so you can swap it out.

     

     

     

     

     

  • To clarify

    VREF will be at 1.2V or so I believe.

    VMID should be at ~AVDD/2

  • Hello Drew,

    seems like I found the source of my problem. I wanted to use the VMID Voltage of the TAS3204 to reference an OPA1632 diffential amplifier. For that purpose I buffered the VMID Voltage with a seperate 4.7uF electrolyte capacitator and applied the VMID Voltage to the VCOM pin of the OPA1632. At least that was the plan, 'cause as soon as I make the connection between the DSP and the OPA the VMID Voltage drops to 300mA. Now I have to find another way, to reference my OPA to the VMID voltage of the TAS DSP or would you say, that this solution normaly should work?

    best regards,

    Christopher

  • Ok, now I'm referencing the OPA1632 via a resistor divider and the VMID Voltage is stable at 1.55V. VREF is 1.2V so far everything looks good, but still no output from the TAS. I tried switching the positiv and negativ signal on the analog input pins in case I got the polarity wrong, still no improvement.

  • Chris,

    Christopher K. said:
    For that purpose I buffered the VMID Voltage with a seperate 4.7uF electrolyte capacitator and applied the VMID Voltage to the VCOM pin of the OPA1632

    I'm not sure I understand when you say you 'buffered' the VMID pin with a 4.7uF Cap. Simply adding another cap isn't really buffer, as the pin is not decoupled from your OPA circuit. Keep in mind that the VMID pin is characterized by voltage as well as current. If the VMID pin cannot supply enough current to power the OPA (which in this case is true), you'll need to rework your circuitry to overcome this issue.

    Since I highly suspect this is a class project, and you are paying a good chunk of change for the learning experience, I'm not going to give you the answer of how to do this, - however - I will hint that finding a way to reference VCOM pin from TAS3204 VMID is the best solution,  as the DC offsets / mismatched references in the audio signal chain may distort the quality of  the audio (and probably decrease your grade in the class).

    Best of luck in developing your debugging skills,

     

     

     

  • Hello Drew,

     

    you're right, powering the OPA from the TAS VMID pin wasn't  a very smart idea. The workaround with a voltage divider was the quick and dirty way to get a fast solution without reworking the board layout. So as an more elegant way I'am thinking about something like a unity gain amplifier for the next version of the board. Until that, the main problem remains, the TAS won't output a single tone. Maybe I should give it a try and replace the TAS. But on the other hand, seems the TAS to be ok, all voltages are within their given limits, the xtal is running, i2c communication with the eeprom is happening and even the system contoller seems to be configured the right way, to archive the I/O test mode.

     

    Argh I need a break,

    Christopher

  • Chris,

          You can also try simply programming the device. The ROM bootloader will only enter test mode under certain conditions. If the EEPROM image is valid, it will never enter test mode - so simply removing the EEPROM may will eliminate some of the variables in your system.