Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By FFlorian
#88106 Hello, I have same issue.
Can you put the wiring diagram for SPI (PN532 <-> D1 MINI)
And the functional code

I used Adafruit_PN532 with commun exemple :
Code: Select all#define PN532_SCK (14)
#define PN532_MOSI (13)
#define PN532_SS (15)
#define PN532_MISO (12)

and my wiring is :
ESP TO PN532
    D5 to SCK
    D6 to MSO
    D7 to MOSI
    D8 to SS
    3v3 to VCC
    G to GND
all is power with USB cable (potential problem!)
User avatar
By flez1966
#93323 I added serial print statements and i guess your problem is the exact same as mine, if the board isnt responding or wired incorrectly so it doesnt respond the nfc.begin bombs out.

Serial.println("trap9a");
nfc.begin();
Serial.println("trap9b");

9b is never printed, but i see a WDT crash.

I guess theres a loop in nfc.begin code that loops, esp doesnt perform background functions and WDT triggers.

yes i'm a noob blaming a library.....