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

NFC stops working

Hello Devzone,

For my project I am using NFC and I am using the writeable NDEF message project as an example.

Everything is working except I have found one issue.

Whenever I receive the NFC_T4T_EVENT_FIELD_ON event and I get an interrupt that takes time to complete NFC stops working.

I can still read and write my device but the NFC_T4T_EVENT_NDEF_UPDATED is never triggered.

I use this event to process all incoming data.

This issue can be easily reproduced by adding the following code in the NFC_T4T_EVENT_FIELD_ON event

uint32_t temp = 100000;
while(--temp); // Simulate interrupt by "waiting" in event.

How can I solve this problem that the NFC_T4T_EVENT_NDEF_UPDATED  will be triggered if I receive an interrupt in the NFC_T4T_EVENT_FIELD_ON event?

Parents
  • Hi

    Thank you, I've asked some of our NFC experts internally about this, to see if they've encountered something similar before, or know what might be causing this issue. Just for the record, are you seeing this on an nRF52 DK, a custom board, or both? Do you see any further log messages if you try debugging the application (setting DEBUG in the preprocessor definitions of your IDE)?

    Best regards,

    Simon

Reply
  • Hi

    Thank you, I've asked some of our NFC experts internally about this, to see if they've encountered something similar before, or know what might be causing this issue. Just for the record, are you seeing this on an nRF52 DK, a custom board, or both? Do you see any further log messages if you try debugging the application (setting DEBUG in the preprocessor definitions of your IDE)?

    Best regards,

    Simon

Children
Related