HelloLeFei / sfhss-study

test implementation of Futaba S-FHSS receiver on STM32 with CC2500

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NOTE: This project is no longer maintained.
This firmware codes has been taken over to the other my project rcstick-f. And this codes have several issues regarding the stability of connection.
Please don't use this firmware codes, but refer rcstick-f.

sfhss-study

elflet

This codes are test imprementation of RF receiver which compliant with Futaba S-FHSS protocol. TI CC2500 is used for RF receiver module, and it's controlled by STM32F042K6 microcontroller.
Once data packet sent by Futaba RC transmitter is received, each channel value (up to 8 channels) will be transport to host through USB PHY in STM32F042K6.

This is PoC of rcstick-f.

Futaba S-FHSS protocol

S-FHSS is a 2.4 GHz band based RC transceiver protocol designed by Futaba. It is not brand new protocol, However many Futaba transmitter suport this protolol. And this protocol is well analyzed. That's why I choose S-FHSS for my own receiver imprementation.

This commentary article and this C source code which impremens S-FHSS transmitter are very helpful to understand the protocol. I sincerely appreciate there effort.

Hardware configuration

Utilizing this kind of cc2500 module is ease to build a test bench.
This firmware codes subjects to configure STMF042K6 as below.

  • SPI1 connects to CC2500 SPI pins
  • PA5 connects to CC2500 CSn pin
  • PA8 connects to CC2500 GDO0 pin to recognize packet receiving as IRQ
  • USB D+ and D- pin is exported.

description

Build Firmware

  1. Requirements
    arm-none-eabi-gcc must be installed in a directory indecateed by PATH environment variable.

  2. Download Source Codes

    $ git clone https://github.com/opiopan/sfhss-study.git
    
  3. Compile

    $ cd sfhss-study
    $ make all

About

test implementation of Futaba S-FHSS receiver on STM32 with CC2500

License:Apache License 2.0


Languages

Language:C 97.5%Language:C++ 1.7%Language:Assembly 0.5%Language:Makefile 0.2%Language:Shell 0.0%