You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STM32CubeWL: Fix RX timing issue due to relative timestamps
For the RX window timing, a timer is started after TxDone. However,
since this is done in the mainloop rather than the TxDone ISR, the exact
timing of the RX window depends on how soon after the interrupt
LoRaMacProcess() is called (but it will always be at least a little too
late).
The TxDone interrupt already captures a timestamp, so this commit
uses that to correctly position the RX window. There is still a small
race condition where interrupts could still cause a delay, but the
influence of that should be small and rare enough in practice, so this
is left unfixed here (a proper fix would require changes to the timer
subsystem, which are a bit too invasive to make here).
This fixesLora-net/LoRaMac-node#1349
0 commit comments