4

Long version:

I have a very odd problem: I connected a Mifare MFRC 522 RFID Reader to my raspberry Pi (it handles communication via SPI). For that I used one of the many Tutorial already on the Internet. At first everything worked fine but after a few days the Reader didn't detect the rfid chips anymore. I was stuck on this for a few weeks, but now i found out, that after a downgrade to Raspbian wheezy, everything works fine and the upgrade to jessie/testing breaks the readers ability to detect rfid chips.

I have seen Threads claiming that enableing SPI + device Tree in raspi-config would solve SPI problems, but it did nothing for me. Unfortunately i need the newest raspbian version, so staying on wheezy is not an option.

Does anybody have a Idea how i can fix or how i can get to the bottom of this problem?

TLDR:

RFID Reader works in Raspbian wheezy, upgrading to jessie+ makes it not detecting cards. Enableing SPI+Device Tree in raspi-config did not help.

  • maybe you had installed some driver that you forgot to reinstall on when changing to Jessie. Also be sure to have make a clean install when moving from wheezy to jessy just in case. I dont know much more – Nicolas Manzini Nov 16 '15 at 18:19
  • thanks for the comment. I did a clean raspbian jessie install on another SD card, and the reader was still broken. – Zven Baum Nov 16 '15 at 18:35
  • I am in the same situation. Tests show that SPI is working. I have dtoverlay=spi-bcm2708 and dtparam=spi=on on my /boot/config.txt. I assume you also did that? – PiEnthusiast Dec 2 '15 at 13:20
  • I've got it working in Raspbian Jessie on a Pi 3: Linux raspberrypi 4.1.19v7-aufs #1 SMP Sun Mar 13 12:48:13 CET 2016 armv7l GNU/Linux. See raspberrypi.stackexchange.com/questions/40829/… for more. – ott-- May 16 '16 at 16:46
  • I assume that you check /dev for SPI ports and there no port. Did you check any configuration in uEnv.txt? cd /boot sudo nano /uEnv.txt – acs May 25 '16 at 20:18
0

I assume that you check /dev for SPI ports and there is no port.

Did you check any configuration in uEnv.txt?

cd /boot
sudo nano /uEnv.txt

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.