Skip to main content
Visitor II
November 8, 2024
Solved

M24SR64-Y Interrupt - GPO as INT configuration

  • November 8, 2024
  • 1 reply
  • 667 views

Hello, everyone,


I have a problem with setting the GPO of M24SR64-Y as an INTERRUPT. The micro needs to come out of Sleep condition through an Interrupt sent from smartphone via RF, I saw that you have to set the GPO with 0x4X, but I don't know how to send this packet to set the GPO as INTERRUPT.
The bytes I send and receive are:
SYSTEM Select and UpdateBin with the GPO Field at 0x4X (can be seen in the attached figure).

Niko97_0-1731075383702.png

(BLUE-SCL / RED-SDA / GREEN-GPO)


I receive as a response (R-APDU) from the module bytes 6A 82.
Could you please help me out? Do I also need to implement the Capability Container to set GPO as INT?

 

Also, the packet I send as SendInterrupt is as follows:

0x56, 0x02, 0xA2, 0xD6, 0x00, 0x1E, 0x00 + CRC (0xCA,0x7F)

wanted to know if this is correct as a structure or if something is missing

 

Thank you very much

    This topic has been closed for replies.
    Best answer by JP Miller

    Hello,

    sorry for the delay in responding.

    It seems from the command sequence that some steps might be missing for the M24SR to answer with no errors:

    As per NFC Forum specifications, it is necessary for the NDEF Tag Application Select command to be sent (see chapter 5.6.3) before accessing the System File or any file

    for that matter.

    Also the tag might not be properly selected as after the ALL_REQ command, the SEL_REQ commands have to be sent, followed by a RATS. The NDEF Tag Application Select command comes after.

    Hoping this helps

    Best regards

    1 reply

    JP MillerAnswer
    ST Employee
    January 17, 2025

    Hello,

    sorry for the delay in responding.

    It seems from the command sequence that some steps might be missing for the M24SR to answer with no errors:

    As per NFC Forum specifications, it is necessary for the NDEF Tag Application Select command to be sent (see chapter 5.6.3) before accessing the System File or any file

    for that matter.

    Also the tag might not be properly selected as after the ALL_REQ command, the SEL_REQ commands have to be sent, followed by a RATS. The NDEF Tag Application Select command comes after.

    Hoping this helps

    Best regards