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:
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!