cancel
Showing results for 
Search instead for 
Did you mean: 

NDEF Write Interrupt ST25DV04KC

GThabet
Associate II

I am facing difficulties configuring the GPO interrupt on the ST25DV04KC to trigger exclusively when an NDEF message is written to the tag via the RF interface. The NDEF formatting is working correctly, and I am able to read and write data without issues both through the RF interface and via my microcontroller using the I2C protocol. However, I have not found a configuration or register setting that allows the GPO to generate an interrupt solely upon an NDEF write event initiated from the RF side.

The interrupts are only working if I configure them as shown below.

NFC07A1_NFCTAG_ConfigIT(NFC07A1_NFCTAG_INSTANCE, ST25DVXXKC_GPO1_ENABLE_MASK | ST25DVXXKC_GPO1_FIELDCHANGE_MASK);

However, in this configuration, as expected, the interrupts are triggered simply by bringing the RF device close to the tag, without performing any read or write request. Therefore, this behavior does not serve the intended purpose.

I tried the configurations below but was not successful. Shouldn’t this work?

NFC07A1_NFCTAG_ConfigIT(NFC07A1_NFCTAG_INSTANCE, ST25DVXXKC_GPO1_ENABLE_MASK | ST25DVXXKC_GPO1_RFWRITE_MASK);

or

NFC07A1_NFCTAG_ConfigIT(NFC07A1_NFCTAG_INSTANCE, ST25DVXXKC_GPO1_ENABLE_MASK | ST25DVXXKC_GPO1_RFPUTMSG_MASK);

When I configured it this way, no interrupts were generated anymore, whether writing, reading, or even bringing the device close to the ST25DV’s RF field.

My main goal is to generate interrupts only when the device writes an NDEF message or reads the NDEF, and to find a way to differentiate between these two interrupts. Is this possible? Could you suggest a way to achieve this?

Thank you.

0 REPLIES 0