From:  <fly...@camaa.org>
Date:  Friday, June 13, 2014 at 8:23 AM
To:  John Syne <john3...@gmail.com>
Subject:  RE: [beagleboard] beaglebone black need help with PCM bus

> Hi John, could you educate me on how to do this. please, perty please with
> sugar on top
This is not a trivial exercise as Texas Instruments have chosen not to have
a separate driver for the McASP. Instead it is integrated into the sound
subsystem (ALSA). As far as I know there is no example on how to use the
McASP so the best you can do is review how audio is implemented on the BBB.
Start by reviewing the alsa-project.org website to understand the ALSA
terminology and then look through the following files:

/sound/soc/davinci/davinci-mcasp.c
/sound/soc/davinci/davinci-evm.c
/sound/soc/davinci/davinci-pcm.c
/sound/soc/codec/tlv320aic3x.c
/arch/arm/common/edma.c
/drivers/dma/edma.c

If you can understand the code in these files, you are off to a good start.
I have not listed any of the files related to the core sound files nor any
of the memory management, timers, etc as these will only serve to confuse
you more. You might want to ask TI on their E2E forums to see if they have a
simpler way to tackle this task.


Regards,
John 
> 
> 
>> -------- Original Message --------
>> Subject: Re: [beagleboard] beaglebone black need help with PCM bus
>> From: John Syn <john3...@gmail.com>
>> Date: Wed, June 11, 2014 10:39 pm
>> To: <beagleboard@googlegroups.com>
>> 
>> 
>> From:  Nate C <fly...@camaa.org>
>> Reply-To:  <beagleboard@googlegroups.com>
>> Date:  Wednesday, June 11, 2014 at 7:57 PM
>> To:  <beagleboard@googlegroups.com>
>> Subject:  [beagleboard] beaglebone black need help with PCM bus
>> 
>>> I need the beaglebone black to produce a PCM bus
>>> PCLK 2.048 MHz
>>> Framsync 8KHz
>>> DI
>>> DO
>>> 
>>> Can someone share with me how to do this?
>> McASP which you will find under /sound/soc/davinci/
>> 
>> Regards,
>> John
>>> 
>>>  -- 
>>>  For more options, visit http://beagleboard.org/discuss
>>>  --- 
>>>  You received this message because you are subscribed to the Google Groups
>>> "BeagleBoard" group.
>>>  To unsubscribe from this group and stop receiving emails from it, send an
>>> email to beagleboard+unsubscr...@googlegroups.com.
>>>  For more options, visit https://groups.google.com/d/optout.
>>  
>>  -- 
>>  For more options, visit http://beagleboard.org/discuss
>>  --- 
>>  You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>>  To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/beagleboard/cHftsdJWI_g/unsubscribe.
>>  To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>>  For more options, visit https://groups.google.com/d/optout.
>>  


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to