[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-09-16 Thread mahmoud-ashi
Hello sir, I was following your steps but I got an error in the last step. I created a file in "bbb_fbc-0.0.2/FB_prussdrv-0.0/libpruio-0.0.2/libpruio/src/c_wrapper" and named it "bbb-io.c" and pasted the code you wrote. I then created another file named it "Makefile" and pasted "all: bbb-io.c M

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-09-17 Thread TJF
Hello! Am Dienstag, 16. September 2014 20:50:47 UTC+2 schrieb mahmou...@hotmail.com: > > I got the following: > > /usr/bin/ld: cannot find -lncurses > collect2: ld returned 1 exit status > make: *** [all] Error 1 > Install libncurses sudo apt-get install libncurses5-dev I am setting the libpru

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-05-26 Thread TJF
Check out libpruio . It makes a PRUSS fetching ADC data. Using default ADC settings you get 10 ksamples per channel, so ~1.4 ksamples for 7 channels (0.7 ms). Additionally you can customize the ADC settings (open- and sample delay, as well as averag

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-05-28 Thread Rafael Vega
Thanks everyone for your replies! I will spend friday and saturday experimenting and will report back here with my findings and probably more questions :) -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "B

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-12 Thread Rafael Vega
I ended up using libpruio, the installation instrucions are kind of scattered but it works really well. Thanks! -- 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

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-12 Thread TJF
Thanks for feedback. Feel free to mail your suggested improvements for the installation instructions. -- 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

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-18 Thread srikchari
Rafael, Can you please post detailed instructions on installing libruio. Thanks Srikant On Thursday, June 12, 2014 3:25:49 PM UTC-5, Rafael Vega wrote: > > I ended up using libpruio, the installation instrucions are kind of > scattered but it works really well. Thanks! > -- For more options,

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-21 Thread Rafael Vega
Here's what I did: 1. Install FreeBasic compiler in BBB 1.1. Download package from http://www.freebasic-portal.de/downloads/fb-on-arm/bbb-fbc-fbc-fuer-beaglebone-black-283.html wget http://www.freebasic-portal.de/dlfiles/452/bbb_fbc-0.0.2.tar.xz 1.2. Uncompress and copy files cd bbb_fb

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-22 Thread TJF
Hello Rafael, thanks for your complete installation instructions. I plan to include them in the next version of the documentation, if you don't mind (at least I like to add a link to your post here). BTW: In your C code example the destructor pruio_destroy() wont be called in case of an error

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-24 Thread Rafael Vega
> > thanks for your complete installation instructions. I plan to include them > in the next version of the documentation, if you don't mind (at least I > like to add a link to your post here). > Of course I don't mind, go ahead and include it :) -- For more options, visit http://beagleboar

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-25 Thread familyheld . am
Hi, a maybee stupid question regarding this "howto": What kernel version is needed for this to work? How to build kernel for pruss support? Or is the dtbo file doing all the magic? Reagrds, Ben Am Dienstag, 24. Juni 2014 16:17:16 UTC+2 schrieb Rafael Vega: > > > >> thanks for your complete inst

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-25 Thread TJF
Hi Ben! Am Mittwoch, 25. Juni 2014 14:36:30 UTC+2 schrieb family...@googlemail.com: > Or is the dtbo file doing all the magic? > The dtbo file is pretty simple. It only powers on the PRUSS. Here's the dts file to compile: /* Minimal device tree overlay to activate PRUSS Licence: GPLv3 (C) 20

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-26 Thread familyheld . am
Cool, Thanks for the info. When I have some more time i will try it out. Regards, Ben -- 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 e

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-06 Thread BBBx
trying to compile the test I get the message: /usr/bin/ld: cannot find -ltermcap can you tell me how can I solve this issue? On Sunday, June 22, 2014 3:39:56 AM UTC+5, Rafael Vega wrote: > > Here's what I did: > > > 1. Install FreeBasic compiler in BBB > > 1.1. Download package from > http://w

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-22 Thread elses6163
Having trouble compiling because I don't have libsupc++, how do I get that on the beagle? On Saturday, June 21, 2014 5:39:56 PM UTC-5, Rafael Vega wrote: > > Here's what I did: > > > 1. Install FreeBasic compiler in BBB > > 1.1. Download package from > http://www.freebasic-portal.de/downloads/fb

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-22 Thread elses6163
Trying to get the libpru stuff to work but it won't compile because I don't have libsupc++. How do I get that on beaglebone using the angstrom distro? On Saturday, May 24, 2014 3:23:32 AM UTC-5, Rafael Vega wrote: > > > I need to read all 7 analog pins in the BBB every 5 milliseconds. I'm > doin

[beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-30 Thread TJF
Do you mean libpruio? Which OS are you using? AFAIK, libsupc++ isn't available on Angström (but on Debian/Ubuntu). Am Dienstag, 22. Juli 2014 05:37:20 UTC+2 schrieb else...@gmail.com: > > Trying to get the libpru stuff to work but it won't compile because I > don't have libsupc++. How do I get

Re: [beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-18 Thread Rafael Vega
I can take the time to do so tomorrow. Stay tuned :) On Wed, Jun 18, 2014 at 12:06 PM, wrote: > Rafael, > > Can you please post detailed instructions on installing libruio. > > Thanks > Srikant > > On Thursday, June 12, 2014 3:25:49 PM UTC-5, Rafael Vega wrote: >> >> I ended up using libpruio,

Re: [beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-06-25 Thread Rafael Vega
I'm using a Debian Stable image downloaded from http://beagleboard.org/latest-images On Wed, Jun 25, 2014 at 7:36 AM, wrote: > Hi, a maybee stupid question regarding this "howto": > > What kernel version is needed for this to work? > How to build kernel for pruss support? > Or is the dtbo file

Re: [beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-07 Thread walter harms
Am 07.07.2014 08:09, schrieb BBBx: > trying to compile the test I get the message: /usr/bin/ld: cannot find > -ltermcap > can you tell me how can I solve this issue? > install libtermcap, it is handel part of * libtinfo-dev or * libncurses-dev http://packages.ubuntu.com/search?searchon=conten

Re: [beagleboard] Re: Reading analog inputs fast in beaglebone black

2014-07-07 Thread BBBx
Thank you. It works. On Monday, July 7, 2014 2:15:55 PM UTC+5, wharms wrote: > > > > Am 07.07.2014 08:09, schrieb BBBx: > > trying to compile the test I get the message: /usr/bin/ld: cannot find > > -ltermcap > > can you tell me how can I solve this issue? > > > > > install libtermcap, it is