RC522 IRQ when detect Card without send command all time.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RC522 IRQ when detect Card without send command all time.

1,179 次查看
lpcware
NXP Employee
NXP Employee
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);
标签 (1)
0 项奖励
1 回复

482 次查看
lpcware
NXP Employee
NXP Employee
bump
0 项奖励