XK Protocol Question

More
25 Feb 2016 13:42 #43610 by dc59
Replied by dc59 on topic XK Protocol Question
Hi victzh,

Here comes SF700S top & bottom picture,hope it could help.





Attachments:

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

More
25 Feb 2016 17:37 #43633 by victzh
Replied by victzh on topic XK Protocol Question
Thanks, it helps! It is very accessible design, lots of room to solder.

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

More
17 Mar 2016 06:00 #44695 by victzh
Replied by victzh on topic XK Protocol Question
Check out Builds sub-forum, I put versions for Devo 7E and Devo 10 there.

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

More
18 Mar 2016 09:41 #44780 by cewece
Replied by cewece on topic XK Protocol Question
Thousand thanks, I hope I manage to test it the next weeks. Has anybody tested this and can give feedback?

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

More
18 Mar 2016 11:27 #44785 by Babay
Replied by Babay on topic XK Protocol Question
I tested XK K110 and XK K120 - a great result, everything is working!

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

More
18 Mar 2016 21:05 #44801 by jimqjp
Replied by jimqjp on topic XK Protocol Question

victzh wrote: Check out Builds sub-forum, I put versions for Devo 7E and Devo 10 there.

Many, many thanks to you, and all others contributed to the project!!!!.

May be I missed, I am not able to find source of the CC2500 module used in TX, can you please post again?

I have a BNF K110, waiting for a working radio.

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

More
18 Mar 2016 21:27 #44804 by victzh
Replied by victzh on topic XK Protocol Question
eBay, Banggood, whatever is better for you. E.g. www.ebay.com/itm/CC2500-PCBA-2-4GHz-Wire...c:g:mt8AAOSwFNZWzB5M or www.ebay.com/itm/New-CC2500-PA-LNA-Romot...6:g:g8gAAOSwHPlWcXME . They both need an antenna, the second one has U.FL on it, the first one requires soldering.

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

More
18 Mar 2016 21:28 #44805 by jimqjp
Replied by jimqjp on topic XK Protocol Question

Babay wrote: Today I received CC2500 module, and will install it into Devo transmitter. It is unfortunate that Futaba S-FHSS protocol has not yet been implemented. Dear developers, please help to implement the protocol. This would allow to use of high-quality receivers through S.BUS. And many people will be able to tell: Thank you very much!


Can you please share the source and the picture in your TX?

Thank you!!!

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

More
18 Mar 2016 21:36 #44806 by jimqjp
Replied by jimqjp on topic XK Protocol Question

victzh wrote: eBay, Banggood, whatever is better for you. E.g. www.ebay.com/itm/CC2500-PCBA-2-4GHz-Wire...c:g:mt8AAOSwFNZWzB5M or www.ebay.com/itm/New-CC2500-PA-LNA-Romot...6:g:g8gAAOSwHPlWcXME . They both need an antenna, the second one has U.FL on it, the first one requires soldering.


Thank you victzh! The second one looks better, it has a shield. The first one has more Max TX power (22 vs. 17 dbm).

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

More
18 Mar 2016 21:58 - 18 Mar 2016 22:00 #44807 by Babay
Replied by Babay on topic XK Protocol Question

jimqjp wrote: Can you please share the source and the picture in your TX?

Pictures, diagram and link for source present in my blog . Sorry, the text in Russian. But now, this module is not available.
Last edit: 18 Mar 2016 22:00 by Babay.

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

More
18 Mar 2016 22:57 #44808 by victzh
Replied by victzh on topic XK Protocol Question
Man, but what you write in your blog is not totally the truth. You write: "It appears the developers were not aware about cheaper Futaba alternatives. Only recently thanks to coordinated efforts we pointed developers to cheaper XK Innovations models".

It's just not true. I started hunting XK Alien X250 as soon as it was announced that it would be Futaba S-FHSS compatible, which later appeared not to be true. Only recently actual S-FHSS models with transmitter were available. When I learned of it, not from you, by the way, I immediately bought it with my own money, and also bought Orange S-FHSS receiver and started reversing it. So, I don't like this condescending tone.

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

More
19 Mar 2016 02:40 #44816 by jimqjp
Replied by jimqjp on topic XK Protocol Question
Babay, thank you, the blog is very helpful.

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

More
09 Apr 2016 22:30 - 10 Apr 2016 03:41 #46232 by jimqjp
Replied by jimqjp on topic XK Protocol Question
Finally, I received a blue CC2500 module from BG

www.banggood.com/CC2500-PA-LNA-Romote-Wi...F24L01-p-922595.html

BG does not carry another kind, which has a few dbm more power, anymore.

This is a connection picture works for my 7E (step 1).
static.rcgroups.net/forums/attachments/5...7E-CC2500-Mod_01.jpg

There are more info here for the installation.
www.rcgroups.com/forums/showthread.php?t=2462580

Replaced a a7105 module in my 7E with this one, I have not played V911 for a long time anyway. Really wish I could have another spare pin for this one.

Thanks again for great contribution of Victzh and others, the protocol works smoothly.

