Hi:
Thanks for your support:
1. Which PN532 module are you using?
The following url, I don't know manufacturer.
http://www.playrobot.com/rfid/743-pn532-nfc-rfid.html
2. Paste the code snippet for the firmware version command.
u_int32_t getFirmwareVersion(void)
{
u_int8_t commandBuff[] = {0x00,0x00,0xff,0x02,0xfe,0xd4,0x02,0x2a,0x00};
u_int8_t rxBuf[4] = {0x00};
u_int32_t response = 0;
response = HAL_I2C_Master_Transmit(&hi2c3,PN532_I2C_ADDR,commandBuff,9,1000);
/*
HAL_I2C_Master_Receive(&hi2c3,PN532_I2C_ADDR,rxBuf,sizeof(rxBuf),100); r
esponse |= rxBuf[0];
response <<= 1;
response |= rxBuf[1];
response <<= 1;
response |= rxBuf[2];
response <<= 1;
response |= rxBuf[3];
*/
return response;
}
3. Are you using the IRQ pin on the PN532 ?
No, I didn't use it. Did i need to take care of it?