I tried to install 4.1.0, 4.1.1 (by mission planner), and 4.1.2-dev (by waf command on ubuntu) to Pixhawk4 mini.
As a result, it seems that these versions cannot read the RC input and I get Radio FailSafe.
On the other hand, it worked fine with Copter-4.0.7 and Plane-4.1.3.
I have confirmed the same result with three Pixhawk4 mini, two of mine and one of my friend’s.
So I think it’s not a problem with Pixhawk4 mini hardware, but with the source code.
Does anyone know how to deal with this?
@miw01 can you please try setting BRD_SER4_RTSCTS to 0 to disable the flow control pins on the SERIAL4 uart that is used for RC input on the Pixhawk4 mini.
Also please let me know which connector you are using for the receiver. ArduPilot supports all input RC protocols on both the PPM pin and the RCIN port, so I can’t tell which one you are using. My guess is you’re using the RCIN port. If you are not using the RCIN port then please set SERIAL4_PROTOCOL to 0 to disable RCIN detection on that port (then only PPM port will be used)
I just test that BRD_SER4_RTSCTS to 0.
When I power on PH4mini before Transmitter power on,
PH4mini can read SBUS signal.
But, when I power on PH4mini after Transmitter Power on,
PH4mini can not read SBUS signal.
I have now reproduced the problem using an Archer R6 FPort2 receiver with a taranis. I’m working on diagnosing and fixing it
many thanks to everyone who gave feedback on this issue!
@rmackay9 is considering the fix for the next stable. I don’t know if it will go into 4.1.3 or not.
Meanwhile, there is an easy workaround. If you set the SERIAL4_OPTIONS parameter to the right value then the bug doesn’t occur. For inverted protocols (like SBUS or FPort) then you need to set SERIAL4_OPTIONS to 9. The default value on this board is 8.
The problem was caused by the value of 8, which does not include the invert option, being applied again after the RC protocol is detected. That caused the inversion to be disabled, which stopped RCIN decoding from working.
Great, thanks for the feedback. This fix is included in Copte-4.1.3-rc1 so it should go out in the stable release within a week assuming there are no problems with the beta testing.
Using cube orange with rfd900x, getting SBUS intense jitter (out of min/max ranges) which triggers throttle too high and yaw not centered errors. Figured it is related to this thread, I can create a new one if prefered.
I am running into the same issue using a Cube Orange running 4.2.1 with an Airbot Mini Carrier board and an S-Bus receiver. The only option I found to make it work is to start with the remote turned off. The rest of the solutions proposed here were not working in my case.
Thanks!, I had a look again on this option and I changed it to value 24, activating SBUS and SBUS_NI bits. Activating only the SBUS bit was giving me the same problem (remote could not be on before powering the drone). I also changed the SERIAL4_OPTIONS to 9, but I do not know it had any effect. I wonder what could be the underlying reason for this issue.