RFID Using RC522
I have converted an arduino driver for the MFRC522 to spin2. I have been struggling on this for a few months. I ran teh init procedure on the arduino and on the propeller 2 and there are a few registers that have different values.
Below is a logic analyzer output and it appears there are some issues with the clock. I am using Jonny Macs spi driver. There seems to be a delay in the middle of the transfer on the 4th bit. Also when I run the logic analyzer nothing resembles the data I am sending.
Also not shown in this capture but there is a bit of mosi and miso activity when the cs is high.
Any insight is greatly appreciated!
Code is also attached. Its littered with lots of debug and notes