NotFastEnuf / NFE_QUICKSILVER

Quadcopter firmware for stm32f4
MIT License
12 stars 1 forks source link

FLYSKY spi rx support #7

Open NotFastEnuf opened 3 years ago

NotFastEnuf commented 3 years ago

Quicksilver is missing this.

sakitume commented 3 years ago

I may be able to help with this. I have AFHDS/AFHDS2 working on an F4 version of Silverware running on a MATEKF411RX target. I used Betaflight source code to accomplish this:

https://sakitume.github.io/SilverLite-FC/Targets/#matekf411rx https://github.com/sakitume/SilverLite-FC/tree/master/SilverLite/rx_afhds2a

There may be issues in using Betaflight source code as it uses GPL license while we are using MIT license. I could always re-implement using new code, but using Betaflight code made things go much faster.

AFHDS is a very low latency protocol (in theory). Packets are sent every 1500us (https://github.com/sakitume/SilverLite-FC/blob/ef514860d0127ea2a2f556aacda89794be646a3d/SilverLite/rx_afhds2a/afhds2a.c#L110)

bkleiner commented 2 years ago

@sakitume such a contribution would be most welcome, however we should probably do so in the upstream repository. A re-implementation with quicksilvers structure in mind would be preferable.