ST25R3916B: Wakeup mode but no more wakeups
I am using a ST25R3916B with RFAL 4.0, connected to a STM32WB55 via SPI in a battery powered application, so naturally wakeup mode is used. Specifically inductive wakeup with auto averaging.
For a short test on the table this works just finde, but when I let the setup run for multiple hours and thousands of wakeups, at some point it becomes unresponsive.
If I measure the generated field via oscilloscope, I can still see the ~35µs pulses every 400ms, just as I have setup the mode, but there is no interrupt generated.
I do not want to completely dismiss the possibility that the MCU is missing one interrupt somehow, but shouldn't a consecutive change trigger a new interrupt?
What I have found in the AN is
Values close to the edges can lead to a configuration that never wakes-up the system, so, if delta is the difference that triggers an interrupt, the reference value must always satisfy the following conditions:
• reference - delta > 0
• reference + delta < 255
Is there a known situation were auto averaging can maneuver itself into that position and not recover?
Edit: Also I have seen in the Errate that MOSI needs to be be pulled low during IRQ register read, but the RFLA seems to solve this with the following code, right?


