Skip to main content
Visitor II
March 13, 2020
Solved

ST25R3911 Interrupt problem

  • March 13, 2020
  • 2 replies
  • 1962 views

Hi,

I use st25r3911 ev board with rfal on X-NUCLEO_NFC05A1.

First I tested below project in NUCLEO-401RE that I don't have any problem.

But, I switched target board to NUCLEO -F429ZI that I have an interrupt problem.

The problem that after an interrupt pin is not go low.

As I know, after occurring interrupt and I read the interrupt register. And interrupt pin to go low.

So, I insert delay for work around like below picture.

And I add my project.

    This topic has been closed for replies.
    Best answer by Ulysses HERNIOSUS

    Hi,

    I suspect that your locking via platform(Un)ProtectST25R391xComm() is wrong: Your code indicates usage of EXTI3 for the 3911, however this macro still seems to be defined as:

    #define platformProtectST25R391xComm()        do{ globalCommProtectCnt++; __DSB();NVIC_DisableIRQ(EXTI0_IRQn);__DSB();__ISB();}while(0)

    Regards, Ulysses

    2 replies

    Technical Moderator
    March 13, 2020

    Hi,

    I suspect that your locking via platform(Un)ProtectST25R391xComm() is wrong: Your code indicates usage of EXTI3 for the 3911, however this macro still seems to be defined as:

    #define platformProtectST25R391xComm()        do{ globalCommProtectCnt++; __DSB();NVIC_DisableIRQ(EXTI0_IRQn);__DSB();__ISB();}while(0)

    Regards, Ulysses

    HPARK.1Author
    Visitor II
    March 17, 2020

    Hi

    Thank you very much for your answer.

    I solved this problem!

    HPARK.1Author
    Visitor II
    March 17, 2020

    Hi

    Thank you very much for your answer.

    I solved this problem!