This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52 and PN532 does not work

I took the reference of your example and instructions hear - devzone.nordicsemi.com/.../

The program runs but get struck at sending the I2c write command . Do I need to do anything extra compared to whats written in the link .

I did all the connections correct , I enabled the pn532 debug messages on they only come first few messages .

Thanks

Parents
  • Hi,

    I have managed to run the example without anything else add. Connect SCL to pin 27 of DK, SDA to P.26, RST_OUT_N to pin 14, IRQ to pin 13 and 3.3V to VDD and gnd to ground. The shield they use in the example is taken from Adafruit, but I used the one from ELECHOUSE v3 and that worked as well (the SEL pins on I2C). I do not see why it should not work for you.

    Make sure when you flash the NRF52 correctly (i.e. if this has any soft devices, download them first and then the program) and be sure you have the correct chip set. I use for the DK PCA000040 but it might be different for you.

    After flashing that, make sure you have a proper communication port. Are you sure you have set the correct baud rate on the terminal? See the instructions they give.

    Finally, I have noticed when you want to read an Ultralight tag, you cannot use the one provided in the nRF52-DK because it needs to be powered. For one reason or another you cannot use the tag they provide in the kit and read with the NFC at the same time. You might want to have another ultralight card handy for that case.

    The reason why it works for them is that they have two nRF52 development kits, and one has the role of the tag.

    If you could detail the problem (i.e. terminal not showing what it should) then we could spot the problem easier.

    Thanks,

    Cristian

Reply
  • Hi,

    I have managed to run the example without anything else add. Connect SCL to pin 27 of DK, SDA to P.26, RST_OUT_N to pin 14, IRQ to pin 13 and 3.3V to VDD and gnd to ground. The shield they use in the example is taken from Adafruit, but I used the one from ELECHOUSE v3 and that worked as well (the SEL pins on I2C). I do not see why it should not work for you.

    Make sure when you flash the NRF52 correctly (i.e. if this has any soft devices, download them first and then the program) and be sure you have the correct chip set. I use for the DK PCA000040 but it might be different for you.

    After flashing that, make sure you have a proper communication port. Are you sure you have set the correct baud rate on the terminal? See the instructions they give.

    Finally, I have noticed when you want to read an Ultralight tag, you cannot use the one provided in the nRF52-DK because it needs to be powered. For one reason or another you cannot use the tag they provide in the kit and read with the NFC at the same time. You might want to have another ultralight card handy for that case.

    The reason why it works for them is that they have two nRF52 development kits, and one has the role of the tag.

    If you could detail the problem (i.e. terminal not showing what it should) then we could spot the problem easier.

    Thanks,

    Cristian

Children
No Data
Related