Thank you so much!  That provided to be extremely helpful.  I guess I 
hadn't appreciated that to just write out a data stream, with minimal 
memory interaction with the ARM, I was going to have to learn not just the 
PRU assembly, but also device tree overlays, the pinmux, and then how to 
compile and load.  Quite a bit to take in for one who is use to just 
writing PIC code standalone.

I was able to toggle a pin , so I can at least move to the next phase.  I 
don't find a lot of examples that have two PRUs running (I am wonder about 
the pruss_waitevent call, as it doesn't take a pru number), but I think I 
can muddy through that!

Thank you again.


On Sunday, June 8, 2014 2:11:22 AM UTC-4, TJF wrote:
>
> Hi Charles,
>
> P8_03 is used as gpmc_ad6 by the board. Free pins start at P8_07 ff.
>
> You can find examples in the source code of libpruio 
> <http://beagleboard.org/project/libpruio/> on how to use a PRUSS to do 
> pinmuxing and how to change the state of an output pin (or read the state 
> of input pins). You'll find code to change any pin there. (You don't need 
> any sysfs operations nor device tree overlays - just an overlay that starts 
> the PRUSS.)
>
> In your case it may be easier to start with the pins directly connected to 
> the PRU registers R30 / R31 (which is faster and easier, since you don't 
> need to access the GPIO devices).
>
>

-- 
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.

Reply via email to