This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tlv320aisc3254evm-k

Other Parts Discussed in Thread: TLV320AIC3254EVM-K, TLV320AIC3254

iT WOULD BE HELPFUL IF ANYONE OUT THERE KNOW OF LINKS OR VIDEO  OR PDF  TUTORIALS TO WORK ON TLV320AIC3254EVM-K

AND USING SOFTWARE AIC3254-CS

  • Hi,

    Your post has been moved to the Audio Converters Forum as I believe they should be able to provide you with the information that you need.

    Regards,

    David
  • Hi,

    Welcome to E2E and thank you for your interest in our products.

    All the information about the TLV320AIC3254 can be found on the Technical documents folder. For any additional information about the TLV320AIC3254EVM-k, consult the Tools & software folder.

    Please take a look of both folders and let me know if you still have questions or comments.

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis;

    I was looking into Tutorial Guide for TLV320AIC3254EVM-k.

    I was looking for Audio examples. some step by step guide or something close

    The guide that i found on the product  website  was to install AIC3254 -  CS. And i donot see any tutorial how to use the software.

    Thank in advance;

    -

  • Hi,

    All the information related with the TLV320AIC3254EVM-k can be found on the TLV320AIC3254EVM-K User's Guide. Unfortunately, we don't have a step-by-step guide or a tutorial. However, if you have any question about a specific function of the EVM, you can let us know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis:
    I was interested in using external microphone (non-powered) to record samples or play sound through the head phones.
    what setting are needed.



    Thanks for your responses.

    --
  • Hi,

    The TLV320AIC3254EVM-k GUI has some typical configurations that can be used to record audio from the on-board microphone and play audio from the headphones.

    You can configure the EVM to use the on-board microphone selecting the Recording option on the main window and then the Differential On-Board Microphone option on the Audio Recording window.

          

    It is important to know that the jumpers W1 to W8 must be placed on the default position in order to use the on-board microphone as the 2.2.2 TLV320AIC3254 Jumper Location section mentions.

    Then, if you want to configure the EVM to use the headphones output, you can select the Playback typical configuration on the main window. Then, you must choose the High Performance Stereo Playback option on the Audio Playback window.

          

    Finally, you can select a different processing block for a better audio quality, such the PRB_P23 block on the DAC processing block window.

          

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis:

    i followed all the steps as explained above with default Jumper positions , but could not hear any voice from microphone.

    Also had a question which way is W14 1-2 (on board), and

    do you have to do any settings    -->   Analog Settings > Audio Inputs

    --

  • Hi,

    Actually, the typical configurations that I explained before cannot be used together. Each script starts with a software reset to be used independently. If you want to use the headphones to hear the on-board microphone input, you may use the following script:

    5074.Script.txt
    ###############################################
    # 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 = 1, MADC = 2
    w 30 12 81 82
    #
    # NDAC = 1, MDAC = 2
    w 30 0b 81 82
    #
    ###############################################
    
    
    
    ###############################################
    # Signal Processing Settings
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # Set the ADC Mode to PRB_P1
    w 30 3d 01
    #
    # Set the DAC Mode to PRB_P23
    w 30 3c 17
    #
    ###############################################
    
    
    
    ###############################################
    # 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
    #
    # Select ADC PTM_R4
    w 30 3d 00
    #
    # 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
    #
    # Powerup MIC BIAS
    w 30 33 40
    #
    # Route IN3L to LEFT_P with 10K input impedance
    w 30 34 04
    #
    # Route IN3R to LEFT_M with 10K input impedance
    w 30 36 04
    #
    # Unmute Left MICPGA
    w 30 3b 00
    #
    # Unmute Right MICPGA
    w 30 3c 00
    #
    # 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 0
    w 30 00 00
    #
    # Digital loopback
    w 30 1D 10
    #
    # 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
    #
    # Power up HPL/HPR and LOL/LOR drivers
    w 30 09 3C
    #
    # Unmute HPL/HPR driver, 0dB Gain
    w 30 10 00 00
    #
    # Unmute LOL/LOR driver, 0dB Gain
    w 30 12 00 00
    #
    # Select Page 0
    w 30 00 00
    #
    # DAC => 0dB
    w 30 41 00 00
    #
    # Power up LDAC/RDAC
    w 30 3f d6
    #
    # Unmute LDAC/RDAC
    w 30 40 00
    #
    ###############################################

    To use this script, you need to press the command-line interface button shown on the next picture:

    This option will open a new window where you can program the codec by I2C/SPI commands. To open a script (.txt), you only need to search the file in the file option (circled in red).

    Regarding your question about the W14 jumper, the upper pin would be pin 1 (which is connected to the 0 ohm resistor), the middle pin would be pin 2 (which is connected to SCLK) and the below pin would be pin 3 (which is used when MICDET function is enabled).

    Finally, there's no need to do any other setting when the typical configurations are applied. You only need to configure the analog settings when you configure the EVM manually.

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis:

    Thanks for the script and steps to execute the script.

    I was able to execute and hear recording from internal microphone. If i connect external microphone at J5 (mic input ) and wish to hear record from that, what changes should i make in script or process (Jumpers)

    Should the external microphone connected on J5 be powered externally or the EVM has enough power to boost the sound through external microphone.

    Thanks..

    --

  • Hi,

    Actually, it depends of the type of microphone that you would connect to the EVM. The on-board microphone is a differential mic. When the jumpers are placed in default position, the connection is as the following picture:

    If you want to connect a single-ended microphone, you must configure the jumpers to obtain a connection as the following picture:

    Please notice that in both pictures, MIC1LP refers to IN3_L of the EVM and MIC1LM to IN3_R of the EVM. For more details, please take a look of the TLV320AIC3254EVM Schematic.

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis:
    Thanks for those pictures, it helped.

    1) If i want to connect 3/4 microphones on J2, J3, J4 / and J5 and collect samples from each (J2, J3, J4 /&J5) FOR 2+ seconds each and then do some processing with data.
    Is it possible to collect data from all 4 microphones at once, or i would only be able to access 1 microphone at time.

    Also , a differential mic from TI website you recommend.



    2) Is there a firmware available for chip TLV320AIC3254.

    --

  • Hi,

    1. The TLV320AIC3254 can support only 2 microphones at time. It would use a channel per microphone (left and right).
    2. The firmware for the TLV320AIC3254EVM can be found on the product folder: http://www.ti.com/tool/tlv320aic3254evm-k

    Best regards,

    Luis Fernando Rodríguez S.

  • Luis:

    thanks for support and chats.

    1) I am looking forward to working with TLV320AIC3254 chip and want to write on to chip my own firmware to do DS processing. 

    Could you guide me with this?

    --

  • Hi,

    All digital signal processing in the TLV320AIC3254 can be made by the internal miniDSP. It has some algorithms already defined (processing blocks). Additionally, if you want to develop your own algorithm, I suggest to take a look of PurePath Studio GDE Software. This tool can be used with the TLV320AIC3254EVM to create your own algorithm for DS processing. Please take a look of the following wiki article for details: https://e2e.ti.com/support/data_converters/audio_converters/w/design_notes/2844.what-you-need-to-develop-minidsp-code 

    I hope this helps you. If you still have questions, please let me know.

    Best regards,

    Luis Fernando Rodríguez S.