New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FrSky SPI D8 - significant range reduction starting from PR #11380 #11517
Comments
ℹ Small tip for RC link tests in generalThe cage of a microwave might as well help with simulating a failsafe. This potentially saves you from having to screw off the antenna. Close the microwave door with a transmitter inside and the RC signal gets attenuated a lot. |
@KarateBrot The microwave trick is one I use a lot. Very effective. @limonspb Testing using a CRAZYBEEF4FR with both 4.2.11 and current master 642689d I'm seeing no difference. Both links are stable until I shut the microwave door. Does anybody have both a MATEKF411RX and a CRAZYBEEF4FR to compare the two? |
On latest master my link is also stable till I get far or unscrew antenna. The link is not totally messed up just way smaller range. So if your microwave killing the signal either way, or not killing it enough it's not a lot of sense. Need to compare the range, maybe it's even connected with the fact the quad flies, not just sits. |
Using the EdgeTx RANGE function (next to BIND in the first model settings page) I see RSSI drop to 0 with master, but not with 4.2.11. Something to chase now... |
@KarateBrot , @SteveCEvans just told me about the range check function in Edge TX LOL. It sits next to the bind button in the model settings. It reduces the range/power and i am able to reproduce the behavior with this one too. |
Spent some time bisecting between 4.2.11 and master, and the change is indeed at
|
cmon you could have trusted me :) |
Actually, whilst it got a bit worse with that commit, even the commit before is a lot worse than 4.2.11. With 4.2.11 when I got into range check mode the But with master, once in range check mode there is an interrupt, but the |
@MJ666 You're the expert on this code; any insight would be most appreciated. |
I've tried reverting the following files to the 4.2.11 versions and that didn't help.
|
But the PR #11380 did not change any of these files. |
Let me go back and compare AGAIN. I wasn't getting a clear night/day difference with PR #11380, but from 4.2.11 to master it really does make a difference. |
OK, now getting consistent results with #11380. A bodge fix for this is the below, reverting the call to
|
Will see what i can do. Normally im not flying D8 mode anymore since D16 was working well with latest code. Likely since #11380 is not changing any of the FRSky code D16 may also be affected. I did not upgrade any off my FRSky SPI based copters recently and i'm mostly an LOS flyer i would not even detect the range issue? If #11536 does not fix the problem i can take a look. There is also an SPI code related fix pending. May be this could also be related. |
Describe the bug
Master branch starting from build # 2644 (PR #11380) has a significant range reduction for FRSKY SPI receiver with D8 protocol (FRSKY_D)
We got a report of that in Discord, then in Slack by another guy.
I was able to reproduce it with my whoop as well and narrowed it down to this PR:
#11380
To Reproduce
How i did it, watch out it can damage your radio!!! (or use range check function in EdgeTX)
Expected behavior
For any builds prior to #2644 (for example RC3) the range in the described conditions is at least 5-10 meters.
I have verified it multiple times flashing back and forth 2644 and 2643 builds.
2643 range - 5 meters.
2644 range - 1 meter.
Flight controller configuration
Flight controller
MATEKF411RX (BetaFPV F4 1S AIO Whoop Flight Controller)
Other components
No response
How are the different components wired up
No response
Add any other context about the problem that you think might be relevant here
The same drone setup with REDPINE does not show the problem and REDPINE range remains 5-10 meters regardless of the firmware build.
The text was updated successfully, but these errors were encountered: