Question about MFRC522 card search

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about MFRC522 card search

53 Views
lugix
Contributor I

Hi,I am using MFRC522 chip, the program is based on the previous official driver library. But when looking for a card, it succeeds once and fails once, why?

Rc522Init();
while(1)
{
  delay_ms(1000);
  status = Request(ISO14443_3_REQALL, tmp);
  if(status&&status != STATUS_COLLISION_ERROR)  printf("not find\r\n");
  else printf("find it\r\n");
}

 

Put the card near the antenna, the result is:
find it
not find
find it
not find
......
0 Kudos
1 Reply

46 Views
lugix
Contributor I

anybody?

0 Kudos