PXX work

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

There is a small gain as it only takes about 3mS to send all 8 channels to a XJT module using PXX instead of the full (up to 16mS) the the channel data of a PPM frame.
My current implementation is sending this every 18mS.
I'm trying to get test versions, with PXX for the XJT, ready to post.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
tilmanb
Posts: 347
Joined: Thu Oct 11, 2012 9:36 pm
Country: Germany
Location: Karlsruhe, Germany

Re: PXX work

Post by tilmanb »

Am I right in assuming that PXX is bi-directional?
Or is there still a separate serial line for telemetry with the new Taranis modules (XJT or internal)?

I would even thing that PXX and S.Port are electrically the same?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

They are separate. PXX is for the control data to the module, one direction only. The SPort is bi-directional for both receiving the telemetry data and sending commands to the sensors on the receiver.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
tilmanb
Posts: 347
Joined: Thu Oct 11, 2012 9:36 pm
Country: Germany
Location: Karlsruhe, Germany

Re: PXX work

Post by tilmanb »

Thanks
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

This thread has gone stone cold, any new updates on PXX?

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PXX work

Post by Kilrah »

It's been implemented in all versions of ER9X and on the Taranis version of OpenTX months ago. Other boards for OpenTX still pending. It's only supported by the new XJT module.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PXX work

Post by jhsa »

Kilrah wrote: It's only supported by the new XJT module.
What a shame, Frsky told me they would release an update for the D series modules a while ago.. But obviously they didn't say when.. So, I wouldn't count on it as it could be tomorrow or in 30 years.
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

Do you guys know if there will be any FW updates for model match on non-x8 receivers? I really like that feature and would be nice having it. Another thing, you mention update for the D series, didn't Mike have his DJT working with PXX?
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PXX work

Post by jhsa »

Yes he did. When pxx was being developed.
I won't buy receivers for all my planes a second time, so if they don't release an update for the module and.probably receivers, I will stock on D series receivers before they disappear. I guess that as soon as all the x series receivers are being produced they will discontinue the D series.

Sent from my GT-I9195 using Tapatalk
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

I actually need PXX for helicopter flying, Kilrah informed me of the latency advantage I would obtain which is great. Do any of you know whats the latency on stock 9x transmitter? Maybe I should just chase a taranis down and get full advantage.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

er9x supports the XJT module (using PXX). This supports using 'D' series receivers, while still using PXX to 'talk' to the module.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PXX work

Post by jhsa »

Yes Mike, that is great. but it would mean scrapping the 3 modules I already own and buying new ones.. it would be nice if we could update them.. :)
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

I have a XJT which "works" on PXX with V8RF-II receiver. Do you mean I wont have the latency advantages of PXX with this receiver?
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PXX work

Post by Kilrah »

As long as you have an XJT and it is driven by PXX you have the latency advantage with ALL compatible receivers. What you don't have with a V8FR-II or D series is model match and remote failsafe setting as that only works in D16 mode (with X series receivers).
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

Ok thanks again Kilrah for confirming that, do you know what the latency is on a stock 9x and the the latency on a 9x with er9x running pxx?
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PXX work

Post by Kilrah »

Test I had done with an FrSky module with PXX vs PPM showed it was about halved (~30ms instead of 60ms).

No idea about the stock FlySky module.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

I think I need to do a change at some point. I'm sending 16 channels over PXX. I should probably send only 8 channels if in D8 mode.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

Would that lower the latency even more Mike?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

Most likely, 8 channels are sent to the module every 9ms. In D16 mode this alternates between channels 1-8 and 9-16. In D8 mode I'll always send channels 1-8, so the latency should reduce (by 9ms I think).

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

I will test one of my helis in PXX and see the difference, I hope you can make those changes Mike, lower latency is almost a must when you are trying 3D.
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

MikeB wrote:I think I need to do a change at some point. I'm sending 16 channels over PXX. I should probably send only 8 channels if in D8 mode.

Mike.
When I do D8 mode I would only use 8 channels, am I correct? Do you see yourself doing this change soon?
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

Re: PXX work

Post by Rob Thomson »

