• 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 » Secondary Interface of tlv320aic3254 and miniDSP filtering problem
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 4 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 5 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 11 days ago
    by Soufiane Bendaoud
    Before I suggest a suitable op amp to drive an ADC, I look at...

Secondary Interface of tlv320aic3254 and miniDSP filtering problem

Secondary Interface of tlv320aic3254 and miniDSP filtering problem

This question is not answered
Shriyash Chougule
Posted by Shriyash Chougule
on Jul 25 2012 08:12 AM
Prodigy160 points

Hi,

1. I am trying to set a 4th-order notch filter using Pure Path using the cascaded biquads block.

    I was able to make this filter work for primary AIS interface of tlv320aic3254 chip. Attched below are Mag vs frequency responses of

    recorded audio on primary interface.

Without Notch Filter :

With Notch Filter at 4.2Khz:

2. I have trouble getting this filter work for the Secondary AIS interface of tlv320aic3254.

    I do get audio on this Interface, but the frequency response shows that the filtering action has not taken place !!!

    i.e. I don't see a dip at 4.2Khz in the Mag vs Frequency response.

3. I have no clue as what is going wrong.

   I have attached the Pure Path text scripts (which I have modified to suit my hardware) using for primary and secondary AIS interface.

5684.Primary_interface_PURE_PATH.txt

4721.Secondary_Interface_PURE_PATH.txt

Can someone please help in reviewing this script, particularly for the secondary interface.

I am not sure above scripts are sufficient to debug the problem, please do inform if any further details are needed.

Thanks,

Brontok  :)

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Shriyash Chougule
    Posted by Shriyash Chougule
    on Jul 26 2012 03:13 AM
    Prodigy160 points

    Hi,

     

    Has anybody been able to use miniDSP and get filtered audio on Secondary Interface ?

    If yes then please share the register settings/ script used to do so, it will be of great help.

    Thanks,

    Brontok  :(

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Don Dapkus
    Posted by Don Dapkus
    on Jul 27 2012 06:49 AM
    Guru101855 points

    Hi, Brontok,

    We are looking into your question.

    -d2

    -----

    Don Dapkus

    Audio Applications Engineering Manager

    Dallas, TX USA

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Shriyash Chougule
    Posted by Shriyash Chougule
    on Jul 31 2012 03:12 AM
    Prodigy160 points

    Hi,

    This time I have tried to avoid the miniDSP and use the ADC processing block 2 instead, which offers 5 cascaded biquads. I made use of Biquad A and Biquad B to form a 4th order notch filter at 4300Hz, and used Biquad Coefficient calculator by TI.

    Again here, I observe, the filtering action happening only for primary interface and not on secondary interface. It seems to me that I am not properly configuring the Secondary interface.

    Please can you review the script below, No miniDSP involved here, ADC processing block 2 is used :
    3632.audiochip_secondary_notch4300.txt

          // Notch filter for 4300Hz, 48Khz sampling frequency, Master_clock12.288 Mhz, Word_clock = 48Khz, bit_clock = 3Mhz
           biquad_coefficients = 0x7E 0x58 0x95 0x00 0x95 0x25 0x4A 0x00 0x7E 0x58 0x95 0x00 0x6A 0xDA 0xB6 0x00 0x83 0x4E 0xD5

          // Software Reset
            w 0x30 0x00 0x00      // Select PAGE 0
            w 0x30 0x01 0x01        // Initializ Device through software reset

          // Power Supply Configuration
           w 0x30 0x00 0x01       // Select PAGE 1
           w 0x30 0x02 0x09       // Power up ALDO
           w 0x30 0x01 0x08       // Disable Weak Avdd & connect it to Dvdd
           w 0x30 0x02 0x01       // Keep ALDO Powered  enable master analog power control
           w 0x30 0x47 0x32       // Set input power-up to 3.1 msec
           w 0x30 0x7b 0x01       // Set REF chargup to 40 msec

          // Clock Configuration
           w 0x30 0x00 0x00       // Select PAGE 0
           w 0x30 0x04 0x0f       // pll_input = Din & Codec_Clk = pll_clk
           w 0x30 0x06 0x07       // J = 7
           w 0x30 0x05 0x91       // P = R = 1 & Power-up
           w 0x30 0x0b 0x02       // NDAC = 2 & Power-down
           w 0x30 0x0c 0x07       // MDAC = 7 & Power-down
           w 0x30 0x12 0x82       // NADC = 2 & Power-up
           w 0x30 0x13 0x87       // MADC = 7 & Power-up

          // Secondary Interface Configuration
           w 0x30 0x00 0x00       // Select PAGE 0
           w 0x30 0x34 0x04       // Seconday Wclk = MFP5
           w 0x30 0x37 0x10       // Secondary Output = MFP4
           w 0x30 0x1f 0x20       // Secondary MUX for Wclk = GPIO/MFP5 & Secondary MUX for Bclk = SCLK/MFP3
           w 0x30 0x20 0x0e       // AIS will use secondary interface settings
           w 0x30 0x21 0x3d       // Secondary Data output from Serial Interface
           w 0x30 0x1d 0x04       // Force AIS output the respective secondary clks
           w 0x30 0x1b 0x20       // 24-Bit format on I2S
           w 0x30 0x00 0x01       // Select PAGE 1
           w 0x30 0x0a 0x7b       // 0.75 V common mode

         // ADC Configuration
           w 0x30 0x00 0x00       // Select PAGE 0
           w 0x30 0x3d 0x02       // Processing block 2 for ADC  IIR with flat response

               // 4TH Order Notch
                w 0x30 0x00 0x08       // Select PAGE 8
                w 0x30 0x24 biquad_coefficients 19 bytes
                w 0x30 0x38 biquad_coefficients 19 bytes
                w 0x30 0x00 0x09       // Select PAGE 9
                w 0x30 0x2c biquad_coefficients 19 bytes
                w 0x30 0x40 biquad_coefficients 19 bytes

           w 0x30 0x00 0x01       // Select PAGE 1
           w 0x30 0x3d 0x64       // ADC PowerTuneMode 3
           w 0x30 0x33 0x58       // Mic Bias 1.45 V
           w 0x30 0x34 0x10       // IN2L to positive of LPGA
           w 0x30 0x36 0x10
           w 0x30 0x37 0x04       // IN3R to positive of RPGA
           w 0x30 0x39 0x04
           w 0x30 0x3b 0x2c       // unmute LPGA with gain of 22dB
           w 0x30 0x3c 0x2c       // unmute RPGA with gain of 22dB

         // Power up ADC & DAC
           w 0x30 0x00 0x00       // Select PAGE 0
           w 0x30 0x51 0xc0       // Power up LADC and RADC
           w 0x30 0x52 0x00       // Unmute LADC & RADC gain is 0db

    Thanks,

    Shriyash Chougule

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Daniel Katz
    Posted by Daniel Katz
    on Jul 31 2012 18:41 PM
    Prodigy570 points

    Hi Shriyash,

    How are you measuring the signal exactly?  We can discuss this offline if you'd like.  I'll send you a friend request

    Regards,
    Dan Katz 

    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