I think what you want to do is possible, but really depends largely on how fast you expect it to be. The PRUs have access to many pins on the board, a few of which can be accessed in a single cycle, if memory serves me correctly. Less than 32 total between both PRU's I think.
For those who know much more than I on this subject to answer, I think you will have to provide a bit more information. At least how fast you expect your setup to be. With that said however, I do not think the rPI can even come close to how fast this could be done on the BBB . . . On Thu, Apr 16, 2015 at 11:55 PM, Frédéric <[email protected]> wrote: > Hi! > > I'm working on a home-made (hard/soft) hexapod > <https://www.logre.eu/wiki/Hexapod>. For my tests, I'm using a dedicated > board > <http://www.dfrobot.com/wiki/index.php/Veyron_Servo_Driver_%2824-Channel%29_%28SKU:DRI0029%29> > to > drive the servos; this board is able to sync several servos, by driving > them together so they start/stop at the same time. And I was thinking to > use a RPi for the main code execution (framework entirely written in > python/numpy). > > But a friend told me about the BBB, and I found it amazing! These PRUs > stuff is very impressive. I'm making tests with another friend's board, and > my python code is working fine on it. > > The idea, now, is to replace the Veyron servo driver by using the BBB PRUs. > > To deep into details, I need to generate 32 PWMs, and have a mecanism to > make them vary together, in a synchronized way. Then, I need something to > send the positionning command from linux to the low level code (a shared > memory with a simple mailbox would be fine at first). > > Questions is: do you think it is possible to do that? What do you suggest > to implement it: using one PRU to make the PWMs, and the other one to > manage the speed/synchro? Or all on the same PRU? Are there some > restriction when using both PRUs? > > Any advice is welcome, as I'm new to BBB and PRUs. > > Thanks, > > Frédéric > > PS: I started to make simple tests using PRUSS, and all works fine. > Compilation toolchain is very easy to deploy/use, thanks for the great job > people done! > > -- > 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.
