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.

Audio examples for OMAP-L137/TMS320C6747 Starter Kit?

Expert 1215 points
Other Parts Discussed in Thread: TMS320C6747, OMAP-L137

Hi,

I just received the OMAP-L137/TMS320C6747 Floating Point Starter Kit yesterday. I could not find any audio related examples for C6747, neither on the bundle disks nor on the website. Any idea?

The CCS installer program was supposed to installer two shortcuts for me, one for omap and one for c6747. But it only installed one shortcut to the generic CCS. How do I disable the ARM core? Can I debug the DSP core with the onboard xds510?

Spectrum Digital (in general, TI) has never been able to impress me with the quality and easy-to-use of their software/driver... Oh Gosh, how much I missed ADI...

Thanks

  • Or maybe I should be more specific,

    Is there an example for setting up McASP with EDMA on C6747 EVM?

    Is there a CSL for C6747?

    Thanks

     

  • Hi,

    C6747 will not have a CSL like some parts (C6455 for example), it will have a PSP instead - that uses a register CSL (low level register definitions). PSP is a platform support package that has drivers for the peripherals. It is predicted to be ready until the end of this month:

    http://focus.ti.com/dsp/docs/dspcontent.tsp?contentId=51127

  •  

    Actually, the PSP was just released. Please follow the instructions that come in the card that comes with the EVM:

    With the EVM, you should receive a card that has the instructions. Here are them:

    1. Go to www.ti.com/omapl137sksoftwareea .

    2. You will see Activation ID for this software product (SDK-EA-OMAPL137LNX) automatically entered into your myRegistered Software screen. Click NEXT and follow the prompts

    3. Ready to download? Go back to myRegistered Software (www.ti.com/myregisteredsoftware). Find this software product (SDK-EA-OMAPL137LNX) click the MANAGE button, and click the GET UPDATES link.

    4. In the future, go to myRegistered Software to view your activated software. You can MANAGE available downloads, updates and upgrades; transfer a license ("Re-Host a License"); renew product subscriptions and more.

    You will need to be registered at ti.com and register your board.

    Audio example project at ...\pspdrivers_01_20_00_04\packages\ti\psp\iom\examples\evm6747\audio\build

  • The audio example has a default buffer size of 2560 samples.  At 48 kHz, 53ms is a lot of latency for an audio application.  The CPU load graph indicated close to 2%.  When I dropped the buffer size to 128 samples, the load graph jumped to 10%.  It got much worse beyond that.  The drivers appear to add a lot of overhead that require very large buffers to operate efficiently.

    Since my requirements are <1ms of latency, I'm disappointed that the CSL has gone away.  I now have to roll my own to get the low level support for low latency I need.

  • Chris, < 1msec is a very genuine requirement from a SW driver that supports a peripheral that is primarily intended to be used for audio. I would like to believe that the driver can support this and we will look at this. I would like you to use the driver for your application as it is the suggested method and is much easier. If you continue hitting roadblocks with the drv, let me recommend looking at the example code provided with the board support package for OMAPL1

    http://support.spectrumdigital.com/boards/evmomapl137/revd/ (Download EVMOMAPL137 Test Code).

    Look at: \RevD_EVMOMAPL137_BSL\evmc6747_v1\dsp\tests\aic3106\aic3106_loop_micin.c It does the peripheral configuration without using the McASP. Also look at thread https://community.ti.com/forums/p/2095/7878.aspx#7878 that has releated discussion.

    Gagan