Skip to content

SX1272 / SX1276: Delay required inside TimerIrqHandler #1210

Answered by mluis1
NovaNekmit asked this question in Q&A
Discussion options

You must be logged in to vote

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.

while( 1 )
{
// Tick the RTC to execute callback in context of the main loop (in stead of the IRQ)
TimerProcess( );

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…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NovaNekmit
Comment options

@mluis1
Comment options

Answer selected by NovaNekmit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1207 on November 19, 2021 11:17.