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

RX - Add support for Multiplex SRLX #681

Closed
Fly3Fan opened this issue Mar 29, 2015 · 19 comments
Closed

RX - Add support for Multiplex SRLX #681

Fly3Fan opened this issue Mar 29, 2015 · 19 comments

Comments

@Fly3Fan
Copy link

Fly3Fan commented Mar 29, 2015

Could somebody please implement SRXL to be used in CLEANFLIGHT. Otherwise MULTIPLEX users cannot utilise all the nice CF features that require serial signal.

Here in Germany Multiplex is very popular but still SRXL is only popular in the helicopter scene so far (Microbeast e.g. have implemented it).

Would be great if someone could help!

Here you can find the documentation of Multiplex SRXL ("SRXL-MULTIPLEX_V2.pdf" first two pages in German language, page 3,4 the same text/specification in English. Same in "Multiplex-Sensor-Bus_V2.pdf", English starts at page 11 ).
http://www.multiplex-rc.de/en/service/downloads/interface-descriptions.html

This is the MULTIPLEX equipment (used in Germany a lot):
Sample receiver documentation at:
http://www.multiplex-rc.de/en/service/downloads/manuals.html?eID=dam_frontend_push&docID=2729
These transmitters are being used:
http://www.multiplex-rc.de/en/products/categories/products/details/productgroup/aircraft-models/productcategory/imperator/product/profi-tx12-m-link-einzelsender-24-ghz.html?tx_lwshopitems_pi1%5Baction%5D=show&tx_lwshopitems_pi1%5Bcontroller%5D=Product&cHash=36185909139513f4201fed2118c5d42f
and
http://www.multiplex-rc.de/en/products/categories/products/details/productgroup/aircraft-models/productcategory/royal-pro-m-link/product/royal-sx-action-16-kanal-telemetrie-set.html?tx_lwshopitems_pi1%5Baction%5D=show&tx_lwshopitems_pi1%5Bcontroller%5D=Product&cHash=1c7929b505f8396c175183676da65174

@tracernz
Copy link
Contributor

Try X-Bus mode B. I've heard it's the same protocol by a different name.

@hydra hydra changed the title Please enable Multiplex SRLX sbus Add support Multiplex SRLX Serial RX Mar 30, 2015
@hydra
Copy link
Contributor

hydra commented Mar 30, 2015

@Fly3Fan please can you confirm whether existing X-Bus support works for you?

@Fly3Fan
Copy link
Author

Fly3Fan commented Mar 30, 2015

"configuration" tab:
'Receiver Mode': RX-PPM enabled
'Serial Receiver Provider': XBUS_Mode_B ticked (-> blue background)
nothing marked under "Other Features"
-> safed, rebooting, ready

now select "Receiver" tab
straight line appears at ~1600 and moves from right to left
if I now connect the Lipo, the movement becomes stuttering and moves about 3 to 4 steps per sec. to the left.
all coloured indicators for TX input stay at 1500, no TX-stick movement visible
if I try to change to an other tab "waiting for data" appears on the screen. Unable to leave this tab other than disconnecting Lipo from copter.
Same with 'Serial Receiver Provider': XBUS_Mode_B_RJ01
So obviously SRXL does not seem to be implemented.

@Fly3Fan
Copy link
Author

Fly3Fan commented Mar 30, 2015

As far as I understand from a friend the header of SRXL seems to be the same as JR but the set of data which is transmitted varies and thus checksum also varies/is wrong; as can be seen from the MULTIPLEX SRXL documentation linked in my first post. Hope that is not to confusing info from a 'non-programmer-fool' ;-)
Thanks in advice for your help!
Stefan

@tracernz
Copy link
Contributor

@Fly3Fan
Copy link
Author

Fly3Fan commented Apr 13, 2015

Unfortuantely Multiplex is not willing to contribute here (see eMail below).
":..die Beschreibung des SRXL können Sie von der Multiplex Homepage herunterladen. Für einen Open Source Programmierer sollte das kein Problem darstellen. Bei uns im Haus ist jedoch keine Kapazität für Fremdprojekte vorhanden.

Mit freundlichen Grüßen,
Ihr MULTIPLEX-Team"

Anybody here who would be so kind and take care of this issue to implement SRXL?

@ledvinap
Copy link
Contributor

Should be quite easy. Anyone in CZ/Pilsen with SRXL equipment?

@Fly3Fan
Copy link
Author

Fly3Fan commented Apr 16, 2015

Hi, can I do anything to support this? (sorry, I am not a programmer)

Regards
Stefan

@Paulraaf
Copy link

FYI:
I have my naze32 running perfectly well with a Multiplex RX-5 M-Link receiver. I'm running cleanflight 1.8.1 with X-bus selected. I needed to enable serial output in my receiver though.

@Fly3Fan
Copy link
Author

Fly3Fan commented Apr 27, 2015

