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

    This amplifier doesn't exist...now what!?

    Posted 1 day ago
    by Xavier Ramus
    Sometimes it’s impossible to find an amplifier with the...
  • $core_v2_blog.Current.Name

    Cable equalization 101 – Automating your design

    Posted 4 days ago
    by Hooman Hashemi
    Judging by the number of views on a post related to numerical...
  • $core_v2_blog.Current.Name

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

    Posted 8 days ago
    by Neel Seshan
    Would you agree that RS-485 has turned out to be one of the most...

about aic3204 3254 DAC Gian

about aic3204 3254 DAC Gian

This question is not answered
bo li75605
Posted by bo li75605
on Mar 06 2012 20:55 PM
Prodigy100 points

C Gain

Hello

who can give me an example to explain this table, I am really confused.

Thank you

Bo Li

AIC3254 TLV320AIC3254 AIC3204 TLV320aic3204 audio codec
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Don Dapkus
    Posted by Don Dapkus
    on Mar 24 2012 08:31 AM
    Guru102005 points

    Hi, Bo,

    Sorry for the delay. Did you get this figured out?

    Basically, what it means is we can adjust the audio quality/supply current consumption. If you can sacrifice some audio quality, you can save some supply current, thus extending battery life.

    -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.
  • bo li75605
    Posted by bo li75605
    on Mar 24 2012 20:46 PM
    Prodigy100 points

    Hi Don

    As refered the example code "Texas Instruments\AIC3254 CS\DATA\EVM\AIC3254\PLAYBACK\PLAYBACK_LOW_POWER.TXT". I know how to do the compensation when choose PTM and understand the concept of compencetion wiht PTM choosing.

    Thank you

    Bo Li .

    ......
    # Set the DAC PTM mode to PTM_P1
    w 30 03 08 08
    #
    # Power up HPL/HPR and LOL/LOR drivers
    w 30 09 3C
    #
    # Unmute HPL/HPR driver, -5dB + 14dB for PTM_P1 compensation
    w 30 10 09 09
    #
    # Unmute LOL/LOR driver, -5dB + 14dB for PTM_P1 compensation
    w 30 12 09 09
    ........

     

    AIC3254 TLV320AIC3254 AIC3204 TLV320aic3204
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • bo li75605
    Posted by bo li75605
    on Apr 03 2012 00:41 AM
    Prodigy100 points

    Hi Don

    I want to demonstate ADC and DAc Gain settings. I expected that when input is full scale, the output is full scale too, but when input is 120mv(RMS), the output reahes 500mv(RMS), I don't know where signal are amplified, in adc channle or dac channel? I atteched my script, please help.

    I tested DRC function by providing different level sine signals to IN1L,R, the output is not restricted to -24db full scale, it still can be up to full scale 500mv(RMS). Any thing I misunderstand the DRC function? or any code I missed to write? please help to explain.

    Thank you

    Bo Li

     

     Gian Test
    ###############################################
    # Software Reset
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # Initialize the device through software reset
    w 30 01 01
    #
    ###############################################

     

    ###############################################
    # Clock Settings
    # ---------------------------------------------
    # The codec receives: MCLK = 11.2896 MHz,
    # BLCK = 2.8224 MHz, WCLK = 44.1 kHz
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # NADC = 2, MADC = 2,
    # dac OSR=64,
    w 30 0b 82
    w 30 0c 82
    w 30 0d 00 40
    #
    # NADC DIVIDER POWER DOWN, ADC_CLK SAME AS DAC_CLK, AOSR=64
    W 30 14 40
    #
    ###############################################

    ###############################################
    # Signal Processing Settings
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # Set the DAC Mode to PRB_P8 (STERO, DRC, 4 BQ, Interpolation B, RC=8)
    # DRC not enabled yet(see reg68 default)
    w 30 3c 08
    #
    # Set the ADC Mode to PRB_R8(STERO, AGC, 3 BQ, AOSR 64, Decimation Filter B,RC=4)
    # AGC not enabled yet(see req86,94 default)
    w 30 3d 08
    #
    ###############################################

    ################################################
    # ROUT ADC TO DAC
    ################################################
    # Select Page 0
    w 30 00 00
    #
    # Stereo ADC output is routed to Stereo DAC input, BDIV_CLKIN=DAC_CLK
    w 30 1D 10
    #
    ###############################################


    ###############################################
    # Initialize Codec
    ###############################################
    #
    # Select Page 1
    w 30 00 01
    #
    # Disable weak AVDD in presence of external
    # AVDD supply
    w 30 01 08
    #
    # Enable Master Analog Power Control
    w 30 02 00
    #
    # Set the input common mode to 0.9V. (0x00 is default, full chip common mode 0.9)
    w 30 0a 00
    #
    # Select ADC PTM_R3
    w 30 3d 03
    #
    # Set the input powerup time to 3.1ms (for ADC)
    w 30 47 32
    #
    # Set the REF charging time to 40ms
    w 30 7b 01
    #
    ###############################################


    ###############################################
    # Recording Setup
    ###############################################
    #
    # Select Page 1
    w 30 00 01
    #
    # Route IN1L to LEFT_P with 10K input impedance
    w 30 34 40
    #
    # Route Common Mode to LEFT_M with impedance of 10K
    w 30 36 40
    #
    # Route IN1R to RIGHT_P with input impedance of 10K
    w 30 37 40
    #
    # Route Common Mode to RIGHT_M with impedance of 10K
    w 30 39 40
    #####################################################################
    # Unmute Left MICPGA, Gain selection of 0dB to make channel gain 0dB.
    w 30 3b 00
    #
    # Unmute Right MICPGA, Gain selection of 0dB to make channel gain 0dB.
    w 30 3c 00
    #---------------------------------------------------------------------
    # above code will be useless, if AGC is used. Let it here, it is original code of TI sample.
    ######################################################################
    # Select Page 0
    w 30 00 00
    #
    # Power up LADC/RADC
    w 30 51 c0
    #
    # Unmute LADC/RADC
    w 30 52 00
    ################################################


    ###############################################
    # Playback Setup
    ###############################################
    # Select Page 1
    w 30 00 01
    #
    # De-pop
    w 30 14 25
    #
    # Route LDAC/RDAC to HPL/HPR
    w 30 0c 08 08
    #
    # Route LDAC/RDAC to LOL/LOR
    w 30 0e 08 08
    #
    # Set the DAC PTM mode to PTM_P3,4
    w 30 03 00 00
    #
    # Power up HPL/HPR and LOL/LOR drivers
    w 30 09 3C
    #
    # Unmute HPL/HPR driver, 0db driver gain
    w 30 10 00 00
    #
    # Unmute LOL/LOR driver, 0db driver gain
    w 30 12 00 00
    #
    # Power up HPL/HPR and LOL/LOR drivers
    #w 30 09 3C
    #
    # Select Page 0
    w 30 00 00
    #
    # DAC => 0dB , L and R
    w 30 41 00 00
    #
    # Power up LDAC/RDAC , route Left channel Left Audio interface data and Right channel Right Audio Interface data
    w 30 3f d6
    #
    # Unmute LDAC/RDAC
    w 30 40 00
    #
    ###############################################

     

     

     

     for DRC test, following code added after above code

    ###############################################
    # DRC Setup, this part originally copied from "C:\Program Files\Texas Instruments\AIC3254 CS\DATA\EVM\AIC3254\DRC\DRC_PRB_25.TXT"

    #to make sure DRC filter parameters are active, paramters are written to buffer-A and buffer-B as well.
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # DAC => DRC Enabled for both channels,
    # Threshold = -24 db, Hysteresis = 0 dB
    w 30 44 7c
    #
    # DRC Hold = 0 ms,
    # Rate of Change of Gain = 0.5 dB/Fs'
    w 30 45 00
    #
    # Attack Rate = 1.9531e-4 dB/Frame,
    # DRC Decay Rate =2.4414e-5 dB/Frame
    w 30 46 B6
    #
    # go to page 44
    w 30 00 2C
    #
    # DAC Adaptive filter enabled, Buffer-B in Using, Buffer-A in control interface, Buffer not switched in next frame
    w 30 01 06
    #
    # Go to Page 46 Buffer-A
    w 30 00 2E
    #
    # DRC HPF
    w 30 34 7F AB 00 00 80 55 00 00 7F 56 00
    #
    # DRC LPF
    w 30 40 00 11 00 00 00 11 00 00 7F DE 00
    #
    # go to page 44
    w 30 01 2c
    #
    # DAC Adaptive filter enabled, Buffer-A in Using, Buffer-B in control interface, Buffer not switched in next frame
    w 30 01 04
    #
    # go to page 64
    w 30 00 40
    #
    # DRC HPF
    w 30 34 7F AB 00 00 80 55 00 00 7F 56 00
    #
    # DRC LPF
    w 30 40 00 11 00 00 00 11 00 00 7F DE 00
    #
    # go to page 44
    w 30 01 2c
    #
    # DAC Adaptive filter enabled, Buffer-A in Using, Buffer-B in control interface, Buffer switched in next frame
    w 30 01 05
    #

    ###############################################

    AIC3254 TLV320AIC3254 AIC3204 TLV320aic3204
    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