Spi Communication between BeagleBone Black PRU's and ADXL345
The aim of this project is to enable an SPI communication between the Process Real-Time units of the AM335x of the BeagleBoneBlack. The spiRead and spiWrite functions enable reading respectively writing in an 8 bits register which address is given as the input of the function.