Here are the channel info may help:

ch1 - AIL
ch2 - ELE
ch3 - THR
ch4 - RUD
chr5 - 6axel / 3D
ch6 - pitch
Attachments:
Last edit: 10 Apr 2016 03:41 by jimqjp.

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

More
09 Apr 2016 22:51 - 10 Apr 2016 03:39 #46234 by jimqjp
Replied by jimqjp on topic XK Protocol Question
The power setting for CC2500 seems not correct.

I found that my 7E uses 180mA for all CC2500 settings but the very first one (0.3mW). Then I checked the code.

The power is set in this function:

void CC2500_SetPower(int power)
{
const unsigned char patable[8]=
{
0xC5, // -12dbm
0x97, // -10dbm
0x6E, // -8dbm
0x7F, // -6dbm
0xA9, // -4dbm
0xBB, // -2dbm
0xFE, // 0dbm
0xFF // 1.5dbm
};
if (power > 7)
power = 7;
CC2500_WriteReg(CC2500_3E_PATABLE, patable[power]);
}

The power level we need should be
TXPOWER_100uW, -10 dbm
TXPOWER_300uW, -5.22 dbm
TXPOWER_1mW, 0 dbm
TXPOWER_3mW, 4.7 dbm
TXPOWER_10mW, 10 dbm
TXPOWER_30mW, 14.77 dbm
TXPOWER_100mW, 20 dbm
TXPOWER_150mW, 21.76 dbm

The amplifier of the module adds about 20dbm power. So the CC2500 setting should be about -30 dbm to 0dbm.

Based on the datasheet, the power table in this function should be like this:

const unsigned char patable[8]=
{
0x50, // -30dbm TXPOWER_100uW, -10 dbm
0xC0, // -26dbm TXPOWER_300uW, -5.22 dbm
0x46, // -20dbm TXPOWER_1mW, 0 dbm
0x55, // -16dbm TXPOWER_3mW, 4.7 dbm
0x97, // -10dbm TXPOWER_10mW, 10 dbm
0x7F, // -6dbm TXPOWER_30mW, 14.77 dbm
0xFE, // 0dbm TXPOWER_100mW, 20 dbm
0xFF // 1dbm TXPOWER_150mW, 21.76 dbm
};

Now my radio current changes from 120mA to 180mA with the power level settings.
Last edit: 10 Apr 2016 03:39 by jimqjp.

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

More
24 Jun 2016 06:39 - 24 Jun 2016 06:43 #51024 by john
Replied by john on topic XK Protocol Question
Can not believe rx sf700s is very simple and component cheap

Can you try to read hex file from stm8 with a Stlink , dc59 ? Good luck
Last edit: 24 Jun 2016 06:43 by john.

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

More
24 Jun 2016 08:30 - 24 Jun 2016 08:32 #51026 by dc59
Replied by dc59 on topic XK Protocol Question

john wrote: Can not believe rx sf700s is very simple and component cheap

Can you try to read hex file from stm8 with a Stlink , dc59 ? Good luck


How to wire my ST-Link to SF700S to read HEX file? :unsure:
Last edit: 24 Jun 2016 08:32 by dc59.

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

More
24 Jun 2016 09:46 - 24 Jun 2016 09:47 #51027 by john
Replied by john on topic XK Protocol Question

dc59 wrote: Hi victzh,







Have 4 pad soder at bottom pcb , that is Reset , vcc (3v3) gnd , swim . Connect them to Stlink usb and use Stlink unity same Goesbish did
Last edit: 24 Jun 2016 09:47 by john.

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

More
24 Jun 2016 23:26 - 24 Jun 2016 23:35 #51046 by john
Replied by john on topic XK Protocol Question
Woa woa ... I had successful ,I borrowed rx my friend, I read firmware ok from stm8 , maybe lucky because it not protected . ;)
Load firmware again , it work normal :woohoo:
Last edit: 24 Jun 2016 23:35 by john.

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

More
25 Jun 2016 00:25 - 25 Jun 2016 00:36 #51047 by dc59
Replied by dc59 on topic XK Protocol Question
I can't connect my SF700S to ST-Link and now I got problem, my SF700S can't work! :(

Dose pin order from left to right at bottom side Reset , vcc (3v3), gnd , swim correctly?
Last edit: 25 Jun 2016 00:36 by dc59.

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

More
25 Jun 2016 01:24 - 25 Jun 2016 01:24 #51048 by john
Replied by john on topic XK Protocol Question

dc59 wrote: I can't connect my SF700S to ST-Link and now I got problem, my SF700S can't work! :(

Dose pin order from left to right at bottom side Reset , vcc (3v3), gnd , swim correctly?


Omg , I'm sorry for this :(
Reset , gnd , vcc, Swim . Hope stm8 not burn .
If it bad , I will send you file bin to load firmware . But you have to replace new chip st8
Last edit: 25 Jun 2016 01:24 by john.

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

Time to create page: 0.153 seconds
Powered by Kunena Forum