FrSky ARCHER PLUS R10+ and SR10+ receiver support
Is there an existing issue for this feature request?
- [X] I have searched the existing issues
Is your feature request related to a problem?
The Frsky R10+ receivers have 10 configurable channel ports, each channel port can be assigned as PWM, SBUS, FBUS, or S.Port. At the moment you can only change the channel mapping for the 10 ports.
Describe the solution you'd like
The possibility to configure all channel ports also to PWM, SBUS, FBUS, or S.Port.
Describe alternatives you've considered
No response
Additional context
No response
To be able to implement this, we will need some information on how is this done. At the very least we need a trace of the packets exchanged during this configuration between radio and module.
Last time I asked if anyone would be ready to do this kind of things and maintain the FrSky protocols, nobody showed up.
This probably means we won’t be able to support this hardware, as we’re not receiving any information from the vendor.
Hi Raphael, thanks for your reply. At the moment you can only configure the ports of the Archer Plus series with ETHOS to PWM, SBUS, FBUS, or S.Port, for this I flashed one of my transmitters to ETHOS.
The reconfiguration of the ports as well as changing the chanel mappings happens with a bound RX under options. I would like to support you in the implementation if you tell me how I can help you!
Attached two screenshots from Ethos.

@kochpet what we need are the data exchanged between the radio software and the RF module. This means using a logic analyser with probes on the serial lines between the RF module and the main MCU in your radio.
Other vendors just document their communication protocol so that we "just" have to implement it. This requires to reverse-engineer the protocol itself, whereby we already have a good part of it (from the time FrSky was communicating some details to the OpenTx team), but we need the new parts now.
@raphaelcoeffic Ok, just to clarify my background. I'm an IT consultant and I work for a company that develops and builds electronic devices. It should be possible that I can provide you with this data. Can you tell me where exactly I have to attach the logical analyzer. I would use a Frsky X10S ETHOS with an internal ISRM module for this.
@rotorman can you please help this gentlemen with the pinout of the internal module connector? It is the same as on the TX16S.
Once the packages have been monitored, the single packet payload need to be exported and analysed. I usually write python scripts to do that. Otherwise it's quite hard to find the exact packet or sequence of packets you are looking for.
Here a pinout of the TX16S 12-pin RF module connector:

@kochpet Would you happen to have a Saleae logic analyzer? Tapping the internal module RX and TX pins would reveal it's secrets. Alternatively you could use two 3.3V logic level FTDI adapters, one for TX and one for RX line, but logic analyzer is better, as it shows combined timing of the RX and TX lines better.
You are looking for a "normal" async serial (8N1) with a baud rate of 450.000.
This is the code for the current receiver settings as we know it: https://github.com/EdgeTX/edgetx/blob/5f171560360ab3982724c2ecc6fba3fc6fe30e16/radio/src/pulses/pxx2.cpp#L397-L419
@rotorman on the X10S IXJT motherboard is a 13pin Molex and not a 12pin like at your photo.
Do you have a pinout for that too?

@rotorman
Don't worry already found it

@raphaelcoeffic
Ok, I'll get the Logical Analyzer on Monday, then we'll see. In the meantime, a possibly stupid question. As I can see at the code you know how to switch the separate port for SBus, Fport......etc on existing receivers. Since the R10Plus registers and binds perfectly and the port mapping also works perfectly, the receiver can also be switched to 7ms PWM mode and telemetry can be disabled, it would not be possible for the reconfiguration of the ports to work with the existing code?

It‘s hard to guess, I don’t have the hardware, so I cannot test, and it feels weird to make blind changes. Let‘s see what traces show first.
@raphaelcoeffic Can you please check the Saleae logic file, I think this is one of the sequences we are looking for.
@raphaelcoeffic did you find time to check the Saleae logic file?
@kochpet it seems your ZIP file has only the picture, right? Is there any way I can have the full Logic2 trace file? I need to see the traffic around it as well (request + replies, etc).
@raphaelcoeffic Sorry, I zipped the wrong file, here are all the .sal of the various switching processes. Analyzer.zip
@kochpet did you actually have "Telemetry disabled" activated? It seems bit 7 is always set in your traces, which seems odd.
Also:
- can you choose the output pins freely? (every type of output on any pin?)
- can you have multiple SPORT pins? (same for SBUS in/out)
@raphaelcoeffic Yes telemetry was disabled
@raphaelcoeffic 10 Configurable Channel Ports CP1: PWM / SBUS Out / FBUS / S.Port / SBUS In CP2-10: PWM / SBUS Out / FBUS / S.Port
@kochpet it seems we're missing the capability frames in the trace. You should be able to see at some point (possibly when opening the receiver options?) a frame coming from the module starting with 0x7E [size] 0x01 0x06.