Hi,That sounds fantastic. Could you please send screenshots of your settings in the gui?
Thanks in advice Stefan

@Paulraaf
Copy link

ports

receiver

configuration

Here they are.
This is what I had to do:

  • Enable serial output in my receiver with the multimat programmer (also possible with a pc if I'm correct)
  • Set FastResponse to OFF in the modulation menu of my transmitter (Multiplex Royal Pro 9)
  • Enable SerialRx checkbox for UART2 in the ports tab of cleanflight
  • Select SerialRx and XBus mode B in the configuration tab.
  • Use input pin 4 on the naze32 for the RX-signal

Note: I'm using the RX-5 M-link receiver so only the first 5 channels work.

Note2: I do think that not all Multiplex receivers might work. The documentation for SRXL mentions a 12 and 16 channel version so apparently my receiver puts out the 12 channel version of the protocol because that is the same as current implementation of xbus mode B.

@Fly3Fan
Copy link
Author

Fly3Fan commented Apr 27, 2015

Hi,
Thanks for the pics! That really looks interesting and I am looking forward to test this with my RX-9 M link (hopefully this week, not sure if I’ll find time for that).
I’ll keep you informed. Would be great if it works…
Regards
Stefan

@terminar
Copy link

terminar commented May 2, 2015

Hi,
i am in contact with Multiplex since some time and this weekend i have received test equipment to help supporting Multiplex RC in cleanflight. This means of course testing SRXL (XBus Mode B is "based" on SRXL meaning it's the same), due to a first test today i can confirm it's also working with the RX-16-DR pro M-LINK receiver (currently only with 7 channels mapped).
I am also trying to check if i can add support for MSB meaning telemetry support.

Due to the fact that i am doing this im my spare time and i have never dived into the protocols of Multiplex before i can't give you a timeline but i'm on it.

I'll give feedback the next days and weeks. You can also find me nearly daily on freenode at #cleanflight channel.
Bye
Björn

@Fly3Fan
Copy link
Author

Fly3Fan commented May 11, 2015

Hi,
just tested with RX-7 M-Link and RX-9 DR M-Link (both software updated + SRXL enabled).
Both not working via SRXL on naze32 ? :-(
Checking over and over agian I found the mistake: In the manual it says for CPPM connect signal on pin 1 (which I followed)
But like Paul wrote it needs to be pin 4 !
Now it works :-))

@hydra hydra changed the title Add support Multiplex SRLX Serial RX RX - Add support for Multiplex SRLX May 15, 2015
@drone-zone
Copy link

First of all I want to thank Paulraaf for his great summary of needed steps to get XBUS going, that confirms what I have been trying lately. Also a big thank you to everyone else participated in the implementation of X-BUS. Great job!

Here comes my question, though: I am trying to get a Jeti Receiver talk to Cleanflight over the UDI protrocol (which equals X-BUS Mode B). I am using the latest CF version together with a CC3D board. I have tried the described steps above. Nevertheless, no luck so far. Am I assuming correctly that the signal has to go in to PIN 5 on the RX-Panel having Soft-Serial activated on the CC3D? Or do I have to use Flexi or Main-Port?
Another connected questions would be: Will there still be OneShot125 support when using a serial receiver on CC3D? In OpenPilot software (GCS) it reads as if OneShot125 only would work when using PPM input on RX Pin 8. I could not figure out yet, if that's an limitation of OpenPilot software or the board itself.

Appreciate your input! :)

@paulboes73
Copy link

Everyone I'm having similar problems getting xbus in mode b working, and my radio is a JR XG14 with xbus set to mode "B" in the transmitter. Firmware on the Naze32 board is 1.9 and running CleanFlight. I've tired to set it through the GUI and through the CLI and it doesn't seem to work for me. All I get is dead sticks on the receiver tab. Now I use xbus mode b on all my heli flybarless gyro systems with no issues, but I can't seem to get it working on my Naze32 board. Any help would be appreciated.

@paulboes73
Copy link

I have xbus mode b working in my JR XG14, but there are channels that are wrong. When I move my throttle channel Aux1 moves. When I move Yaw my Pitch channel moves. Can you change the channels manual in Clightflight. The channel map is set to TAER1234 which is for JR, Spektrum, and Graupner.

@paulboes73
Copy link

Problem resolved now and everything is working on my JR XBUS receiver. The final step I had to do is go into CLI and use the map command to map the channels for JR.

Command Line: map AER1T234
This fixed my problem with the incorrect channels for JR.

@Fly3Fan
Copy link
Author

Fly3Fan commented Jan 5, 2016

Hi,
I succeeded with SRXL via PIN4 (using an Skyline32 Mini) and RX-7-DR MLINK).
Now I would like to add an OSD but there is no RX/TX separated on this Mini board. How can I configure that via UART or SOFTSERIAL? Pleas help!

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

No branches or pull requests

8 participants