New FrSkyX protocol
- Cereal_Killer
- Offline
sfersystem wrote: I bridged the rx and tx pin from my F303 V3.1 and connected to smartport of the xsr...
i forget something ?
You only bridge the pins using softserial, you're using a hardware serial port (UART3) so you only need the TX pin. Most likely yours doesn't work cause you need to make sure you enable SET telemetry_inversion=ON in the CLI and enable telemetry (in general) under the main page GUI setup, then you must setup your port under the PORTS tab.
Personally I run (and recommend you do to) S.Port telemetry on softserial, no need to waste a HW UART for that. In this instance [using softserial] is when you bridge the RX and TX pins on the FCB, again using UART3 like you are you only use TX.
All this info is found in the cleanflight documentation on the telemetry page and IMO is one of the clearest parts of all the docu! It'll walk you step-by-step with the exact CLI commands and wiring and everything.
Edit: I recommend you follow the section titled "SmartPort on F1 and F3 targets with SoftSerial"
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
Please Log in or Create an account to join the conversation.
- sfersystem
- Offline
- Posts: 124
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
You may want to change the RSSI calculation on deviation FrskyX.
We(in fact Mike B.) came out with a better calculation of RSSI on multiprotocol FrskyX telemetry.
*********************************************
if(pktt[4] & 0x80)//yes Bit 7
rssi=pktt[4] & 0x7F ;
else
RxBt = (pktt[4]<<1) + 1 ;
******************************************************
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
I've tested with my XSR and interpretation of the MSb and RSSI works fine. I've pushed that change. But to get the correct receiver voltage display in deviation the battery voltage still must be interpreted as hundredths of volts (i.e. pkt[4]==36 means 3.6 volts) to get the correct displayed value. I tested with XSR supply voltages from 3.6 to 8.4.
I see the DIY multi code is reporting the RxBt value with s.port application id 0xf104. The s.port documentation I have does not have any info on the units or interpretation of that id so I would guess the code you show is correct for that application. If you have a link to where this was discussed I'd like to read that.
Please Log in or Create an account to join the conversation.
- midelic
- Offline
- Posts: 174
For Devo you may do your own calculation...I was pointing highlighting only RSSI problem The RSSI values on Devo where too high and not real..
Please Log in or Create an account to join the conversation.
- sfersystem
- Offline
- Posts: 124
midelic wrote: The RSSI values on Devo where too high and not real..
+1
I've lost signal 3 times and crashes with a RSSI about 75 db, I assumed that it came from there without being totally sure
Can you tell us when nightly with modification is available ?
Edit : Think it's done now.
Thx for help and the good work.
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I tried the bind process as described in the FrSky XM+ manual several times but I cannot get the receiver to bind. Basically,
I select FrSkyX in Menu Setup, click on the bind button in Menu Setup, then keep the bind button on the receiver pressed while powering it up. All I get is a blinking red light rather then the flashing green and solid red.
What am I doing wrong?
Thanks!
Please Log in or Create an account to join the conversation.
- Cereal_Killer
- Offline
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
Please Log in or Create an account to join the conversation.
- Gzus11
- Offline
- Posts: 11
I've updated my 7e to deviation 5.0, and up to the nightly from 20th jan. All looks good the current model i had remained boundand responded to the switches. So tonight ill swap the xm+back in and try to bind
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I ended up choosing -60, as it is somewhere in between the min and max. Not sure whether that matters though.
I can confirm that the new FrySky XM+ works fine with the nightly of Jan 20 and the 4in1 mod on a Devo 10. All controls are working great as well as the switches. I also get RSSI on channel 16, which is then displayed in my OSD (Betaflight 3.1 compatible).
I will try to fly it today and see how it behaves. So far, I'm very pleased with the outcome of the mod.
Good job guys with the FrySkyX protocol and thanks for the help.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I flew the quad today... or better, I attempted to fly it. In fact, it did not take off at all. As soon as I got past 25% throttle it began to roll without control on the left side. I had to disarm it in order to stop it.
That happened consistently in the three attempts to made.
The only thing that changed is the receiver on the quad and the 4in1 mod on the transmitter. Everything else was working fine before when I used the original Walkera DSMS module and the Orange RX R620X v2 receiver.
Any idea on what it could cause that and whether there is a way to remediate it?
Thanks
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
The flight controller probably has a similar function to show what's being received on each channel.
Guesses based on my past mistakes:
- Frsky channel order is different than DSM so need to change model file or FC setting accordingly
- Props put back on to wrong motors
Channel scale may also need adjustment due to differences between FrskyX and DSM channel encoding, but unlikely to cause the symptom you describe.
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I did check that in Betaflight yesterday when I setup the quad with the new receiver. It was all working perfectly, main channels and aux channels. I did calibrate the sticks and set the correct endpoints for min, center and max (1000 - 1500 - 2000).Use the deviation channel monitor to check that only the throttle channel is changing when you move the throttle stick.
The flight controller probably has a similar function to show what's being received on each channel.
Guesses based on my past mistakes:
- Frsky channel order is different than DSM so need to change model file or FC setting accordingly
I check the deviation channel monitor today too, when the issue happened and it seems all good to me.
I will definitely recheck it tonight, just to be sure that something has not been messed up by mistake.
That is definitely possible (noob mistake, but it can happen at 3am). I was in a rush today when I did the test, so I missed that check.- Props put back on to wrong motors
Channel scale may also need adjustment due to differences between FrskyX and DSM channel encoding, but unlikely to cause the symptom you describe.
I've done that as part of the model setup on my Devo.
I really hope I put the props in the wrong order
Please Log in or Create an account to join the conversation.
- Gzus11
- Offline
- Posts: 11
I don't have any issue binding in non x frsky receivers, just this xm+
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I tried binding to the xm+again tonight with no success, i will need to test the rx separately with a friends taranis than have another go of is all working.
I don't have any issue binding in non x frsky receivers, just this xm+
This is what I did to pair my FrSky XM+
1. TX off and RX off
2. Power on the TX and go to Model Setup menu > Bind
3. Make sure FrSkyX is selected, then click on FrSkyX and set the frequency to -60 (it appears to work from -10 to -120).
4. Click on Bind
5. Switch on power to RX while pressing the bind button
6. Green RX light flashes once
7. Bind complete
8. Power off RX and TX
When you power on the TX and RX, the RX red light flashes until the green light turns solid.
Note that there is a better way to figure out the optimal frequency as pointed out in a previous post.
Hope this helps.
Please Log in or Create an account to join the conversation.
- Gzus11
- Offline
- Posts: 11
ps i am using a 7e, so i hope the process works the same. i have not had to fine tune my module before using midelics diyfrsky (airwolf) rxs or the hobbykign fr8 nano.
Please Log in or Create an account to join the conversation.
- Omino
- Offline
- Posts: 10
I can confirm that the FrSky XM+ works with Devo 10 and 4in1 mode. I flew my quad today in LOS and worked very well. The issue I had yesterday was indeed a wrong prop mounted on a front motor... I really have to stop working on my quads late at night!
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
but was using test build voice of Moeder (not sure if it is his build or something with CX protocol changed....)
Now I am loading latest nightly I see also behavior RSSI stays low in the past it could easily go over 100 when on the table nearby.
Please any body can confirm he is flying the 20 januari nightly on a racer and got full range?
(and yes some older builds with X protocol I have good range...)
Please Log in or Create an account to join the conversation.
- sfersystem
- Offline
- Posts: 124
midelic wrote: Rxbt calculation in multi is specific Er9x ersky9X.Opentx display,
For Devo you may do your own calculation...I was pointing highlighting only RSSI problem The RSSI values on Devo where too high and not real..
Omino wrote: It should be as it should depend on the receiver.
I can confirm that the FrSky XM+ works with Devo 10 and 4in1 mode. I flew my quad today in LOS and worked very well. The issue I had yesterday was indeed a wrong prop mounted on a front motor... I really have to stop working on my quads late at night!
Same result here, before nightly from 20.01 update i have 107db and now i have not more than 85d, and sometimes at devo10 start i have the message that CYRF6936 or Multimodule missing.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- New FrSkyX protocol