• 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 » AIC34 EVM.
Share
Audio Converters
  • Forum
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
Analog Wire blog
  • $core_v2_blog.Current.Name

    How to determine the power at output of modulator from DAC back-off level

    Posted 1 day ago
    by Habeeb Ur Rahman Mohammed
    Customers often ask how they can determine the power at the output...
  • $core_v2_blog.Current.Name

    DAC Essentials: What’s with all this glitch-ing?

    Posted 5 days ago
    by Tony Calabria
    When designing with a digital-to-analog converter (DAC), you...
  • $core_v2_blog.Current.Name

    This amplifier doesn't exist...now what?! - Part 2

    Posted 7 days ago
    by Xavier Ramus
    In Part 1 of this post, we looked at the theory involved in making...

Forums

AIC34 EVM.

This question is answered
Mushtaq Syed
Posted by Mushtaq Syed
on Aug 03 2012 10:09 AM
Intellectual785 points

Hi:

I am evaluating the AIC34 using the TLV320AIC34EVM. I am using the I2C command scripts that came with the EVM installation cd. I am able to play WAV files using the scirpts AIC34EVM_PlayWaveFile(Block A 0x30).txt and AIC34EVM_PlayWaveFile(Block A 0x34).txt; however, the loopback scripts Loopback(Block A 0x30).txt and Loopback(Block A 0x34).txt do not work. The scripts loop data from microphone to headset. I tried loopback with both the on-board microphone and an external microphone to no effect. The clocks look all right.

Could you lease help?

Thanks a lot!

Cheers,

Mushtaq

