I have installed a LCD screen that use my SPI0 bus and I2C but i want to connect my RFID reader to the same raspberry. My lcd screen can you see here: https://www.adafruit.com/product/1601
SPI1 will not be enabled with SPI0, i have searched for Enable SPI1 for raspberry Or Raspberry SPI1... But must results is links to enable SPI0 or SPI1 for python or SPI0 for c++
I want to use C++ as programming language. (you may send me C libarys but not Python)
This is the content of the raspberry file /boot/config.txt
https://pastebin.com/GrvAGzwx
Please tell me step step-by-step how you install SPI1 with SPI0 with C++
Can anybody help me please? Thank you. If you have the same problem please vote me. If you fix how i can enable the SPI and wich libary support SPI1 on C++ or C then you figured out my problem.
Added: Raspbian information:
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.9.52-v7+ #1038 SMP Fri Sep 29 16:26:52 BST 2017 armv7l GNU/Linux
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@raspberrypi:~ $
uname -a
report? What doescat /etc/os-release
report. Edit the answers into your question. – joan Oct 04 '17 at 17:51dtparam=spi=on
in/boot/config.txt
. I suspect the set-up for your LCD screen is claiming both SPI channels by mistake. You could test by removing whatever you are using to set-up the LCD screen and seeing if the SPI devices then appear. – joan Oct 04 '17 at 20:12/dev/spi*
. – joan Oct 05 '17 at 15:51