Seeed-Studio / PN532

NFC library using PN532 to read/write card and communicate with android
431 stars 176 forks source link

[question] I need little help with interrupts on pn532 #107

Closed joinmod closed 3 years ago

joinmod commented 3 years ago

Hi, so..... I didn't understand how interrupts work on pn532 from the datasheet, I know that there are 2 registers IE0 and IE1 that control interrupts (except priority control, GPIRQ and etc.), but i dont know which to bit set for me (i think for my problem i need i2c and GPIRQ interrupts but idk)

I have a p2p project with i2c configuration with mobile powering from and i need save power as much as possible. I need to trigger pn532 and arduino to wake up when antenna see another active device (like pn532 or passive nfc tag if this is possible)

somebody can help with that? i cant find anything useful information for me.