Hey guys, I've connected rc522 module to psoc4 using i2c, but I dont know how to correctly test it, how o get some info from card or key. If it possible, to control it in Bridge control or in Putty?
Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Additional question: Which Cypress Kit do you use for that project?
I'm using pioneer kit cy8ckit042. Here is zip archive of my project.
It is little bit change if to compare with question, I changed from i2c to UART. RFID module I used- rc522
With such pinout - http://rootger.blogspot.com/2014/07/rfid-rc522-pinout.html
In project is no special firmware, because I don't know how to test it correctly.
I don't understand table 5 of http://www.nxp.com/documents/data_sheet/MFRC522.pdf
1) The headers UART (input) $ SPI (output) $ I 2C-bus (I/O)
My understanding is that in all three modes, the MFRC522 acts as subaltern=slave, and as it is a dialog and not a monolog, pins can be input or output. So why is UART declared as input only and SPI as outout?
2) I2C does it mean, that to use/enable I2C-mode, pin 1 has to be hardcoded as "1", so connected to +Vcc?
3) Should the table not be enhanced with an additional column on the right so that one column explains use of pins if EA=1 and the other when EA=0?