Skip to content
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

Newly selected serial protocol is only output after power reset #2609

Open
mha1 opened this issue Mar 24, 2024 · 0 comments
Open

Newly selected serial protocol is only output after power reset #2609

mha1 opened this issue Mar 24, 2024 · 0 comments

Comments

@mha1
Copy link
Contributor

mha1 commented Mar 24, 2024

Current Behavior

Using the LUA script changing from CRSF to SBUS will output SBUS protocol on the receiver's TX pin instantaneously. However changing back to any non inverted protocol (e.g. CRSF or SUMD) in the same session starts outputting the newly selected protocol inverted. After power cycling the protocol is output with the correct idle level.

Steps to Reproduce

Example using BFPV SuperP on 3.3.2 with module also on 3.3.2:

  • setup ch13/14 as serialRX/RX and put logic analyzer on ch14 (TX pin).
  • power radio, power receiver and wait for connect
  • observe CRSF serial data on TX pin
  • open LUA script on radio, go to the receiver page
  • change to any inverted serial protocol, e.g. SBUS
  • observe brief link loss and reconnect
  • observe SBUS serial data on TX pin (idle low as expected)
  • change serial protocol to any non inverted protocol like SUMD or CRSF
  • observe brief link loss and reconnect
  • observe SUMD or CRSF serial data on TX pin but inverted (idle low, but idle high expected)
  • power receiver off, then on again, wait for reconnect
  • observe SUMD or CRSF serial data on TX pin with correct idle high level

Your Environment

  • TX hardware: Radiomaster TX16s/internal ELRS, Flysky NV14/external BetaFPV micro module
  • RX hardware: Radiomaster ER6
  • EdgeTX Version: 2.9.3
  • ExpressLRS version (TX & RX MUST MATCH): 3.3.2 ISM (also in current Master)
  • Packet Rate: 100Hz (but doesn't matter
  • Telemetry Ratio: 1:8 (but doesn't matter)
  • user_defines: standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant