Replies: 1 comment 6 replies
-
Assuming you're not using direct reception mode and referring to SX127x, there is no data loss in that part of the wireless link - the radio has a hardware buffer that stores the data until a packet is complete, so there's no reason to try and read it from ISR. Moreover, you really should be doing that, since reading data will require interrupts - and so you will be forced to service an interrupt routine while inside interrupt routine - that's prone to errors and not supported on a lot of platforms. Also, as this is not an issue, so I'm convertin this to a discussion. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To avoid incoming data loss when main loop cannot immediately read the data I would like to read packet in the ISR and place it in the circular buffer, so that main loop can process it further when ISR completes. It seems to work fine, but Is this scenario supported as there seems to be no such example code in examples?
Beta Was this translation helpful? Give feedback.
All reactions