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.

manipulate audio with OMAPL138 eXperimenter

Other Parts Discussed in Thread: OMAPL138

Hi,

I spent some time trying to figure out how to record audio from the AIC3106 of the eXperimenter board but i can't find an easy to understand solution.

My goal is to be able to store the root mean square value of an input signal every second. The idea is to read the input signal and do the RMS calculation on the DSP and then pass the value to the ARM side for the display part.

I tried with the c6run tools but i don't understand how to manipulate the aic3106 with it. I managed to get the c6run examples running with the ti-dvsdk_omapl138-evm_04_03_00_06.

But I've seen there is also DMAI, ALSA, codec engine, etc. and all of these seem to be able to manipulate the AIC so I'm a bit lost.

Which tools should i use ?

Is it possible to use the AIC through a c6run lib or app ?

Valentin

  • Valentin,

    Controlling the peripherals through a c6run based application is not a scenerio that is tested so I would recommend this approach. There is an audio SOC example in dvsdk 4.03 which might be a better starting point for you. Refer following wiki for implementation details.

    http://processors.wiki.ti.com/index.php/Audio_Soc_example

    Hope this helps

    Regards,

    Rahul

  • Thanks Rahul,

    Thank you for the quick answer.

    I'll start from this example, i'll try to post if i can manage anything out of it.

    Valentin

  • Well I guess I didn't manage anything out of it :)

    I tried to work with DSPLINK, through the dvsdk examples and through the audio_soc_example, but I can't manage to grasp the basics of it.

    It would have helped to get my hands on some nooby tutorial with working example codes on each of the many dsplink modules.

    I bought the two books available on the OMAPL138 eXperimenter (Logic PD) though and learned a lot... many things BUT communication between ARM and DSP cores.

    But I'm not giving up (though may be i should...) !

    So my next question is about ALSA (which seen to be way more noob-friendly in caparison to DSP/BIOS/LINK).

    Can I use the ALSA driver of the aic3106 (which is available right ?) to read data on the ARM side, and then use something like C6Accelto run real-time iir filters (I found some interesting C6Accel-lib on the wiki) ?

    Many it is not the best use of the OMAP L138, but at least it would get me going...

    In short I am looking for the easiest (well documented) way to calculate third band octave filters on a 24-bit 48000 kHz (minimum) signal in real-time, with the OMAP L138 SoM...

    Help !