LibrePilot Forum

Development => Firmware General => Topic started by: Steve J on March 12, 2017, 12:32:07 pm

Title: Spektrum SRXL
Post by: Steve J on March 12, 2017, 12:32:07 pm
Attached are modified pios_srxl.c and pios_srxl_priv.h files that work with Spektrum SRXL.

Tested with an AR7700, should work with the newer (SRXL version A5) Spektrum receivers, will not work with early ones that use a strange checksum.

Steve

Title: Re: Spektrum SRXL
Post by: ernade on October 02, 2017, 04:32:55 pm
Is SP4649T receiver with an older SRXL version?
Title: Re: Spektrum SRXL
Post by: Steve J on October 05, 2017, 08:20:26 pm
As I understand it, Spektrum have three versions of SRXL. None of which is the same as Multiplex SRXL. In all cases, the payload is similar to Spektrum remote receiver.

1) AR9020, nonstandard checksum.
2) AR7700, they got the checksum right.
3) 'T' receivers, for some reason, they decided to reverse the two bytes of the checksum.

Steve
Title: Re: Spektrum SRXL
Post by: TheOtherCliff on October 06, 2017, 12:06:18 am
Hmmm.  Maybe the code could compute all the possible checksums ( / packet structure) and say "OK" (for that structure) if any checksum passes.
Title: Re: Spektrum SRXL
Post by: Steve J on October 06, 2017, 09:28:46 pm
The attached pios_srxl.c works with both an AR7700 and a 'T' receiver (an AR8010T). The pios_srxl_priv.h remains as my March post.

Steve
Title: Re: Spektrum SRXL
Post by: Steve J on October 06, 2017, 09:31:52 pm
Is SP4649T receiver with an older SRXL version?

The SPM4649T outputs Spektrum remote receiver not SRXL.

Steve