Hello,
I would like to use NFC on my Thingy:53 to send data or at least a word, how do I set it up? I haven't found any code anywhere.
Thank you in advance
Kind regards,
Gwénaël
Hello,
I would like to use NFC on my Thingy:53 to send data or at least a word, how do I set it up? I haven't found any code anywhere.
Thank you in advance
Kind regards,
Gwénaël
Hi Gwénaël,
There are several NFC samples in the SDK, and they should run on the Thingy:53. But please note that the nRF can only act as a tag, so a NFC reader (typically a phone) is needed to communicate with it.
Br,
Einar
I tried some of the nfc examples on my Thingy:53 but I can't get any of them to work, for example the tnap_tag sample.
Im building with this build command:
west build --build-dir /opt/nordic/ncs/v3.1.1/nrf/samples/nfc/tnep_tag/build /opt/nordic/ncs/v3.1.1/nrf/samples/nfc/tnep_tag --pristine --board thingy53/nrf5340/cpuapp/ns --sysbuild -- -DCONF_FILE="prj.conf"
and it produce a dfu_application.zip that I flash with 'nRF Connect for Desktop'->Programmer over USB
When I reboot my thingy it just light up the red led and does nothing more, seems to have crashed. I tried to add led flashing in the main loop but it never gets there. Is the tnap_tag example not supported or do I need to add or adjust something to my build command?
I tried some of the nfc examples on my Thingy:53 but I can't get any of them to work, for example the tnap_tag sample.
Im building with this build command:
west build --build-dir /opt/nordic/ncs/v3.1.1/nrf/samples/nfc/tnep_tag/build /opt/nordic/ncs/v3.1.1/nrf/samples/nfc/tnep_tag --pristine --board thingy53/nrf5340/cpuapp/ns --sysbuild -- -DCONF_FILE="prj.conf"
and it produce a dfu_application.zip that I flash with 'nRF Connect for Desktop'->Programmer over USB
When I reboot my thingy it just light up the red led and does nothing more, seems to have crashed. I tried to add led flashing in the main loop but it never gets there. Is the tnap_tag example not supported or do I need to add or adjust something to my build command?
Hi,
The sample does not run on the Thingy:53 out of the box. You can see that it uses up to LED4 (or LED3 when 0 indexed), but this does not exist on the Thingy. There may also be other things that need adjusting.
I would recommend debugging to see what is failing. You can do that using an external debugger, or connect a DK an d use that as a debugger as shown here).
PS: You can see that the Thingy is not listed under integration_platforms or platform_allow in sample.yaml meaning that it is not intended to work with the Thingy out of the box nor tested. However, I expect only small adjustments are needed.