Generate a single interrupt after an NDEF message is written to the tag
Hi
I met a problem with generating a single interrupt after an NDEF message is written to the tag.
I have managed to change the GPO register to 0b11000000, which means the interrupt should only happen when a successful RF-write is performed.
However, the interrupt is generated as long as I put my phone near the tag, which based on my understanding should correspond to FIELD_CHANGE_EN=1. But I have checked the GPO register and FIELD_CHANGE_EN=0.
I have also checked the interrupt signal with a logic analyzer. During NDEF message writing, there are multiple pulses generated by the chip.
I don't know what is wrong, any suggestions?
I have attached the main.c file in the post.
Thank you guys in advance.
Yuechuan
