Hello, I’m trying to use the NFC Shield and a Nexus S (android 2.3.6) to transmit data between the two, using DEP and NDEF messages. I want to use the pn532 chip as a target, so that the phone can read data from it. Some info about my setup first, I do not use the shield with an arduino, but with a mbed (connected by SPI too). The SPI communication works well, I can do the getFirmwareInfo for example.
So, I setup the chip with TgInitAsTarget. When I swipe the phone, I get an answer (424kbps, DEP, framing Active). So I do the TgGetData command to get the DEP command from the phone, but the answer is always an error code, error 0x29 “The PN532 configured as target has been released by its initiator”. I tried with another Nexus S, and it also did not work.
Just to be sure, I also tested between the two Nexus S and NDEF message exchange worked.
I also forced passive mode, the communication gets setup as 106kbps, DEP, framing Mifare, but I again get the same error.
So my question is, has anyone succeded in exchanging data between the pn532 and a Nexus S?
Also, I saw that the firmware version of the chip I have on my NFC Shield is v1.4, when the user manual from NXP is for version 1.6. Is this normal? Can I upgrade the firmware of my pn532? Maybe my bug is fixed in the new firmware version?