SX1272 / SX1276: Delay required inside TimerIrqHandler #1210
-
During SX1272OnTimeoutIrq, SX1272Reset is called here. An implementation of the reset function will typically require waiting for some amount of milliseconds (as ie implemented here ). I understand that resetting is a workaround and should not happen in regular use. Is there a intended way to request a call to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The LoRaMac-node/src/apps/LoRaMac/periodic-uplink-lpp/SAMR34/main.c Lines 301 to 304 in 05353ff You can modify the code to run the timer interrupts handling under the main context, However this may introduce unwanted delays which could break the LoRaWAN required timing precision. It has to be noted that this workaround is implemented like this since some time now and we never noticed issues with it. In the future it would be nice if you could post this kind of questions on the project Discussions tab. It is a better place to engage discussions and then we can agree if it is an issue or not. |
Beta Was this translation helpful? Give feedback.
The
RtcProcess
was introduced in order to be able to handle the SAMR34 RTC peripheral. For all other platforms this function is empty.The
RtcProcess
can be called as it is done under the SAMR34 examples.LoRaMac-node/src/apps/LoRaMac/periodic-uplink-lpp/SAMR34/main.c
Lines 301 to 304 in 05353ff
You can modify the code to run the timer interrupts handling under the main context, However this may introduce unwanted delays which could break the LoRaWAN required timing precision.
It has to be noted that this workaround is implemented like this s…