McASP Interface on Beaglebone

1,024 views
Skip to first unread message

levy.o...@gmail.com

unread,
Jan 22, 2014, 8:26:14 AM1/22/14
to beagl...@googlegroups.com, le...@pssolucoes.com.br

Hi, 

I want to connect an ADS1278 to BeagleBone (Black or White) through McASP under Angstrom. Is there a proven/reliable driver? What is the best way to follow?

I have done that with StarterWare, but now I want to do that under a linux operating system. I am going to start the learning curve of linux programming and, before, I would like the advice of a specialist.

Thanks in advance,

Levy Oliveira

John Syn

unread,
Jan 22, 2014, 2:37:35 PM1/22/14
to beagl...@googlegroups.com
Hi Levy,

Unfortunately TI did not develop the McASP as a separate driver like I2C, SPI, UART, etc. Instead, they integrated the McASP (McBSP) into the Sound driver. You will find this driver in the kernel source under sound/soc/omap or source/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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

levy.o...@gmail.com

unread,
Jan 23, 2014, 6:58:23 AM1/23/14
to beagl...@googlegroups.com
Thank you, John,

So, the only way is to modify the driver's source code to setup the McASP interface to ADS1278? Or the McASP parameters can be accessed through some function of the sound driver?

Thanks again,

Levy Oliveira

eze_rg

unread,
Jan 23, 2014, 8:41:29 AM1/23/14
to beagl...@googlegroups.com, le...@pssolucoes.com.br, levy.o...@gmail.com
Hi Levy,
I'm in a similar quest, trying to interface the pcm1803 (adc) with the beaglebone. I suggest you read these documents so you become familiar with some of the concepts involved.
I'm in a early stage of my project (still trying to get alsa to register the adc as a soundcard) but i can tell that you need to write a driver for your codec (ADS1278) and you also need
to modify the file davinci-evm.c.

I still don't know if modifying those files is enough to make the adc work...

Regards

levy.o...@gmail.com

unread,
Jan 23, 2014, 9:01:31 AM1/23/14
to beagl...@googlegroups.com, le...@pssolucoes.com.br, levy.o...@gmail.com
Hi, Eze_rg,

I'll take a look at the documents. If I make progress, I'll let you know.

Thanks for the reply,

Levy Oliveira

John Syn

unread,
Jan 23, 2014, 1:08:52 PM1/23/14
to beagl...@googlegroups.com

From: <levy.o...@gmail.com>
Reply-To: <beagl...@googlegroups.com>
Date: Thursday, January 23, 2014 at 3:58 AM
To: <beagl...@googlegroups.com>
Subject: Re: [beagleboard] McASP Interface on Beaglebone

Thank you, John,

So, the only way is to modify the driver's source code to setup the McASP interface to ADS1278? Or the McASP parameters can be accessed through some function of the sound driver?
Why don’t you use SPI

Regards,
John 

eze_rg

unread,
Feb 11, 2014, 8:29:12 AM2/11/14
to beagl...@googlegroups.com, le...@pssolucoes.com.br, levy.o...@gmail.com
Hi Levy,
were you able to interface the ADS1278 with the BBB??
Regards

levy.o...@gmail.com

unread,
Feb 11, 2014, 11:31:06 AM2/11/14
to beagl...@googlegroups.com, le...@pssolucoes.com.br, levy.o...@gmail.com
Hi, Eze_rg,

In linux, not yet! I am trying to achieve my goals with starterware first! After that I will try it with linux!

Regards
Reply all
Reply to author
Forward
0 new messages