cancel
Showing results for 
Search instead for 
Did you mean: 

How to send an INTERRUPT command to ST25DV64K

Ggsg.1
Associate

Hi, i am working on a mobile android application, and from the firmware team they told me i need to this procedure:

1. User closes his mobile phone to climatic sensor.

2. A mobile app send a ManageGPO command (0x80) to ST25DV64K chip.

3. This command raises RF_INTERRUPT in NFC which is seen by MCU.

4. MCU updates values in DGN memory space.

But how can I do this? I am a beginner in this technology, so i don't have much knowledge.

I have also tried to send some custom command with the ST25 demo app, like 02 80 02 00

but the response is 01 01 ISO15693_CMD_NOT_SUPPORTED

1 ACCEPTED SOLUTION

Accepted Solutions
JL. Lebon
ST Employee

Hello,

In order to send interrupts from ST25DV, you need first to configure GPO output of the ST25DV. Here are the steps:

  • present the configuration password (pwd 0, default value all 0x00): this is done using the Present Password command is 02 B3 02 00 00 00 00 00 00 00 00 00
  • enable RF_INTERRUPT (bit 2) and GPO output (bit 7) in the GPO static register (address 00). This is done using the Write Configuration command: 02 A1 02 00 84
  • Then, you can use the ManageGPO command to trigger the interrupt: 02 A9 02 80

Your command 02 80 02 00 is not formed correctly. Please refer to datasheet (https://www.st.com/resource/en/datasheet/st25dv64k.pdf) chapter "7.6.30 Manage GPO" to see how this command is formed: request flag, command code, manufacturer code, then the value 0x80 for RF_INTERRUPT. (the UID is only present if you set the request flag to 0x22 instead of 0x02. In your command, you miss the command and the manufacturer code.

Best regards.

View solution in original post

1 REPLY 1
JL. Lebon
ST Employee

Hello,

In order to send interrupts from ST25DV, you need first to configure GPO output of the ST25DV. Here are the steps:

  • present the configuration password (pwd 0, default value all 0x00): this is done using the Present Password command is 02 B3 02 00 00 00 00 00 00 00 00 00
  • enable RF_INTERRUPT (bit 2) and GPO output (bit 7) in the GPO static register (address 00). This is done using the Write Configuration command: 02 A1 02 00 84
  • Then, you can use the ManageGPO command to trigger the interrupt: 02 A9 02 80

Your command 02 80 02 00 is not formed correctly. Please refer to datasheet (https://www.st.com/resource/en/datasheet/st25dv64k.pdf) chapter "7.6.30 Manage GPO" to see how this command is formed: request flag, command code, manufacturer code, then the value 0x80 for RF_INTERRUPT. (the UID is only present if you set the request flag to 0x22 instead of 0x02. In your command, you miss the command and the manufacturer code.

Best regards.