# Need help with communicating with card reader!

For my school project I'm using the MFRC522 card reader and an FPGA with VHDL. I'm using SPI lines but I can't understand how am I supposed create a communication with it.

From what I've understand so far I have to sycnhronize both with the same clock (which I did and checked). Then... I don't know, am I supposed to send an address every time to get card information?

Isn't the card reader supposed to send me the information stored in the card when it reads it?

What do I have to do to get the card reading?

If I have to send an address every time, what address do I have to send? I've checked registers but I couldn't make sense of any of them.

• Google search for MFRC522 application note site:nxp.com leads to Design Support tab, NXP Reader Library version 2.1 with Visual C++ project: nxp.com/documents/software/200312.zip – MarkU Dec 16 '14 at 3:16