AIC34_EVM
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Converter Apps
    Posted by Converter Apps
    on Aug 03 2012 10:40 AM
    Mastermind18965 points

    Hi, 

    The loop back scripts require some additional configuration steps. These scripts will take the analog inputs, digitize them, then play them back through the DAC's and finally out the headphones. The digital connection needs to be looped externally with a jumper.

    The first step is not to be sending any I2S data via USB since the ADC will be providing the I2S for the DACs (In other words, you can record on the PC but don't  play anything - including system sounds). 

    Next you must connect Din to Dout with a jumper. You can find these signals on J17 for both block A and B depending on which you are using.

    This should get it working.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Aug 03 2012 11:15 AM
    Intellectual785 points

    Hi:

    I am using port A and I have Din_A(J71.11) and Dout_A(J17.13) shorted. It still does not work!

    I don't think I am sending anything over I2S. Once I have loaded and executed the command file, I don't do anything with the EVM GUI. How do I ensure that nothing is being sent over I2S?

    Thanks a lot!

    Cheers,

    Mushtaq

    AIC34 EVM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Converter Apps
    Posted by Converter Apps
    on Aug 03 2012 13:40 PM
    Mastermind18965 points

    Check Din_A for any data activity. You should have none until you put some signal into the ADC. This will also let you know if the problem is on the ADC side (no change in data with an input signal) or the output side (good signal on Dout, no signal from headphones).

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Aug 03 2012 13:53 PM
    Intellectual785 points

    Hi:

    I2S is set to off for loopback. It still does not work!

    I will check Din.

    Thanks a lot!

    Cheers,

    Mushtaq

    AIC34 EVM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Converter Apps
    Posted by Converter Apps
    on Aug 03 2012 13:59 PM
    Mastermind18965 points

    Hi,

    If the script is the same one that I am looking at, I2S from the mother board must be enabled. It is using the MCLK, BCLK and WCLK signals from the mother board. you could turn off the I2S from the mother board on SW2 but then you would need to add some code to make BCLK and WCLK outputs. This is still using MCLK from the motherboard. 

    In addition to Din, I would verify, MCLK, BCLK and WCLK at the AIC34

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Aug 03 2012 14:48 PM
    Intellectual785 points

    Hi:

    I am using the script Loopback(Block A 0x30).txt .

    Is this script supposed to work with the default factory settings of the AIC34EVM and USB-MODEVM, and Din_A shorted to Dout_A?

    I have verified the default settings for the two against the EVM user guide.

    I will verify the Din and clks and get back.

    Thanks a lot!

    Cheers,

    Mushtaq

    AIC34 EVM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Aug 03 2012 19:38 PM
    Intellectual785 points

    Hi:

    I added the following line of code w 30 08 c0 to the script Loopback(Block A 0x30).txt in order to force WCLK and BCLK as outputs and had I2S set to OFF on SW2. I downloaded this command file. I am observe activity on Din without any audio from the microphone. WCLK=44.1K, BCLK=1.4M, and MCLK=11.2M. The activity on Din does not appear to change if I speak into the microphone. I don't hear anything on the headset.

    Thanks a lot.

    Cheers,

    Mushtaq

    AIC34 EVM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Converter Apps
    Posted by Converter Apps
    on Aug 07 2012 10:48 AM
    Mastermind18965 points

    Hi Mushtaq,

    Were you able to get this to work?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Aug 07 2012 15:02 PM
    Verified Answer
    Verified by Converter Apps
    Intellectual785 points

    Hi:

    Thanks a lot!

    I have got it to work manually , i.e., by setting the GUI knobs and buttons.

    I think the reason was that headset detection was not enabled. What do you think?

    Obiously, the loopback scripts that came with the installation CD are not complete and do not work as is.

    Even after setting the WCLK and BCLK to output in the Audio Interface GUI, I could not get the scritp to work., and the reason is what I mentioned earlier.

    I will dump the script generated when the codec is configured through the GUI and use that.

    Please provide feedback!

    Thanks a lot!

    Cheers,

    Mushtaq

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • shrish marnad
    Posted by shrish marnad
    on Dec 10 2012 08:48 AM
    Prodigy150 points

    HI Mushtaq,

    i am facing the same issue here i.e. im not able to get the loopback working , also ,im not able to play wav files .

    can you please tell me the procedure via gui (or cammand script).

    This will be of great help !

    Regards,

    Shrish

    ADC AIC34 EVM
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Mushtaq Syed
    Posted by Mushtaq Syed
    on Dec 10 2012 19:44 PM
    Intellectual785 points

    Hi Shrish:

    I am assuming that you are using the AIC34 EVM. The I2C scripts that came with the CD should work. For playing out wave files you need to do the following:

                    Go to control panel / audio devices and ensure that USB-MODEVM is selected as the default sound playback device. Then in the audio playback software, Audacity in my case, select USB-MODEVM as speaker.

    I hope this works.

    At present I can't recall how I got loopback to work. 

    Thanks a lot!

    Cheers,

    Mushtaq

    AIC34 Codec
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • shrish marnad
    Posted by shrish marnad
    on Dec 10 2012 22:45 PM
    Prodigy150 points

    Hi Mushtaq,

    Thanks for the help. Setting the audio device in the control panel worked for .wav file playout. (but it didnt work for loopback - here i have connected Dout and Din through a jumper and disabled USB - I2S in Sw2, but still). Anyway loopback was not of a requirement. I just wanted to capture audio and i was able to capture through PC. This is fine.

    Now, the sound gets recorded at 44.1kHz and 16bits per channel. I want to record at 48kHz and 32 bit per channel. I also want to experiment with DSP mode (for multi-channel capture). I tried changing the clock and audio interface  settings in GUI, but was not able to see the frequency change when i probed WCLK. Do you know what might be the problem ?

    Thanks in Advance.

    Regards,

    Shrish

    AIC_codec 16-bit ADC AIC34 EVM AIC34 Codec
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • shrish marnad
    Posted by shrish marnad
    on Dec 11 2012 08:29 AM
    Prodigy150 points

    hi,

    After reading the data sheets, i see that , using USB i2s we can run only at 44.1kHz and 16bits . In non USB i2s mode , i was able to gerenate the required clock. (Kindly ignore my query above)

    Now , I am trying to capture audio using block B codec. If i simply switch between blocks in the GUI, i am not able to see the desired result.

    here is how i evaluate,

    in Block A ..i probe GPIO 1 pin > configure it as output in GUI > toggle between 1 and 0 ..im able to see the result on scope, hence block A path is verified

    in Block selection B ..i follow the same steps ...but i do not see the change in oscilliscope. hence Block B registers are not getting configred.

    Please let me know where im going wrong.

    Regards,

    Shrish

    AIC_codec AIC3X AIC34_EVM AIC34 EVM AIC34 Codec AIC33
    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