Using startTransmit while a packet is being received #1717
Unanswered
RobertDeHate
asked this question in
Q&A
Replies: 1 comment
-
|
This case is not handled by the lbirary - if you command the radio to transmit while a packet reception is ongoing, it will stop the ongoing reception, dropping the packet. The chance for this situation ocurring depends on your duty cycle. In terms of the buffer, I'm not 100% sure when exactly is the received packet written into the Rx FIFO, but I think it is written only at the end of reception. If you really need to make sure this collision never happens, you can call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am unclear how the library works in this case on a LR1121 radio.
I want to issue the command startTransmit but what if the radio is in the middle of receiving a packet?
Is their a test I should make before issuing the transmit command to verify the radio is idle?
Looking at the SX1262 data sheet I see there is an irq for preamble detect but don't know if it's used for anything.
So if it's in the middle of receiving when I issue the Tx command will it wait for Rx to complete then transmit when the Rx finishes?
I see the Tx and Rx buffer default to share the same start or can have different start positions in the 256byte buffer so they don't overwrite each other.
Thanks,
Robert
Beta Was this translation helpful? Give feedback.
All reactions