Open jgoad opened 9 years ago
That file is specific to the BeagleBoneBlack and enables the SPI bus. If you already have the SPI bus working, no other compilation is required.
Please check this: http://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md
This library works well on Raspberry Pi B+ board. But you MUST enable the spidev and install python-spidev library:
$ sudo apt-get install raspi-config
$ sudo raspi-config
#####Follow these steps:
##### 8 Advanced Options -> A6 SPI -> ...
##### At last, reboot your board
BTW, the Raspberry Pi B+ board call the CSN pin as SPI_CE0 and SPI_CE1. So the pin mapping SHOULD be like this: MISO -> GPIO 9 MOSI -> GPIO 10 SCLK -> GPIO 11 CSN -> GPIO 8 or GPIO 7 CE -> GPIO 12(or any other pin) IRQ -> GPIO 13(or any other pin)
Thanks for the update!
Hey I can't actually compile the BB-nRF24-SPI0-00A0.dts on the B+ but that is part of your set up process... I must be misunderstanding something here.