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

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

    Posted 3 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 5 days ago
    by Xavier Ramus
    In Part 1 of this post, we looked at the theory involved in making...
  • $core_v2_blog.Current.Name

    Engineering the world through Analog

    Posted 10 days ago
    by Hagop Kozanian
    Our lives are surrounded by analog everywhere we go. That’s...

TAS1020B sample code

TAS1020B sample code

This question has suggested answer(s)
david Hong
Posted by david Hong
on Jul 04 2012 07:26 AM
Prodigy30 points

Hi, I'm working on a project using TAS1020B. The product is designed to support 96kHz, 24bit USB audio. I downloaded the development kit from TI website and found only the TSC2100_FW8 software can work with 44.1kHz while the volume control function is disabled. All other sample code including V1.8 cann't work. When I download the BIN file of V1.8 to the EEPROM, the windows can recognize it as tas1020a eva..... but it cann't out put the IIS streaming, it seems the driver is not correct.

I'm wondering if there is a set of sample code which can support 96kHz, 24bit ? And Can you send it to my email: jyhong@139.com?

Thank you very much.

TAS1020
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Frank Minich
    Posted by Frank Minich
    on Jul 04 2012 09:03 AM
    Suggested Answer
    Expert4110 points

    David,

    There is no example code for 96kHz, 24bit audio in the FDK, and there won't be any - that's one of the reasons the device is currently in 'NRND' status - there is no intent to support OEMs developing new functionality.

    However, OEMs have been successful in the past using the TAS1020B to transfer 96kHz 24bit audio (in a single direction - not both directions simultaneously).  You can _start_ from the v1.8 code, but have to modify it.  Some of the modifications would be:

    - switch from AC97 codec interface to I2S codec interface (i.e., 'mode')

    - switch from passing codec commands via the AC97 interface to using I2C or GPIO for codec commands

    - eliminate the number of channels moving in the opposite direction, including associated buffers

    - increase buffer size for audio data due to 16->24 bit and 48kHz -> 96kHz

    - add ACG support for new sample rates

    - modify USB descriptors appropriately

    - support sample rate command from the host

    Regards,

    Frank

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • david Hong
    Posted by david Hong
    on Jul 05 2012 22:56 PM
    Prodigy30 points

    Dear Frank,

    Thank you very much for your prompt reply.

    I have a problem when using the V1.8 firmware. Either I burn the original APP116.bin or APP124.bin or compile the project and create a new bin file, the device couldn't work as a usb audio device. I attach a picture of the device manager as below:

    What problem it would be?

    And I have another question, there are 2 folders in the V1.8 named Application and Rom. What's the usage of the folder named Rom?

    According to your experience, how long it will take if we want to change the firmware to support 96kHz, 24bit?

    Thank you very much for your help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Frank Minich
    Posted by Frank Minich
    on Jul 06 2012 08:47 AM
    Expert4110 points

    David,

    As to the TAS1020B not showing-up in Device Manager, I think it's because v1.8 expects to initialize the AC97 codec - which it doesn't find when running on your hardware - hence the code never gets to the program loop wherein it handles control transfers.

    The 'Rom' folder has the code that is actually resident in the internal ROM on the TAS1020B.  The 'Application' folder has code for an application that runs on a 'TAS1020EVM';  that code makes use of the ROM code 'framework'.  The amount of program RAM on the TAS1020B is not large, so a typical application should attempt to make as much use of the ROM as possible.

    Unfortunately, the TAS1020EVM is no longer available. 

    In order to build your application, you will need the compiler and linker from Keil for the 8051/8052.  At least one OEM has used sdcc instead of Keil for this, but linking to the in-ROM code is more-difficult when using sdcc (i.e., you're on your own), since the ROM image was built using the Keil toolset.  Also, sdcc produces different endian code than Keil produces.

    I'd estimate two man-months of effort to convert from v1.8 to a version that has the capabilities you desire.

    Regards,

    Frank

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • david Hong
    Posted by david Hong
    on Jul 16 2012 22:25 PM
    Prodigy30 points

    Dear Frank,

    Thank you very much for your information. I'll start to study the code and will need your help if I encounter some problems. Thanks in advance for your help.

    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