D8 MODE is needed for all older D series receivers.

You are limited to 8ch.

If you gave he new receivers... You can use up to 16.

Sent from my GT-I9300 using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

volumax wrote:Do you see yourself doing this change soon?
The change for D8 mode is in for the next revision. A test version of th next revision is here: viewtopic.php?f=5&t=4598#p64969.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
FlyByTheGrace
Posts: 13
Joined: Sun Aug 25, 2013 2:45 pm
Country: -

Re: PXX work

Post by FlyByTheGrace »

Hi Guys,

I am trying to set up my 9x at present for use with my Quad and APM 2.5 FC.
I am running Er9X FrSky NOHT r809
I have just become aware of PXX. I have tried to read thru the various posts about it but I am not getting it. What does it do???
The unzipped PXX file and there are two files in it,

>>fdd_tx_rev2_build110314.frk<< for the Rx, and >>er9x.frk<< for the Tx module correct?
At present:
I have no need of more than 8 channels at present though I would like to have my D8RII+ outputting cppm so that there is only one signal wire connecting the Rx to the FC to cut down on possible vibration transmission but of course that involves FW meant for the XP and then there is D8R-XP_CPPM_27ms for that.
So how does PXX fit into the picture? Perhaps it is bit too advanced for my current experience level, I am not sure....

I am conversant in using my FTDI to flash both my DJT and D8RII Plus and I thought I was up to date.
I have completely upgraded my 9X with the SmartieParts SPB the TelemetrEZ module the backlight and I am about ready to install a six position switch to try a different way of arriving at Flight Modality in Arducopter

Would somebody be so kind as to give me the low down on PXX?

>>>EDIT from an hour later>>>>>Found this quote on another thread for "New in ER9x and eePe" It's essentially a PCM code that allows for advanced functions like Model Match, More than 8 channels (you can transmit to as many as 125 different rx at the same time!), low latency and failsafe."
Could someone explain model matching and and the difference in the latency it affords one. And the bit about the Failsafe matter" EDIT<<<

Thanks and Regards to all
Chris
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PXX work

Post by MikeB »

PXX is used by the XJT module and most of the gains are only available if you also use a X8R receiver. FrSky were supposed to be providing firmware for the DJT module to support PXX, but it didn't happen.

So the quick answer is PXX does NOT work with a DJT (or DHT) module. You can use a XJT module with a D8RII Plus, and use PXX as the protocol to the XJT module, but the D8RII Plus cannot do model match etc. You would gain in latency as er9x sends control data to the XJT every 9mS, instead of a PPM frame of 22.5 mS.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

So Mike with this test version we are supposed to have a latency of 9ms?
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PXX work

Post by Kilrah »

Refresh rate, not latency.
Iksbob
Posts: 121
Joined: Wed Dec 28, 2011 1:06 pm
Country: -

Re: PXX work

Post by Iksbob »

Kilrah wrote:Refresh rate
... Which affects latency. Latency is the time delay between moving a stick on the controller, and the corresponding servo(s) moving on the model... End-to-end lag. Refresh rate is how often updated channel-state information is sent from the transmitter CPU to the receiver CPU over the radio link. Since channel information has to wait for its turn in the update queue (which is sent out every 9ms in this case), refresh rate plays a significant role in latency but does not represent the entire value of latency. There are additional delays (latency) in the radio firmware (openTX, er9X, etc.), data processing in the TX module and RX hardware, decoding by the RX CPU, and even from the drivers in the individual servos or ESCs. Reducing delays in any of these areas will improve overall latency, though depending on the other components in your system (such as analog servos, which update every 17ms) such improvements may not be apparent.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PXX work

Post by Kilrah »

Yes of course, but he said 9ms latency, which is why I corrected. Most people confuse the 2 and when they read 9ms frame rate they think end to end latency is 9ms.
volumax
Posts: 210
Joined: Tue Feb 12, 2013 12:21 pm
Country: -

Re: PXX work

Post by volumax »

So do you guys have any idea what the total latency would be using the XJT module on PXX with the changes Mike did on er9x?

Post Reply

Return to “er9x”