I've started working with omap l137, and trying to play a .wav format 5.1 or 7.1 sample audio on multi-channel audio card. but not working so far... any help will be appreciated.
regards,
Ravi.
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.
I've started working with omap l137, and trying to play a .wav format 5.1 or 7.1 sample audio on multi-channel audio card. but not working so far... any help will be appreciated.
regards,
Ravi.
Hi,
Thanks for your post.
If you follow the C6747 GSG and install the software, you can find an example for audio using DSP/BIOS using PSP to access McASP at:
C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\examples\evmOMAPL137\audio.
Yes, DSPLink is the way to communicate with the GPP side. Codec Engine is a good way too, specially if you are just running the the algorithm in the DSP.
The codec Engine examples are available for OMAPL137. You can refer to http://processors.wiki.ti.com/index.php/Building_The_OMAP-L1_SDK#Codec_Engine_Examples . You can try out those examples. It is always good to start with which already works.
In addition to that, have a look at it's product folder http://www.ti.com./product/omap-l137 to download the available softwares and development tools and also search through the TI wiki links for "OMAP137 codec" to get more informations.
Other useful links
http://processors.wiki.ti.com/index.php/Getting_Started_Guide_for_OMAP-L137
http://processors.wiki.ti.com/index.php/OMAP-L137_EVM_Hardware_Setup
Thanks & regards,
Sivaraj K
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
-------------------------------------------------------------------------------------------------------
Thanks Sivaraj for quick response.
I am able to play a dual channel audio on the built in codec(AIC3106) on the dsk-board, now m looking forward to play a 5.1 channel audio on daughter card (AK4588 codec), m also not able to play same dual channel audio on the daughter card .
I would like to know more about hardware..
I have DA830 as DSK BOARD, so does it have C67x+ floating point DSP or C674x fixed/floating point DSP??
Thanks & Regards,
Ravi
Hi Ravi,
Have you enabled "AK4588" CODEC driver support in linux ?
Also, have you added platform support (i2c) in board file for AK4588.
make menuconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
Device Drivers --->
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
<*> ALSA for SoC audio support --->
Please refer to the following TI wiki.
http://processors.wiki.ti.com/index.php/Omapl137_linux_audio_driver
http://e2e.ti.com/support/embedded/tirtos/f/355/p/217662/792330.aspx
http://e2e.ti.com/support/embedded/tirtos/f/355/t/217662.aspx
http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/138600.aspx
Hi Titus,
I have enabled the "AK4588" Driver support in linux.
I get following when i fire aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: EVM [DA8xx EVM], device 1: AK4xxx ak4xxx-I2S-1 [ak4xxx-1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: EVM [DA8xx EVM], device 2: DIT DIT-I2S-2 [DIT-2]
Subdevices: 1/1
Subdevice #0: subdevice #0
and i try to play it on 1st device like..
aplay -D 'hw:0,1' -c 6 5.1audio_file.wav
i get following :
aplay: pcm_write:1264: write error: Input/output error
Thank you for any assistance, best regards,
Ravi.
Hi Ravi,
Have you configured the audio port through amixer ?
The audio daughter card supports SPDIF record and play.
Use SPDIF record and play by using the following TI wiki.
http://processors.wiki.ti.com/index.php/Omapl137_linux_audio_driver#SPDIF_-_Record