Repository navigation
[4.0 Back Port] Separate FIFO locations for TX & RX on SX1280 - #3623
Merged
pkendall64 merged 3 commits intoApr 23, 2026
Merged
Conversation
CapnBry
approved these changes
Apr 22, 2026
mha1
approved these changes
Apr 22, 2026
mha1
left a comment
Contributor
There was a problem hiding this comment.
8h run SX1280/SX1280 with no obvious issues.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR back-ports #3620 to 4.x for a 4.0.1 release
Problem
On SX1280 receivers, the radio driver was using the same internal packet buffer region for both transmit and receive operations. Under rare conditions this could allow a just-transmitted telemetry payload, such as an OTA LinkStats packet, to be read back through the receive path and misinterpreted as RC data. Because LinkStats and RC packets share the same OTA packet type value; when in MAVLink mode, this could appear on the flight controller as a bogus
RC_CHANNELS_OVERRIDEframe and would cause a disarm of the craft if using channel-based arming.Solution
The SX1280 driver now uses separate FIFO base addresses for transmit and receive. This prevents transmitted telemetry data from being re-read through the RX path and removes the buffer aliasing condition that could cause LinkStats payloads to be decoded as RC data.
Belt-and-braces
As an additional safeguard, the RX path also validates the radio status returned by
GET_RXBUFFERSTATUSbefore reading packet data. The driver only accepts a received packet if the chip reports that it is in RX mode and that data is available for reading.