I am running (on a Pi3) an MFRRC522 reader - much like this one:
It has been working fine, but after I changed SD card, to increase capacity - whilst also doing a new Raspian install I haven't been able to get it to work.
I have done the following:
- Add
device_tree_param=spi=onanddtoverlay=spi-bcm2708to the config.txt - Taken a look in
/etc/modprobe.d/raspi-blacklist.conf, but it's empty in the latest versions of Raspian anyway - Enabled the SPI interface in raspi-config
- Installed SPI-Py and MFRC522-python
- Checked it's wired as here
The issue is - running dmesg | grep spi doesn't return anything. Have Raspian Updates removed the default modules? How do I enable the spi modules?
lsmodcontainsspi_bcm2835, butdmesg | grep spistill returns nothing - should it return something like[ 5.408904] bcm2708_spi 20204000.spi: master is unqueued, this is deprecated [ 5.659213] bcm2708_spi 20204000.spi: SPI Controller at 0x20204000 (irq 80)? – JBithell Jun 30 '16 at 08:31