Thanks for the respons. I managed to find a SPI-Library communicating via the SPIDev buses at DeeplyEmbeddeds websites, which Ill integrate i to the Breakout's Arduino library. Ill post IT here once complete!
On Fri, 1 Mar 2019, 04:34 Mala Dies, <[email protected]> wrote: > Hello, > > I think they are located as spidev or maybe not. Let me take a quick > glance of my file system. Please hold. > > ... > > /sys/bus/spi/devices/ > > This shows some available spi devices. > > Seth > > On Monday, February 25, 2019 at 12:32:20 PM UTC-6, Jonas Hjulstad wrote: >> >> Hi! >> When i search for documentation on SPI-communication in C/C++ for >> BeagleBone Black, i get a lot of different solutions to the issue. >> Im looking for an up-to-date solution for connecting my Sparkfun LSM9DS1 >> Breakout to the BBB's SPI pins: >> >> >> https://learn.sparkfun.com/tutorials/lsm9ds1-breakout-hookup-guide/using-the-arduino-library >> >> I've managed to setup pins through universal-io commands from terminal, >> and sent a few registers using python and Adafruit BBIO. >> I'm new to object-oriented programming, but want to know where the core >> locations of the SPI bus sits, and the configurations neccessary to >> configure pins like universal-io does. >> Another idea is to redirect the Sparkfun-library to BBB's SPI pins, but i >> do not know where to find these >> >> I have a decent understanding of the debian file structure, but i do not >> know where libraries and SPI pin configurations are located >> >> Does anyone have a clue which could lead me in the right direction? All >> help is appreciated! >> > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/f1813619-6424-4448-8a42-4456279416bb%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/f1813619-6424-4448-8a42-4456279416bb%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAGC-g-8t9WfFbQkfXo%3DtfuHTm61-_XEx9b%2BDxHg_4zObn8_8SQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
