Jumper T8sg and E010s flysky AFHDS = latency

More
12 Oct 2017 20:52 - 13 Oct 2017 00:15 #65003 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFSDH = latency
I replaced the 4-in-1 module, and it's working perfectly now ...
I don't think we can do anything in firmware, I'll tell dc59 to have a look at this thread and explain Jumper what's happening.
I think the problem is that the 4-in-1 module is not using a +/-20ppm +/-10ppm accuracy crystal for the A7105.

Stock module removed (I hate lead free solder, that required 400°C hot air) :


Stock module :


New module installed (it has 1 less pin, nrf24l01 CE, but this has no importance ...) :


edit: according to the datasheet, a +/-10ppm crystal is required when the Rx does not use frequency compensation, which is probably the case of flysky Rx clones.
Last edit: 13 Oct 2017 00:15 by goebish.

Please Log in or Create an account to join the conversation.

More
12 Oct 2017 21:25 #65005 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFSDH = latency
Here's a FFT with the replaced module:


It's not perfectly centered on 2405 either, but it has ~30 kHz less drift than the stock one, I'm not sure that was the issue, but replacing the module has fixed the problem anyway ...

Please Log in or Create an account to join the conversation.

More
12 Oct 2017 21:42 #65006 by fredbotton
Replied by fredbotton on topic Jumper T8sg and E010s flysky AFSDH = latency
Ok, so first batch A7105 is faulty, but next one with moved microUSB is ok, right?

Please Log in or Create an account to join the conversation.

More
12 Oct 2017 21:45 - 12 Oct 2017 21:57 #65007 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFSDH = latency
No idea, that's too soon to draw a conclusion, I rather think they're still using the same module, therefore that's just luck.
Last edit: 12 Oct 2017 21:57 by goebish.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 12:10 #65026 by Bug
my T8SG arrived yesterday an I got a version with hidden usb.
So from this thread I concluded it's an"old" version, but they seem to still deliver them, I had to wait some time for it, it's the latest from China.

Are there any clues, that can differentiate a newer version ?

I've bound it with an eachine racer 130 with an old AFHDS receiver and I don't see any lag.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 13:01 #65032 by vlad_vy
Replied by vlad_vy on topic Jumper T8sg and E010s flysky AFSDH = latency
USB position, all other is same.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 13:07 - 13 Oct 2017 13:08 #65033 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFSDH = latency
I think that's just a matter of (bad) luck for now, if you can bind to and control all your aircrafts you shouldn't be concerned :)
Last edit: 13 Oct 2017 13:08 by goebish.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 13:12 - 15 Oct 2017 22:32 #65035 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFSDH = latency
And maybe (probably) the Rx in the E010S is at fault too, let's say its firmware does not use frequency compensation (that's probably the case...) and it also has an inaccurate crystal oscillator that drifts in the opposite direction ...

edit: confirmed, this can happen even with genuine flysky / turnigy AFHDS transmitters:
www.rcgroups.com/forums/showthread.php?2...mode%29#post36430221
Last edit: 15 Oct 2017 22:32 by goebish.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 18:47 #65042 by Bug
I've spent the afternoon binding and flying a lot of my stuff. I don't see any issues with the old AFHDS (1) receiver nor with two other eachine AFHDS 2 receivers.

I hoped to find a production date somewhere, but the only hint is the 0ac6094 firmware which maybe arrived in May and is the same on all current models.

My mainboard looks exactly the same as yours on the photos which is strange, because banggood is posting them as soon as they get them. The usually don't have dated stock.
There are no hints on the rf module to see if it's another batch.

Thank you for your infos, they helped a lot.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 20:27 - 15 Oct 2017 22:10 #65045 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
Good news AlbE & Fred, I think I was right when I was pointing out the frequency drift (110 kHz) of the "bad" module was the culprit:
I found a way to fine tune the A7105 Tx frequency (registers 0x11, 0x12 & 0x13: LO base frequency), I was able to set it to the same drift than the defective other module and reproduced the issue !
Now let me code something that's more user friendly to fine tune the frequency (as with cc2500 protocols) then it might fix your problem !
Last edit: 15 Oct 2017 22:10 by goebish.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 21:17 #65047 by Bug
Hero. That's great. Thank you.

Please Log in or Create an account to join the conversation.

More
13 Oct 2017 23:10 - 14 Oct 2017 12:57 #65048 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
Here's a test build with a new Flysky protocol option: Freq Tune
Use it to adjust the A7105 LO base frequency, it can be fine tuned from -200 to +200 kHz, that should be enough ...
The best setting has to be found manually, as this is a 1 way protocol there's no way to auto-tune.

Firmware for T8SG, you only have to flash the .dfu with devention DfuSe Upgrade Tool:
www.dropbox.com/sh/mw7ltu27dvr69o2/AACLP...FaAaUqXRqNWSzHa?dl=0

And as a bonus, a video for AlbE & Fred that explains how to fine tune, in french ;)

Please report !
Last edit: 14 Oct 2017 12:57 by goebish.

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 08:25 #65051 by AlbE
Thanks Goebish for all your work and research

Do you have a link in order to have some explanation about DfuSe Upgrade Tool ? I never use it

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 10:43 #65053 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
You can take a look at SeByDocKy's tutorial:

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 15:42 - 14 Oct 2017 15:44 #65055 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
Note that if you still were on factory firmware you'll have to (un)reverse aileron & rudder channels for all your existing models after updating.
Last edit: 14 Oct 2017 15:44 by goebish.

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 16:12 - 14 Oct 2017 16:20 #65057 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
FFT plot with Freq Tune set to -76 on my TX (the one in which I replaced the module for nothing ;)):

It's almost perfectly centered now! Without tuning there was a +80 kHz drift as it can be seen on the previous capture.
Last edit: 14 Oct 2017 16:20 by goebish.

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 17:16 #65058 by Elric
Salut, ton option sera-t-elle présente pour les Walkera Devo xx ?

Hi, will your option be present for the Walkera Devo xx?

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 17:18 #65059 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
If AlbE & Fred confirm that it fixes the problem, yes.

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 18:50 #65061 by Gerald
Bonjour Goebish, j'ai essayé ton dernier firmware, ça arrange les choses mais il y a toujours une petite latence (je suis à -186) et de plus avec ce firmware je ne peux plus utiliser les interrupteurs. J'ai d’ailleurs récupéré mon ancien fichier de modèle pour le E010S mais il ne fonctionne plus après la mise a jour du firmware, j'ai du repartir d'un vide. Merci.

Hello Goebish, I tried your last firmware, it arranges things but there is always a small latency (I am at -186) and more with this firmware I can no longer use the switches. I also recovered my old model file for the E010S but it no longer works after the firmware update, I had to start again from a vacuum. Thank you.

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 18:57 - 14 Oct 2017 19:04 #65062 by goebish
Replied by goebish on topic Jumper T8sg and E010s flysky AFHDS = latency
Do you feel you'd need more range ?
I can do it though I think that +/-200 kHz is already a lot. I mean that if you really need a 200 kHz drift then it wouldn't bind at all without tuning in the first place ...

Regarding switches, I don't know, they're working fine on my end, I used vlad's source code for T8SG, maybe they have been renamed compared to the factory firmware.
Last edit: 14 Oct 2017 19:04 by goebish.

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum