Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-10 Thread 'Mark Lazarewicz' via BeagleBoard
Hello TJF Drop rproc, and use uio_pruss driver instead. Then data exchange is pretty easy. Ie use DRam[0,1] for PRU-writing and SRam for ARM-writing. A simple and effective concept to avoid writing collisions (and pretty fast as well). uio_pruss driver provides pointers to that memory, while

[beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-10 Thread Dennis Lee Bieber
On Fri, 9 Apr 2021 11:15:49 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Walter Cromer wrote: >1 - start / stop reading the sensors - considering just flipping a bit in a >memory location both can access for this. ARM will have write access, PRU >will just monitor it. (I don't

[beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-10 Thread Dennis Lee Bieber
On Fri, 9 Apr 2021 11:50:56 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Walter Cromer wrote: >When I try to run this in Cloud9, I'm getting this error. I'm not sure >where type __far is defined but apparently I'm missing that definition. I >When I try to run this in Cloud9, I'm

Re: [beagleboard] Re: Periodic delay reading analog inputs with C, will PRUs solve it and is it worth it?

2021-04-10 Thread TJF
Hi Walter! A further "old dog" here. Sometimes I'm still working on my old Hades computer with 68060 CPU (loving that box). In my house I'm using a BBB for a solar system running 24/7. It also controlls two valves (on/off, and four AC pumps in 16 power levels), connected to WLAN by an