Code Monkey home page Code Monkey logo

srxl2's Introduction

SRXL2

SRXL2 is a bi-directional serial communications protocol now used in Spektrum™ receivers. Using a standard UART in half-duplex mode, this protocol defines a standard way for the receiver to send Channel Data digitally to Smart ESCs, Flight Controllers, and other devices on the SRXL2 bus. Through a handshaking mechanism, these devices can report how often they should be polled for their Telemetry data, and can inform the master whether they support communications at 400k baud or the default of 115.2k. This enables much more responsive Telemetry data, customized to individual needs.

This open-source library code is the same code used in Spektrum™ receivers, and is provided here to allow the community to more easily innovate and create third-party SRXL2 compatible devices.

Getting Started

Check out the Examples folder for a simplified app example to get you familiar with the basics. For a more in-depth reference, check out the SRXL2 Specs. In there, you will find the approved electrical connector pinouts, details on how the Device ID and handshaking scheme works, and packet details.

The Source folder contains the C11-compatible library code that can be dropped into your project, and the example spm_srxl_config.h file gives you a starting point to configure and customize the required callback functions to interface with your own UART routines. You'll also find options to use hardware-accelerated CRC calculations if you are using compatible STM32 F3/F7 hardware.

Known Supported Platforms

Betaflight

Currently compiled in our own fork of betaflight until the changes are merged to the trunk. The latest release can be found here
https://github.com/SpektrumRC/betaflight/releases

MSH Brain2

MSH Brain2 supports SRXL2 with version 3.2.050
https://www.helifreak.com/7806137-post13.html

FlightOne

Currently supported in FalcoX alpha (Not yet in FlightOne) since version 10.0.4.1269
https://flightone.com/alpha

This however currently only includes support for channel data. The following features are still not yet supported
-RSSI
-VTX commands from Spektrum transmitter menu
-Telemetry/Textgen

srxl2's People

Contributors

miguelfalvarez avatar spektrumrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

srxl2's Issues

How to send drive signal to SpektrumRC ESC

Hi, I have a Arram Infraction V2 which has a Spektrum® Firma™ 150A Smart ESC. I would like to use a small Nvidia computer (Jetson Xavier NX) to control the car autonomously. To do that, the computer needs to send drive signal to the ESC. Could you please let me now first how to physically connect the ESC to the computer? Using i2c or USB?

Thank you very much.

SRXL2 into PX4 framework

Hi all, I see you customized Betaflight to include the SRXL2 protocol.
I was wondering if you are planning to integrate the SRXL2 protocol into the PX4 framework.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.