• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Data Converters » Audio Converters » Audio Converters Forum » TAS3204 ADC to DAC bypass mode not working!
Share
Audio Converters
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    RS-485 - Who says you can't teach an old dog new tricks?

    Posted 3 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...
  • $core_v2_blog.Current.Name

    Filter for thought

    Posted 4 days ago
    by Soufiane Bendaoud
    Have you ever wondered how engineers designed active filters...
  • $core_v2_blog.Current.Name

    Let’s take this driver out for a spin

    Posted 10 days ago
    by Soufiane Bendaoud
    Before I suggest a suitable op amp to drive an ADC, I look at...

Forums

TAS3204 ADC to DAC bypass mode not working!

This question is answered
Atmaram K R
Posted by Atmaram K R
on Jan 09 2012 10:43 AM
Prodigy100 points

Hi,

I am trying to get the following scheme working in TAS3204:

TAS3204 has been configured to run in slave mode. I have generated the code (attached) using PurePath Studio GDE (version 1.88 build 5) and downloaded through I2C interface. The I2C download is fine since I am able to get audio out on DACs if I use signal generator blocks of TAS to produce the signal and output it to DACs instead of taking any input. But the above input-to-output bypass mode is not producing any signal at the output. We have probed the input and output pins of TAS, signal is seen entering the chip but nothing comes out at the output pins.

Is there any I2C register which can be read to get some information about what is going on inside TAS? I have checked the firmware download status register (I2C subaddr: 0x02), which didn't report any errors. Am I missing something?

Thanks in advance.

8867.TAS3204_ADC2DAC_cfg.txt

PS: I do not have an EVM board.

TAS3204
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Atmaram K R
    Posted by Atmaram K R
    on Jan 09 2012 11:04 AM
    Prodigy100 points

    < reattaching the block diagram >

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • susan xu
    Posted by susan xu
    on Jan 09 2012 11:14 AM
    Expert3030 points

    Atmaram,

    One thing I need to clarify: Are you running in slave mode or you're using slave download?

    Can you attach your .pfw file so I could take a look?

    Susan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christopher K.
    Posted by Christopher K.
    on Jan 09 2012 12:17 PM
    Intellectual400 points

    Hello Atmaram,

    have you tried the I/O test configuration which is described in the datasheet? In this mode the TAS streams audio directly from its inputs to the matching outputs even without a correct program in the eeprom. Through this you could confirm that your adc and dac circuits are working correctly. Then all that would be left is a possible programming error of the TAS.

    PS since your are using a non EVM Board. What measures did you take against the noise pattern on the dac output?

    Greetings,

    Christopher

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atmaram K R
    Posted by Atmaram K R
    on Jan 10 2012 22:49 PM
    Prodigy100 points

    Hi Susan/Christopher,

    Thank you both for your inputs.

    Susan,

    I am using slave download, sorry for the confusion. Also, PFA the .pjw file (I have renamed .pjw to _pjw.txt since I was getting "File Format Not Supported" error while attaching the .pjw file). Could you please let me know if I'm missing anything?

    7651.TAS3204_ADC2DAC_pfw.txt

    Christopher,

    Yes, we tried the I/O test configuration mode and is not seem to be working. As I mentioned earlier, we could probe the signal at the input pins of TAS but no signal at the output pins. Also, one doubt I have is since there are 3 stereo inputs to TAS and only 2 will be selected internal to the chip, which of the 2 get selected in I/O test configuration mode? Is it ADC1->DAC1, ADC2->DAC2 or something else? Will this information be updated in I2C registers of TAS in I/O test configuration mode so that we can read these register contents?

    The board was designed by taking into consideration the application notes, board schematics and other references of TAS3204 EVM board. I will check with the hardware people to see if anything we haven't taken care w.r.t. noise pattern on DAC outputs.

    Thanks,

    Atmaram

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • susan xu
    Posted by susan xu
    on Jan 11 2012 10:29 AM
    Expert3030 points

    Atmaram,

    I am not familiar with slave download myself, have you tried master download to see whether that's working? or you don't have an EEPROM on board?  Or if you could tell me how you did your slave download, then I could see whether I can reproduce on my board.

    I am not able to download the .pfw file you attached, could you attach again?

    Did you send the corresponding I2C commands to configure the GPIO ADC etc as in the file I attached?

    Susan

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Christopher K.
    Posted by Christopher K.
    on Jan 11 2012 13:27 PM
    Verified Answer
    Verified by Atmaram K R
    Intellectual400 points

    Hello Atmaram,

    if the I/O Testconfiguration isn't working you seem to have a more basic hardware problem instead of a software related error. It is correct that ADC1 streams to DAC1 and ADC2 to DAC2. ADC3 is not included in this test, since this input is only chooseable via the chip internal sw defined mux. But you should be able to see a signal on the outputs when the I/O testconfiguration is runnin from the analog inputs.

    So lets see if we can get this IC running:

    First of course check all six power supply voltages if they are present at the TAS

    Next check the Power Down, Voltage Regulator and Reset Pins (7, 62, 49) all should have a high level signal since these inputs are low active

    Then see if the voltage references are working correctly Vmid should have Vdd/2 als level. VR_ANA, VR_DIG and VR_PLL are supposed to be at 1.8 Volts. VRef should be somewhere arround 1.3 V

    If you got all these voltages correct, check the current consumption of the TAS, when powered up the TAS needs arround 180mA supply current.

    The next thing you should check is the external oszillator. When the TAS is powered up, you can measure the cyrstal input frequency. It should be exactly 24.576 MHz. If this signal is also present at the TAS you normaly can already see the output clocks on the pins MCLK_Out, LRCLK_Out and SCLK_Out. 12 MHz, 3 MHz and 470 KHz if I'am not mistaken.

    After that I would normaly say that the TAS is working correctly hardware wise. Now you could only check if your analog audio inputs signals are in a range the TAS can handle. The audio signal must be dc decoupled at the inputs pins, so that the TAS can shift the audio signal via a dc offset of Vmid into an all positiv range. You can measure this by muting your audio signal and take a measurement of the dc voltage directly at the analog input pin of the TAS. If you measure 1.8 V apply an audio signal with 500 mV amplitude, the dc part of the signal should stay the same.

    After that either you can now see an audio output signal at the dac pins with lots of noise on it or I'am currently out of ideas.

    What I really appreciate would be if you could check with your hw designers, which measures they have taken against the output noise. That is one topic, that is keeping me working constantly for weeks now. After adding a post low pass filter like the one on the EVM board I got an almost noise free audio signal, still there is some noise left and some input from other developers would be really welcome regarding what kind of experiences they have made with the noise pattern so far.

    Greetings from Germany,

    Christopher

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Atmaram K R
    Posted by Atmaram K R
    on Jan 19 2012 03:42 AM
    Prodigy100 points

    Hi Christopher,

    Thanks for your valuable inputs. After verifying the voltage levels at different points as suggested, we traced down the issue to a wrongly configured resistor value. Once we replaced it with the proper one, TAS started working fine. I/O test, slave download etc. are behaving properly now.

    Regards,

    Atmaram

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use