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.

Guidance on a good simple audio loopback example for the OAMP-L137

Other Parts Discussed in Thread: OMAPL138, OMAP-L137

I have been doing quite a bit of reading and have already ran a couple of the rCSL examples. Now I'm looking for something that will give me a jump start on on the Audio codec of my EVM. Sadly trying to port the rCSL 138 McASP Echo to my 137 seems a little more complicated than expected and my application will eventually need to run with SYS/BIOS. Can any one suggest a simple audio loopback example I can use as a starting point? or any other suggestion.

  • Hi,
    What is your board, custom or EVM ?
    If its EVM, LogicPD or Spectrum digital (DA830) ?
    If its custom, any other different CODEC used ?
    I don't see any audio loopback example for OMAPL137 but OMAPL138.

    quickStartOMAPL1x_rCSL\OMAPL1x\rCSL_examples\evmOMAPL138\DSP_examples\mcasp

    I think, we can easily port, what difficult you have seen ?
  • Thank you Titus S for your prompt reply. I'm using the Spectrum Digital OMAP-L137 EVM. The audio codec should be the AIC3106.

    Yes, that is my goal, to port it to the 137, to know the EVM better and to prime my development. I have been able to successfully import and build, but some of the steps I took are not necessarily understood but guesses. Instead of using the .cmd of the example, I pulled the already installed omap137.cmd. I had to add a vector to the .asm, and fixed some of declarations with "_" when the instance did not had it.

    This example is suppose to be an echo but I can figure out where I will be able to see a response, or stimulus. Also I think there are difference between the 137 and 138, that I have not taken into account when porting the project.

    Would you know what things I should be modifying?
  • Hi,
    Please refer to the both hw design guide, I would like to suggest to refer to both schematics to check the audio hw section to find any changes.
    processors.wiki.ti.com/.../OMAP-L138_Hardware_Design_Guide
    processors.wiki.ti.com/.../OMAP-L137_Hardware_Design_Guide

    Which I2C bus has been used in OMAPL137 EVM for AIC3106 ?
  • Hi,

     

    Please find attached the "OMAPL137_McASP_EDMA_StarterWare.zip" below which would provide you a working McASP-EDMA audio loopback example for OMAPL137 platform. Actually, the sample example below is been modified by taking OMAPL138 McASP Starterware audio loopback example as reference and being modified the pinmux & platform level code changes appropriately to work for OMAPL137 platform.

    /cfs-file/__key/communityserver-discussions-components-files/791/3107.7573.OMAPL137_5F00_McASP_5F00_EDMA_5F00_StarterWare.zip

    Kindly look for the sample .CCS project path below to look for OMAPL137 McASP EDMA audio loopback example after extracting the above attached zip file:

    ~\ti\OMAPL137_McASP_EDMA_StarterWare\build\c674x\cgt_ccs\omapl137\evmOMAPL137\mcasp\.ccsproject

    Thanks & regards,

    Sivaraj K

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Excellent, thank you very much. At the end I was successful porting the Spectrum Digital BSL test for the Audio Codec. I'm still trying to learn my way around CCS but things are staring to make sense. I had to port add the .c files instead of relying .lib since it was being recognize by CCS. 

    Sivaraj K, is there a repository with more examples like the one you shared?

  • Hi,

    I guess, there is a audio sample application from BIOS PSP package for OMAPL137/C6747

    Please download the BIOS PSP 1.30.01 installer and install it, which has the driver and the example codes available in it. The download link is http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/01_30_01/index_FDS.html   Go through the release notes and the user guide to get familiar with the PSP.

    After installation, you could check the audio sample application example from the below path:

    ~\ti\BIOSPSP\packages\ti\pspiom\examples\evmOMAPL137\audio\build\ccs4\.ccsproject

    The audio sample application demonstrates the use of the Audio driver. This application configures the Audio driver to communicate with the Mcasp driver and the Aic31 driver.

    Thanks & regards,

    Sivaraj K