Beaglebone phone quality audio, how to?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi,

first time on this forum. I am using a Beaglebone for a home automation project, and I want to add two audio input/output lines. They can be phone quality, but my question is, how do I connect the audio? I can't connect it directly to the McASP lines can I? Do I need to add a specific audio codec chip? If so, any recommendations? Is this usage readily supported by some Beaglebone distribution (like through ALSA) or do I need to cerate drivers for it.

Thanks for any insights,
Ron
 
Hi,

first time on this forum. I am using a Beaglebone for a home automation project, and I want to add two audio input/output lines. They can be phone quality, but my question is, how do I connect the audio? I can't connect it directly to the McASP lines can I? Do I need to add a specific audio codec chip? If so, any recommendations? Is this usage readily supported by some Beaglebone distribution (like through ALSA) or do I need to cerate drivers for it.

Thanks for any insights,
Ron

Hi Ron,

you can use McASP0 for adding audio input/output lines

mcasp0_ahclkx --> MCLK
mcasp0_aclkr --> bit clk
mcasp0_fsr --> LRCLK
mcasp0_axr(1,2...n) --> SIN or SOUT

note each axr can handle 2 mono channel in I2S mode and 2 to 32 time slot and 384 time slot(DIT) in TDM mode

link to McASP details http://www.ti.com/lit/ug/spru041j/spru041j.pdf

usefull links
https://groups.google.com/forum/#!msg/beagleboard/P5AZd4SiVyY/sxOLmQtbCVYJ
Audio by MCASP0 on BeagleBone - Android forum - Android - TI E2E Community
https://github.com/Angstrom-distrib...ne/0063-beaglebone-dvi-cape-audio-hacks.patch
[alsa-devel] Writing an ASoC codec driver for Beaglebone McASP
http://www.diyaudio.com/forums/digital-source/214154-beaglebone-digital-source.html
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.