2

Raspberry Pi 3 is having BCM2835 , i have tried all possible solution but none of these is working i can not get the tags read from the Module. I am thinking that BCM2835 is a problematic because with my old Raspberry Pi 2 which is having BCM2708 its works Perfectly.

When i enable the SPI from the Raspi-config , through lsmod it always shows spi-2835 in Pi-3 while in Pi-2 i have notice that it is spi-2708.

I have tried this solution http://raspmer.blogspot.in/2015/07/how-to-use-rfid-rc522-on-raspbian.html and also this https://www.youtube.com/watch?v=PtKuQf8z7HI

Please suggest me any solution. Thank you in advance.

Parth Patel
  • 21
  • 1
  • 3

3 Answers3

2

Actually you are right. They have change the peripheral addresses in raspberry 3 kernel which uses the bcm2835. There is a comment in the forums in the link below about that.

Check saadnasir comment https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=75003

There is also this http://www.instructables.com/id/Raspberry-Pi-3-Model-B-MIFARE-RC522-RFID-Tag-Readi/

Michael
  • 21
  • 1
0

There is a fix for that problem which will be available in the next build. If you want to fix it now, you can check this thread and pellwels' comment somewhere in the middle.

https://github.com/raspberrypi/linux/issues/1547

You can update to a version that should work by running the following:

sudo rpi-update
wget -O hw-cs.tgz "https://docs.google.com/uc?authuser=0&id=0B8VsfKAD4-NOUzUtWkVDZ05MLTQ&export=download"
sudo tar zxvfP hw-cs.tgz

The rpi-update is to make sure you are running a 4.14 kernel, otherwise the modules won't be compatible.

Then edit /boot/config.txt and add

dtoverlay=spi0-hw-cs

Reboot and you should be good to go

user49876
  • 1
  • 2
0

After trying this and many other tutorials, the ONLY one I found to work for the newest raspberry pi 3 (as of 9/6/2016) is this tutorial.

https://www.youtube.com/watch?v=tZPWXnMdIRU