On Sun, Jun 11, 2017 at 8:01 AM, mzimmers <mzimm...@gmail.com> wrote:
> Hi - > > I'm reading chapter 8 of Dr. Molloy's book, which discusses bus access. > The example I'm working on right now uses the file system to access devices > on the I2C bus. I recognize that this is a typical way to access that bus, > but I'm wondering whether it's feasible to bypass the file system and just > bit-bang the lines directly. > > The purpose of this question is mostly educational, but also for some > troubleshooting purposes, as I'm getting a lot of errors when I run the > ADXL345.cppexample. In his loop of 60 read iterations, about 15 fail on a > usual run for me. I also imagine that real time applications would benefit > from bypassing the overhead of the file system, so it seems like a good > thing to learn about. > > Thanks... > It would be good if you shared the actual errors with us so we knew what you were talking about. But bit banging an I2C bus in Linux ? No not really much point to that. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORo5JVkZHZHC956X4n32%3DuQM4g6kW-w0Zyj%3DmATaOESuqA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.