-
-
Notifications
You must be signed in to change notification settings - Fork 340
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 X10S Express: dangerous spike on channel associated with RV stick using ELRS 900 MHz modules on EdgeTX V2.11 (main branch) #5613
Comments
I don't think you have proven in any way that a problem exist in 2.11. You have proven through your research that you have hardware based RF issue, that's the bottom line. They do manifest in 2.11 (more ? Given there are plenty of elrs settings where this doesn't happen, it cannot be excluded that some exist in earlier version that you haven't seen, it all a question of timing), maybe so, likely due to timing between radio processing and RF perturbation, it still doesn't make it a software issue warranting software fixing. The only true fixing need to be a to find how to shield your radio against 900MHz RF spikes, imho |
@3djc certainly on the shielding problem I can agree with you, this TX apparently in that section has been poorly maintained and there is a hardware problem. |
I repeated the same tests on Radiomaster TX16S and FrSky X12S and no problems found. |
If this is a RF issue, which it entirely appears to be, the only way to resolve it - other than using a magic version of firmware that just happens to with that exact hardware layout, environmental factors (temperature, humidity, etc) and probably even compiler version to generally not exhibit any symptoms - is to shield the RF section from the rest of the radio electronics... ie. insulated copper/aluminium shield, or wrap some shielding around the gimbal wiring. IIRC, I have seen other users do exactly this with the X12... going as far as to basically foil a large portion of the inner shell. |
Yes Peter, the intention of this report is obviously to warn and find a solution if possible, not to say "2.11 is no good" but "2.11 with this hardware combo is potentially dangerous", this is the gist of the issue. |
If it is possible to isolate at which commit in 2.11 the change happens it might be possible to identify why it behaves differently. But this will take e lot of compiling different versions and thorough testing. |
That's what I was trying to do, at the moment I went backwards to August 1 and the problem is still there. |
Er... 2.10.0 was released May 12, but would have forked off of main some time before that. If you are building the code yourself, you should be to narrow down to the commit it changes relatively quickly using While it's not the sort of thing you normally want, having so obvious an ... issue ... is sometimes helpful! |
Then the hunt gets much more complicated; 2.10 has 474 commits behind main. |
Using bisect it should take about 9 tests. |
Make that 28 Feb ;) ... 315104c should be the first unique commit for 2.10, and 57c7aca the first common commit for 2.10 and 2.11 i.e. using the latest commit to main as the bad reference, and assuming (but would obviously need to be tested also that the common commit to both 2.10 and 2.11 is still good)
git bisect in use => https://dev.to/alvesjessica/using-git-bisect-to-find-the-faulty-commit-25gf |
Understood the logic of operation, convenient though.... git bisect good 57c7aca So i think |
I will try to tell you about it, I hope you believe me but I have repeated the test countless times on each firmware, setting the module to 500 mW. 1_b644aadbaa8067640b6fddc0f37e132b0e566c68.bin Do you want to have a laugh? The problem does that with everyone. |
I could continue the hunt by marking the first one on the list as bad and try to go way back, to 2.9, let's go. |
Did you try compiling 2.10 before or did you use the builds provided by us? |
Compilation problems? |
I don't think 'problem' is the right word. As it is all about timing, different compilers can produce various levels of optimisation and therefore affect timings. This is also why it so difficult to try to fight this types issues at code level |
The test on the other X10S EXpress was done by another EdgeTX developer, I don't think we are all compiling wrong. |
I never said you were compiling wrong, but we alread had issues with different compiler versions, like vastly different sizes of the binary and other stuff, so it is good to be sure that you did all tests using the same compiler version. |
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
Unfortunately this is not at all nice, having channel spikes going to full scale on RV stick means for the pilot in MODE1 to have the throttle going to full randomly.
Fortunately we have ascertained that this only happens using firmware compiled from the main branch, while version 2.10.x is not affected for now.
Tests were performed with two FrSky Horus X10S Express and EMAX Aeris, FrSky R9M and Radiomaster Nomad modules at 900 MHz with ELRS V3.5.1.
No problems were encountered with any 2.4 GHz ELRS module tested here (BetaFPV and EMAX).
Definitely related to an RF problem that apparently exist with 2.11, so some commit emphasized this anomaly.
In my case even at 10 mW power of the R9M module the problem is evident, with the Nomad it appears with much higher power.
Some videos showing the problem:
20241011_112945.mp4
PXL_20241013_235604165.mp4
Expected Behavior
Obviously the analog hall sensor on RV maybe has something at the connectivity level on the main board or something else that makes it more sensitive to RF noise but the fact remains that with EdgeTX V2.10.x this thing does not happen.
I have tried swapping the two FrSky M10 gimbals and the problem still remains on RV.
Steps To Reproduce
The posted videos show the procedure, in my case CH2 starts to show spikes only when the rx and module start to colloquy, so when RF comes into play.
The problem is highlighted by using in ELRS 16 channels with telemetry ratio at 1:2.
Version
Nightly (Please give date/commit below)
SHA 3485613
Transmitter
FrSky X10 Express / X10S Express (ACCESS)
The text was updated successfully, but these errors were encountered: