Another take on GPIO problem, not as well documented, but handling for the user all the conversions between bits and GPIO pins. Also implements support for I2C and SPI: https://github.com/piranha32/IOoo
Jacek. On Mon, Apr 4, 2016 at 7:33 PM, Graham <gra...@flex-radio.com> wrote: > Rob: > > I would read the Molloy book/Website/Videos. > > He explains in detail how to set up Eclipse + gcc cross-compile toolchain. > under Windows. > I have also done the same thing on a VM running Ubuntu under windows, or > directly on a PC running Ubuntu. > > Molloy, unfortunately does all of his C I/O examples via the Linux > pseudo-file I/O method, which is very slow. > > If you are looking for a low level, public domain, C I/O package for GPIO, > SPI and I2C, try: > https://github.com/VegetableAvenger/BBBIOlib > > If you find a better one, please report back. There are not many out there. > > I have had good luck with it running GPIO, high speed SPI transfers, lots of > I2C etc. > > In a tight ON/OFF loop, the fastest I can toggle a GPIO pin using Linux > pseudo-file I/O is about 6 kHz. > > Using BBBIOlib, I can toggle a GPIO pin at about 2.4 MHz, almost a three > orders of magnitude improvement. > > --- Graham > > == > > -- > 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 beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Given a choice between two theories, take the one which is funnier -- 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 beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.