cleanflight icon indicating copy to clipboard operation
cleanflight copied to clipboard

Enabling telemetry (default) and rx_serial causes board to lock up when arming

Open steveomg opened this issue 12 years ago • 5 comments

Running rev5 of naze32 hardware FRSky SBUS (X8R) inverted with hardware serialrx_provider defined as futaba (sbus)

To replicate: (connect sbus receiver to serial 2) feature -RX_PARALLEL_PWM feature RX_SERIAL feature TELEMETRY set serial_port_2_scenario = 3

Arm motors, and board will lock up prior to arming.

Perform the above and set a telemetry only pin (disables the arm requirement to send telemetry) and everything works as expected - board no longer locks - testing of telemetry on defined pin was not tested.

steveomg avatar Aug 17 '14 22:08 steveomg

Video demonstrating issue: https://www.youtube.com/watch?v=oXmJfOXRVbc

serial_1_and_frsky Telemetry only connected - serial 1 disconnected for CLI (usually for OSD)

vario_converter Telemetry goes into vario as analog for FrSky SPort conversion

telem_in Telemetry into the RX and SBUS out to the inverter

pins_power_rxserial Power from RX and SBUS on serial 3

steveomg avatar Aug 18 '14 19:08 steveomg

Thanks for the pictures.

hydra avatar Aug 19 '14 00:08 hydra

I think this is now fixed, i stumbled across a race condition when adding msp telemetry support via dedicated port.

I think the fix may have been this:

https://github.com/hydra/cleanflight/commit/1ea014ae25bb060e792224de33b915d66c7f5961#diff-631f2e32206bb5701d2f6004d50f13b5R191

Please verify when you can and update this issue.

hydra avatar Aug 23 '14 00:08 hydra

closing, re-open if it's still a problem

hydra avatar Aug 25 '14 21:08 hydra

Tested and confirmed working correctly with this fix.

BTW this was a mis-reported bug, it also affected cppm and telemetry.

steveomg avatar Aug 26 '14 04:08 steveomg