Hello,
I am a newbie that has asked a few questions recently, thanks to everyone who has replied. Unfortunately I have another question.
I am using the kernel from the Beagle website http://www.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git and
I have the kernel up and running, DSPLINK is installed and I can run the sample apps. I am not using the Codec engine, I only have 1 algorithm
to run on the DSP so I thought it was overkill for what I need.
I am looking at getting audio samples from the TPS65950 codec to memory that the DSP can access directly. I know that I could use ALSA calls under linux to get the data from the codec then use DSPLINK to send the data to the DSP but it seems a bit inefficient. I would rather the ARM did other things and not get involved in the transfer of audio data.
I was wondering if anyone could point me in the direction of some examples to access the codec at the driver level through the McBSP2 port, or even where this code is in the kernel tree ? It must be somewhere but I can’t find it. I am assuming (once I find it) that the ARM side can be modified to run on the DSP, hopefully it should just be a case of changing the McBSP register addresses to work in DSP address space.
I need access to the codec from the DSP side to handle audio data and from the ARM side to handle power management. So I’ll need some sort of mutex control through DSPLINK which I should manage.
I don’t know if there is a better way of doing this. Has anyone else had this problem ? I wondered whether I can set up a DMA channel from the codec to memory the DSP can access ?
Thanks
Paul McManus
Paul McManus
Senior Software Engineer
Tel: +44 (0) 1224 775700
Fax: +44 (0) 1224 775800
Email: Paul.McManus@nautronix.co.uk
Website: www.nautronix.com
This email is sent and received in accordance with the terms and conditions as defined on our website. To view click here
Nautronix is a public limited company registered in Scotland. Registered number: SC062293. Registered office: Nautronix House, Howe Moss Avenue, Kirkhill, Dyce, Aberdeen, AB21 0GP