Jair.Hdez
Newbie level 3
Hi all,
I want to check the version from the RC522 using SPI with the PIC18F47K40 to check if the communication between the RFID and the pic. I'm supposed to get 0x91 or 0x92 but I'm getting 0x67. Also if I try to read the id from a card I get no answer from the RFID. My connection between the rfid and the pic are:
MFRC522 PIC18F47K40
SDA RC3 - 18th pin
SCK RC2 - 17th pin
MOSI RC1 - 16th pin
MISO RC0 - 15th pin
Reset RA0 - 2nd pin
The pic and the rfid are powered with 3.3V.
I'm using the latest version of MikroC.
My project is attached View attachment rfid.zip
I want to check the version from the RC522 using SPI with the PIC18F47K40 to check if the communication between the RFID and the pic. I'm supposed to get 0x91 or 0x92 but I'm getting 0x67. Also if I try to read the id from a card I get no answer from the RFID. My connection between the rfid and the pic are:
MFRC522 PIC18F47K40
SDA RC3 - 18th pin
SCK RC2 - 17th pin
MOSI RC1 - 16th pin
MISO RC0 - 15th pin
Reset RA0 - 2nd pin
The pic and the rfid are powered with 3.3V.
I'm using the latest version of MikroC.
My project is attached View attachment rfid.zip