cancel
Showing results for 
Search instead for 
Did you mean: 

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

jpeng.2
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Ulysses HERNIOSUS
ST Employee

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

View solution in original post

1 REPLY 1
Ulysses HERNIOSUS
ST Employee

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