On 11 October 2013 14:33, Ralph Stirling <[email protected]> wrote: > I am certainly planning on using the BBB PRU directly for some of > my projects, but I have others that need to control ten stepper motors, > or do closed loop servo control of four axes with high resolution encoders. > I don't think the PRU can handle that many channels
Well, in that case I guess that what is needed is some code (possibly running in the PRU) to buffer a byte stream onto a selection of pins, and read back on others to act like EPP, as was suggested. On the HAL side it looks moderately straightforward, a third interface driver to live alongside hm2_pci, hm2_7i43 and hm2_eth (arguably hm2_7i43 should have been called hm2_epp). hm2_bbb could even conceivably be a base-thread HAL module and simply twiddle GPIO bits. However, if it were to be presented as a parallel port (as far as LinuxCNC saw it) instead then it would also work with the Pico cards. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
