I am trying to use PN532 on nRF52840. Nordic SDK has an example Adafruit Tag Example but it is for nRF52832. I have ported the example but it fails in TWI Communication.
What did I do ?
- In makefile change every occurrence of pca10040 to pca10056
- In makefile change every occurrence of nRF52832 to nRF52840
- Copy sdk_config.h from TWI Scanner example to Adafruit Tag Example
Problems I am facing
LOG :
I am not able to detect PN532. More precisely TWI command fails to send. The error received is NRF_ERROR_DRV_TWI_ERR_DNACK.
Another strange thing is that on pressing reset nRF doesn't log again.