lpcware

RC522 IRQ when detect Card without send command all time.

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by marcossmart on Sat May 14 23:18:41 MST 2016
Please Help me! How I can set registers below to active interrupt (IRQ) without send command via SPI?

After configured registers active IRQ when card is near, without send command.

Is possible?

Thank you.

WriteRawRC(DivlEnReg, 0x84); //
WriteRawRC(DivIrqReg, 0x80); //
WriteRawRC(ComIEnReg, 0xA0); //
WriteRawRC(ComIrqReg, 0x80);
ClearBitMask(ComIrqReg, 0x80); //
WriteRawRC(FIFODataReg, PICC_REQIDL);
WriteRawRC(CommandReg,PCD_TRANSCEIVE);
WriteRawRC(BitFramingReg, 0x87);

Outcomes