PN532 I2C IRQ pin

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

PN532 I2C IRQ pin

Postby r28073 » Sat Dec 01, 2012 6: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 6:31 am

Re: PN532 I2C IRQ pin

Postby adafruit_support_rick » Sat Dec 01, 2012 1: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.
User avatar
adafruit_support_rick
 
Posts: 2860
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: PN532 I2C IRQ pin

Postby r28073 » Sat Dec 01, 2012 7: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 6:31 am

Re: PN532 I2C IRQ pin

Postby ktownsend » Sat Dec 01, 2012 10: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.
ktownsend
 
Posts: 200
Joined: Thu Nov 05, 2009 1:18 am


Return to General Project help

Who is online

Users browsing this forum: No registered users and 10 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]