DSM: Add extra XPlus channels to protocol - #1138
Conversation
|
How to test this:
|
|
Is it ready to be merged? or is it still a draft? |
|
Hi Pascal.. glad that you are back. Currently, if you setup up to 12 channels, it will activate the X_PLUS extra channels, but will be better if this functionality gets turned on only when you select more than 12 channels in the radio. Just recently did that modification in EdgeTX to support the LemonRX DSMP module V2 (Supports 16ch too), but will do the same for Multi-Module. So the code is functionally identical until you select more than 12ch. As for DSM LUAs, we should remove them.. In my github now have different distributions for EdgeTX color, EdgeTX B&W, and Ethos.. Different set of files. |



Fixes #1137
Added the code to support the Spektrum X-Plus channels (CH13-CH16) encoding and multiplexing.
No need to change anything in the TX code, since the TX is already transmitting 16ch to the Multi-Module, even if the channel range is CH1-CH12. XPlus channels will only be transmitted on DSM X2F when using 12 channels, not when is fewer.
Changing the MM and TX firmware send CH17-20 will be much more work on the TX, and TX->MM protocol, but 16ch is a good start.
The X-Plus channels are very LOW refresh channels, 88ms compared to the regular 11ms/22ms servo refresh... not intended for surfaces, but for low priority items, like gains, flight modes, and with a channel extender, other servos.
Tested with:
RX:
AR637TA Using CH16 for flight mode.
LemonRX Gen2 Ignores extra channels
NOTE: CH14 Throttle Kill functionality is still ON by default for backward compatibility, I think at some point of time, it should be deprecated, since the same functionality can be done with most new radios with a Thr Kill functionality (EdgeTX special function).