Skip to main content
Visitor II
October 31, 2022
Solved

"ST25R_SELFTEST" result of "Check IRQ Handling" is "ERR_TIMEOUT"

  • October 31, 2022
  • 1 reply
  • 653 views

The chip type I am using is st25r3915. After I port RFAL, when I use "ST25R_SELFTEST" in "ST25NFC_EMBEDDED_LIB_ST25R3911B_1.4_0", the result of "Check IRQ Handling" is "ERR_TIMEOUT", what is the possible reason?

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

    Hi,

     /*
     * Check IRQ Handling:
     * - use the Wake-up timer to trigger an IRQ
     * - wait the Wake-up timer interrupt
     * - return ERR_TIMEOUT when the Wake-up timer interrupt is not received
     */

    As the comment explains: An interrupt is triggered and code checks if the ISR is executed and st25r3911WaitForInterruptsTimed() correctly operates (checking MCU timer usage).

    Likely this fail is due to ISR not being triggered or MCU timer port not working properly (immediate timeout).

    BR, Ulysses

    1 reply

    Technical Moderator
    November 2, 2022

    Hi,

     /*
     * Check IRQ Handling:
     * - use the Wake-up timer to trigger an IRQ
     * - wait the Wake-up timer interrupt
     * - return ERR_TIMEOUT when the Wake-up timer interrupt is not received
     */

    As the comment explains: An interrupt is triggered and code checks if the ISR is executed and st25r3911WaitForInterruptsTimed() correctly operates (checking MCU timer usage).

    Likely this fail is due to ISR not being triggered or MCU timer port not working properly (immediate timeout).

    BR, Ulysses