- Posts: 1893
PXX protocol
- hexfet
- Topic Author
- Away
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
Firmware on the R9M / R9Slim is the latest LBT FW (181228)!
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
Where are you picking up the s.port signal, bottom JR pin or Rxd?
Do you have an FTDI, logic analyzer, or scope that you could use to check the s.port signal?
Missed your earlier question about power levels. The highest four deviation Tx power settings are mapped to the four R9M power settings. The lowest setting (100uW) activates range test, but use the Range test in the transmitter menu instead.
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
Attachments:
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
Not sure about F4 power setting. Will take a look.
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
The day before yesterday i flashed my r9m to the newest firmware, so i can invert the signals, now i want to flash the flex one but it doesn't recognize the R9 / R9M! -.- with a Minim OSD works fine (switched back to uninverted).
If that works flawlessly I will try to look for the S.port signal!
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
It's not clear from the information I have whether the relationship between power and telemetry in the EU code is implemented in the R9M or in the tx. I didn't see anything in opentx to suggest it's done in the tx, but also the protocol has separate controls for power and turning off telemetry. Need some experimentation here. For the FCC firmware the telemetry should be on at all power levels unless turned off in the protocol options. There is a note in the EU manual for R9M that the receiver should be re-bound after changing between telemetry and non-telemetry power settings.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
Is Telemetry working for you?
With latest EU LBT Version there are only 0´s! (Bound at 30mw/9-16/EU with Telemetry enabled).
Maybe i need to find the Settings what are equal to Frsky´s 1st Power Setting, there is Only 1 Setting with Telemetry? (The 1st One)
(Picture from the EU-Manual)
Currently i am unable to Flash the Flex Firmware on my R9 / R9Slim because of my stupid FTDI/Cable/Computer/Don´t Know so i can´t Test that!
Attachments:
Please Log in or Create an account to join the conversation.
- aMax
- Offline
- Posts: 776
Fernandez wrote: I can confirm that at the time power settings worked perfectly with R9M Flex firmware and set to EU mode.
Flex firmware has no EU mode (known as LBT). This is pure FCC mode but with the additional EU frequence (868Mhz).
Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Flex Firmware => set EU = 868 no LBT, set FCC no LBT
EU Firmware => 868 yes LBT
FCC Firmware => 915 no LBT (=Equal to Flex firmware set to US ?)
So maybe better to write in the menu 868Mhz or 915Mhz ?
I am going to flash Hexfet latest build now. And as I understand 1 wire to run in the T8SG Plus V2 to connect to Uart Rx pin.
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
row 1 100d 4.49V
row 2 large nr 1-2-3-000200,doesnot fitthe cell (1-2-3,rotating nr)
row 5 0%
row 6 middle field 4.40V
row 7 middle and 0A 3rd field 0D
all other field are yellow.
Edit: I am connected over Fport, to and betaflight controller just at the USB port, the 4.40V,is the same as Vbat reported in betaflight.Yes Vbat is correct, changing the scale factor in betaflight changes the value accordingly. Sovery good we can have a Vbat lipo alert now!
Please Log in or Create an account to join the conversation.
- aMax
- Offline
- Posts: 776
Fernandez wrote:
snipp
So maybe better to write in the menu 868Mhz or 915Mhz ?
That is what they have done in OpenTX2.2.3 supporting "Flex"
The normal firmware for FCC/LBT is supportet, but you will need a different firmware on the transmitter with no "flex9m" compiler option.
In other words, there are two transmitter firmwares for thesel three R9M firmware options.
Devo7e, TaranisQ X7, R9M , 4in1 MM, Futaba FC18plusV3.2 & DFT/FLD-02
Please Log in or Create an account to join the conversation.
- KampfGurke
- Offline
- Posts: 17
With that Firmware i don´t have Telemetry, also Connected over F.Port !
... Ah my FTDI is working again (made a new Frsky Flash Cable) don´t know why ... currently i flashing the R9M to the Flex Firmware!
If the R9 Slim is done i'm curious if there is some Telemetry Signal! If not i will try to log!
I Wire the Bottom JR Pin to the RX pin of the FTDI, right?
But just a stupid Question, which Program should i use to Capture that Data from the FTDI?
Edit: The Flex Firmware supports Telemetry with all Power levels, i think with that i will see that values on my Devo 10.. there is nothing to do wrong .. 1 cable to the top JR Pin 1 to Bottom 1 to GND ... ?!
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
That's good news The latest nightly should work the same.Fernandez wrote: Can't find the test builds anymore however I can confirm,that yes adding the Rx uart wire lowest pin, yes telemetry runs! (still on bb9abb6)
Looking at the s.port section on this page I think these all make sense. The row 5 and 7 values are 0 because there's no current sensor but betaflight is still sending these telemetry parameters. In the row 2 TEMP1 telemetry value betaflight puts a flight mode value that is never less than 10000, which might be the cause of the rotating display value since deviation tries to interpret it as a temperature. Need to think about how best to handle this.Fernandez wrote: row 1 100d 4.49V
row 2 large nr 1-2-3-000200,doesnot fitthe cell (1-2-3,rotating nr)
row 5 0%
row 6 middle field 4.40V
row 7 middle and 0A 3rd field 0D
all other field are yellow.
Edit: I am connected over Fport, to and betaflight controller just at the USB port, the 4.40V,is the same as Vbat reported in betaflight.Yes Vbat is correct, changing the scale factor in betaflight changes the value accordingly. Sovery good we can have a Vbat lipo alert now!
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
Interesting. Seems like the Flex firmware gives EU users the option of avoiding LBT limitations while being a little closer to compliance by using the right frequency. And non-EU users have the 868MHz option. There's a note on the Frsky site in the Flex Firmware section "*Note: Please use Flex firmware according to the RC regulation of local area.". Need to investigate to see if changes to the protocol options might be an improvement.aMax wrote:
Fernandez wrote:
snipp
So maybe better to write in the menu 868Mhz or 915Mhz ?
That is what they have done in OpenTX2.2.3 supporting "Flex"
The normal firmware for FCC/LBT is supportet, but you will need a different firmware on the transmitter with no "flex9m" compiler option.
In other words, there are two transmitter firmwares for thesel three R9M firmware options.
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
Yes, bottom JR pin has the s.port signal. Use program FT_Prog to invert RX signal if your FTDI device supports it.KampfGurke wrote: I Wire the Bottom JR Pin to the RX pin of the FTDI, right?
But just a stupid Question, which Program should i use to Capture that Data from the FTDI?
I use both Realterm and Teraterm. They both work.
PXX (top JR pin) to trainer connector tip.KampfGurke wrote: Edit: The Flex Firmware supports Telemetry with all Power levels, i think with that i will see that values on my Devo 10.. there is nothing to do wrong .. 1 cable to the top JR Pin 1 to Bottom 1 to GND ... ?!
S.Port (bottom JR pin) to trainer connector ring.
Ground (next to bottom JR pin) to trainer connector sleeve.
Please Log in or Create an account to join the conversation.
- joeclone
- Offline
- Posts: 98
Please Log in or Create an account to join the conversation.
- hexfet
- Topic Author
- Away
- Posts: 1893
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- PXX protocol