Well, using the ADC from userspace as I've shown in that post should be able achieve ~3k samples a second. Using Continuous mode, I've read up to around 10k.
Also, I happened upon DR Molloy's companion site for the "exploring the Beaglebone" book , and noticed he demonstrates using a couple of different external ADC's through the PRU's. One @100k, the other at ( I think he said ) just above 1msps. Where then the PRU's were approaching their max speed I guess. Anyway, it's neat to read about, but for me, I think userspace one-shot mode will be plenty. Even when experimenting with MPPT charge controlling on our solar system here. On Thu, Oct 1, 2015 at 12:08 PM, Rathin Dholakia <[email protected]> wrote: > Cool, Thanks a lot, William..!! > > > And one good news, first of all for me (of course) but for you and TJF as > well. Its that I talked with my professor and we have agreed that its ok > *for now* if our sampling rate is low around 1.2 KHz or so no hassle of > external ICs and stuff at least for now... later on I can refine + Update > my implementation as I gain momentum.. :-) > > So yeah, I will try out your steps and let you know, but I have one > assignment hence bit stuck with it.. please give me a day to try out... > > Sincerely, > Rathin > > On Friday, October 2, 2015 at 12:27:40 AM UTC+5:30, William Hermans wrote: >> >> Here you go Rathin, something to experiment with in the future. >> http://www.embeddedhobbyist.com/2015/10/beaglebone-black-adc-getting-started/ >> >> I need to edit the post and add the packages needed in order to compile >> the demonstration executable with gcc, but that is not too much of a >> hurdle. *sudo apt-get install build-essential* should take care of that. >> >> On Thu, Oct 1, 2015 at 9:54 AM, William Hermans <[email protected]> wrote: >> >>> Agreed. >>> >>> On Thu, Oct 1, 2015 at 9:33 AM, Rathin Dholakia <[email protected]> >>> wrote: >>> >>>> Gentleman, >>>> I know I am in no capacity to say anything to both of you coz you both >>>> are great in own field. So I just want to request you that, *please >>>> calm down*. >>>> >>>> and >>>> >>>> Sorry I was busy whole day so couldn't experiment what you suggested, >>>> TJF . But I will do it now and will post my response or queries. >>>> >>>> but please Calm down.. >>>> >>>> On Wednesday, September 30, 2015 at 1:46:06 AM UTC+5:30, Rathin >>>> Dholakia wrote: >>>>> >>>>> Dear Community Members, >>>>> >>>>> I am trying to implement a fast 8 channel Analog capture using on >>>>> board ADC on BBB. I know there are only 7 available on pin header, but as >>>>> I >>>>> am starting off & learning I am ok with count of 7. :) >>>>> >>>>> I just wanted to have an opinion about the approach to opt for, What >>>>> would be the most optimum (& preferably faster to implement) option to >>>>> achieve it? >>>>> >>>>> I have read quite a few articles and thread (& more confused ) and >>>>> currently I am using libpruio >>>>> <http://beagleboard.org/project/libpruio/> for implementing it but as >>>>> of now even after configuring libpruio I am only getting 900 - 1000 >>>>> samples >>>>> per seconds. >>>>> >>>>> So, is it my configuration wrong or for such high speed I should opt >>>>> for external ADC? or something else? >>>>> >>>>> I am completely NEW to EMBEDDED domain. So please pardon me. >>>>> >>>>> It would be great if someone could guide me, precisely towards some >>>>> direction. >>>>> >>>>> Sincerely, >>>>> Rathin >>>>> >>>> -- >>>> 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 [email protected]. >>>> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
