Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding support for Multiplex SRXL V2 #1538

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
c069039
adding support for Multiplex SRXL V2
Sep 13, 2015
889cf13
Optimizations and documentation update on the LED Strip.
Sep 17, 2015
8126787
Revert "Optimizations and documentation update on the LED Strip."
saperlot Oct 7, 2015
42dd4d6
Merge branch 'master' of https://github.com/saperlot/cleanflight
Dec 2, 2015
29c82c8
first shot to add srxl as a single source
Dec 2, 2015
ac071c0
First cut of Cleanflight OSD support.
hydra Jun 3, 2016
42640be
Add Cleanflight font. Add MAX7456 font upload code. Update spash
hydra Jun 6, 2016
440784b
introduce a simple absctraction between the video hardware and the OSD
hydra Jun 9, 2016
60a410c
fix font mapping (':' was unmapped)
hydra Jun 9, 2016
7b3ecd8
preserve behaviour from 440784b76b997c70b029ad72c7cd17c6b17b9dac
hydra Jun 9, 2016
511f426
remove max7456 dependencies from osd boot and core.
hydra Jun 9, 2016
34908e8
Add camera status and flashing effects to the OSD.
hydra Jun 10, 2016
818dc3e
Change load on the FC.
hydra Jun 10, 2016
9dd6ec8
Display motor mixer outputs on OSD.
hydra Jun 10, 2016
cbe2631
Change default video mode to NTSC and support PAL/NTSC screen.
hydra Jun 10, 2016
a9dd922
Update functionBaudRate names.
hydra Jun 11, 2016
ff7dd8a
debug FC cycle time debug code
hydra Jun 11, 2016
e29728b
Display additional voltage meters on the OSD.
hydra Jun 11, 2016
8dea1a1
disable some video debug code.
hydra Jun 11, 2016
9621d50
disable ADC debugging for OSD targets.
hydra Jun 11, 2016
9da6102
Use the max7456 VSYNC signal to initial writing to the display to avoid
hydra Jun 11, 2016
b0ee509
missing file
hydra Jun 11, 2016
13b8206
update the warning led to pulse out a codes when the fc or camera is
hydra Jun 12, 2016
2663374
Merge branch 'master' into osd-support
hydra Jun 12, 2016
82e60fa
Merge branch 'master' into develop
Jun 21, 2016
4e20f51
Merge branch 'master' into develop
Jun 22, 2016
4d9e11a
changes to xbus
Jun 22, 2016
56bb73e
second shot include srxl
Jun 22, 2016
0fd9c02
cleanup
Jun 22, 2016
bd154b1
further cleanup
Jun 22, 2016
89c303c
outsourced crc, further cleanups
Jun 23, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
265 changes: 163 additions & 102 deletions Makefile

Large diffs are not rendered by default.

26 changes: 23 additions & 3 deletions docs/Rx.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ These receivers are reported working:
* FlySky/Turnigy FS-iA6B receiver for FS-i6 and FS-i10 transmitters



## Serial Receivers

### Spektrum
Expand Down Expand Up @@ -74,19 +75,38 @@ OpenTX 2.09, which is shipped on some Taranis X9D Plus transmitters, has a bug -
The bug prevents use of all 16 channels. Upgrade to the latest OpenTX version to allow correct reception of all 16 channels,
without the fix you are limited to 8 channels regardless of the CH1-16/D16 settings.

### SRXL (formerly XBUS)

(Serial Receiver Link Protocol)
SRXL is an open data transfer protocol which allows to transport control data from a rc receiver to another device like a flybarless system
by only using one single line. This protocol has been established by SRXL.org based on the idea to create a freely available and unified protocol
that manufacturers can easily implement to their receivers and devices that process receiver data. The protocol does not describe an exact definition of
how the data must be processed. It only describes a framework in which receiver data can be packed. Each manufacturer can have his own ID, which must be
attached to the beginning of each data set, so that the device using this data can correctly identify and process the payload of the dataset.

Supported receivers:

#Multiplex:
All receivers with SRXL (also FLEXX receivers)
Gaupner / SJ HOTT: all receiver with SUMD support

### XBUS
#Spektrum:
AR7700 / AR9020 receiver

The firmware currently supports the MODE B version of the XBus protocol.
#JR:
JR X-BUS
Make sure to set your TX to use "MODE B" for XBUS in the TX menus!
See here for info on JR's XBUS protocol: http://www.jrpropo.com/english/propo/XBus/

These receivers are reported working:

XG14 14ch DMSS System w/RG731BX XBus Receiver
http://www.jramericas.com/233794/JRP00631/

#Jeti:
Receivers with UDI output

### XBUS MODE B RJ01

There exist a remote receiver made for small BNF-models like the Align T-Rex 150 helicopter. The code also supports using the Align DMSS RJ01 receiver directly with the cleanflight software.
To use this receiver you must power it with 3V from the hardware, and then connect the serial line as other serial RX receivers.
In order for this receiver to work, you need to specify the XBUS_MODE_B_RJ01 for serialrx_provider. Note that you need to set your radio mode for XBUS "MODE B" also for this receiver to work.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,10 @@ void SetSysClock(bool overclock)
#if defined(CJMCU)
// On CJMCU new revision boards (Late 2014) bit 15 of GPIOC->IDR is '1'.
RCC_CFGR_PLLMUL = RCC_CFGR_PLLMULL9;
#else
#elif defined(NAZE)
RCC_CFGR_PLLMUL = GPIOC->IDR & GPIO_IDR_IDR15 ? hse_value = 12000000, RCC_CFGR_PLLMULL6 : RCC_CFGR_PLLMULL9;
#else
RCC_CFGR_PLLMUL = RCC_CFGR_PLLMULL9;
#endif
switch (clocksrc) {
case SRC_HSE:
Expand Down