PN532 I2C IRQ pin
Moderators: adafruit_support_bill, adafruit

PN532 I2C IRQ pin

by r28073 on Sat Dec 01, 2012 7:44 am

Hi,

I'd connected the PN532 break-out board via I2C to an Atmel controller.
Is the IRQ pin absolutely required to communicate with the PN532 via I2C?

Can the IRQ pin left unconnected?

I understand the the PN532 Application Note v1.2 that the PN532 gets into "normal mode" by default (with P35 being connected to VDD internally, and with IRQ pin being either low or high).

Thanks
r28073
 
Posts: 2
Joined: Sat Dec 01, 2012 7:31 am

Re: PN532 I2C IRQ pin

by adafruit_support_rick on Sat Dec 01, 2012 2:04 pm

The NFC Shield library uses IRQ as a status indicator. The breakout pulls IRQ high to indicate 'busy'. The library waits for IRQ to go low before doing anything. If you tie IRQ low, you should be OK.

adafruit_support_rick
 
Posts: 13111
Joined: Tue Mar 15, 2011 11:42 am
Location: Buffalo, NY

Re: PN532 I2C IRQ pin

by r28073 on Sat Dec 01, 2012 8:12 pm

Thanks.

Alternatively I guess that the lib could be modified to ignore the IRQ pin status, right?

Another question: I made a custom board and have left both IRQ and P35 pins unconnected/floating... For the PN532 to start into normal mode (and not EmuJoiner nor RF Field on), is there a specific start-up sequence? I understabnd P35 is connected internally to VDD.

Thanks for your help.
r28073
 
Posts: 2
Joined: Sat Dec 01, 2012 7:31 am

Re: PN532 I2C IRQ pin

by ktownsend on Sat Dec 01, 2012 11:17 pm

It's possible, but you will need to rewrite the I2C code in the library to do this. The IRQ pin was used because it's the easiest way to get the PN532 working reliably and to know when a response is ready.
User avatar
ktownsend
 
Posts: 358
Joined: Thu Nov 05, 2009 2:18 am