Can you please let me know the error that you are facing or where your project is getting stuck? Can you also share your project so that it is easier for us to debug?
I found the following links -
Please let me know if the projects shared in these links help solve your issue.
Thanks and Regards,
Rakshith M B
Hi, basically what I am doing is using the library of this link RC522/RFID.cydsn at master · LASER-UD/RC522 · GitHub .
I am using the cy8ckit 059, try to turn on the led onboard every time I detect a tag:
it doesn´t work for me. need help
RC522.cywrk.Archive01.zip 562.5 K
I have slightly modified the functions PCD_WriteRegister () and PCD_ReadRegister () only.
I had to enter a delay (over 500uS) and double read.
Unfortunately, I do not understand how to make these functions correctly, I hope someone will tell us.
I did a minimal communication test with the RC522.
1. Reading a register using VersionReg as an example
2. Writing to the register using the example of the TxControlReg register in the function PCD_AntennaOn / PCD_AntennaOff
3. Detection of communication with the card (ComIrqReg bit 6).
I'm using CY8CKIT-050 dev kit it has a 3.3 volt source.
RC522.cywrk.zip 260.1 K
Thanks for the help. I will continue testing with basic communication.