Skip to content

Conversation

@frankiearzu
Copy link
Contributor

@frankiearzu frankiearzu commented Oct 20, 2025

NOTE: For Branch "main" (3.0)

Fixes #5614

Same changes as PR #6679

TESTING: TX16S and Boxer

Summary of changes:

  1. Fixes sending channels from 11ms to 22ms intervals. The DSMP module is designed for 22ms.. This was causing to loss a lot of messages being sent.
Image

This s the offending line:
Image

  1. Fix Binding Problem. The module was getting crazy after bind.. the TX needed to be restarted to correct.. This was caused by trying to restart the module in two different places at the same time.

  2. Fix unexpected servo movement during startup. If you have the RX power ON before the radio, or the radio is powered cycle, or switching models.. Sometimes the servos will move for a bit to unexpected positions. This is caused that the Setup package was not received before sending channels.. solution, send setup multiple times instead of once! Really dangerous situation with electric motors starting unexpectedly, even for a bit. NOTE: Not 100% solved, but it eliminates the problem 80% of the time. The only way to really solve it is in the Module firmware.

  3. Show on the module screen the Status of the module (Version + Protocol).

  4. Added channel order mapping: AETR->TAER on the module screen. This change added a new YAML attribute and translation.

  5. Move DSMP code into a separate file from DSM2 (pulses folder).

  6. Spektrum forward programming capabilities (for v2 firmware).

  7. In Spectrum.cpp, when receiving the bind packet, there was conditional code for handling MultiModule and DSMP specifics. move the module-specific code to the respective multi.cpp and dsmp.cpp. This is mostly to turn off binding on the module screen and change from DSM AUTO to the protocol negotiated. The Spektrum.cpp keeps only the common part for both.

  8. TELEMETRY: DSMP + some old LemonRX Gen2 still does not receive telemetry.. works with newer LemonRX Gen2. The strange part is that the same same receiver telemetry works well with the Multi-Module. Still a mistery what could be going on. DSMP+Spektrum AR637T telemetry works.

GUI changes for both Color and both versions of B&W.

image image

Same fixes as the 2.11.4 branch, but for the main branch
@frankiearzu frankiearzu changed the title DSMP Fixes for main branch #5614 fix(dsmp): binding issue, channel update rate - 3.0 (main) Oct 20, 2025
@pfeerick pfeerick changed the title fix(dsmp): binding issue, channel update rate - 3.0 (main) fix(dsmp): binding issue, channel update rate Oct 21, 2025
@pfeerick pfeerick added bug 🪲 Something isn't working house keeping 🧹 Cleanup of code and house keeping labels Oct 21, 2025
@pfeerick pfeerick added this to the 3.0 milestone Oct 21, 2025
@pfeerick pfeerick self-requested a review October 21, 2025 04:14
If the RX is ON before the radio, some servos will jump and jitter until the Setup Package is received..  This also happens during model switch, and power cycle TX while RX is OK.
@frankiearzu frankiearzu changed the title fix(dsmp): binding issue, channel update rate fix(dsmp): binding issue, channel update rate, ,unexpected servo movement on startup Oct 22, 2025
@pfeerick pfeerick changed the title fix(dsmp): binding issue, channel update rate, ,unexpected servo movement on startup fix(dsmp): binding issue, channel update rate, unexpected servo movement on startup Oct 22, 2025
@frankiearzu
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working house keeping 🧹 Cleanup of code and house keeping

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LemonDSMP: No telemetry, and CH8 not working

2 participants