Andre Bernet
a11db7d73f
Schedule mixer properly for new multimodule frame rate
2016-07-19 11:11:43 +02:00
Andre Bernet
a6ceb56dcd
Speed up multimodule output from 22ms to 9ms
2016-07-18 20:18:19 +02:00
Andre Bernet
e282c02be2
VC++ compilation
2016-06-23 08:08:56 +02:00
Bertrand Songis
e64464ff9b
[VC++] Compilation fixes
2016-06-21 20:25:17 +02:00
Bertrand Songis and GitHub
53b51cac94
Bsongis/crossfire refactoring ( #3613 )
...
* Crossfire refactoring
* Crossfire script now displaying fields
* Crossfire script now displaying text selection values
2016-06-18 22:16:50 +02:00
Bertrand Songis
900266be4a
[Crossfire] Cosmetics
2016-06-16 15:18:32 +02:00
Bertrand Songis
f415f38ba6
Compilation fix
2016-06-12 15:27:55 +02:00
Bertrand Songis
21075d5a4c
Compilation fix
2016-06-12 13:41:50 +02:00
Bertrand Songis
862fa5525e
[Crossfire] Upstream link development started
2016-06-11 20:05:51 +02:00
Bertrand Songis
17ab2c83aa
[Horus/Taranis] Pulses cosmetics
2016-06-10 23:37:26 +02:00
Bertrand Songis
f488ebc1f5
[Horus] I forgot this part for PPM pulses ...
2016-06-08 22:19:54 +02:00
Arne Schwabe
5bcde76ca0
Add the ARR change to multi in the same way as for DSM2 in commit 404c5a8
2016-06-08 22:23:45 +02:00
Arne Schwabe
540faa51bf
Use __ALIGNED instead of __DMA which is identical to __DMA without the section on Hours
2016-06-08 22:04:40 +02:00
Bertrand Songis
010d9d9629
Warning removed
2016-06-08 20:37:16 +02:00
Bertrand Songis
404c5a8553
[Taranis] Trainer / Trainee again OK. Not tested on Horus
2016-06-08 20:26:30 +02:00
Arne Schwabe and Bertrand Songis
0c525826b4
Fix alignment bug of pulses data array ( #3575 )
...
The second element of the modulePulsesData was never forced to be correctly aligned. Without the new
pulses and without the Multimodule code the second element was never misaligned since the PXX pulses
union member was always the largest member and was 4 byte aligned by coincidence, also making the
second modulePulseData array member 4 byte aligned.
With the Multimodule option enabled the dsm pulses struct becomes the largest union member with 607 bytes
and the second modulePulsesData is not aligned to anything anymore which completely screws up the pulses
generation.
Forcing the alignment of the ModulePulsesData fixes this issue.
2016-06-07 23:32:51 +02:00
Arne Schwabe and Bertrand Songis
b6d4442ba1
Fix interrupt handler not handling multiprotocol (Pulses fix) ( #3570 )
...
* Fix interrupt handler not handling multiprotocol
* Use proper Macros in driver, remove wrong comment about ppm
2016-06-07 07:31:35 +02:00
Bertrand Songis
7ef9992349
Bsongis/horus xjt external module ( #3566 )
...
* [Horus] PXX and DSM2 in external module
* [Taranis] Pulses driver refactoring (uses DMA also for PPM in external module and saves 800bytes RAM)
* Cosmetics (Pulses driver splitted)
2016-06-05 22:34:16 +02:00
Damjan Adamic
79b2015b6e
Re #3536 : cosmetics
2016-05-26 20:41:48 +02:00
Bertrand Songis
d471dc6216
Cosmetics
2016-05-26 18:19:24 +02:00
Ingwie
d1d3f7fa0a
MEGA2560 the first PPM pulse in the frame longer. #2938 is missing in next
2016-05-26 12:34:28 +02:00
Damjan Adamic
2df621993e
Enable DSM protocols on all targets that define DSM2 macro, not just on Taranis. ( #3471 ) (ported from master)
2016-05-09 20:42:27 +02:00
Bertrand Songis
3693f34a41
[Crossfire] Min / max limits were missing for each channel transmitted
2016-04-26 12:17:02 +02:00
Arne Schwabe
80b406b8d9
Implement new protocols of Multimodule (SFHSS and D16 8ch)
2016-04-18 00:09:51 +02:00
Bertrand Songis
5d171b3761
[Taranis] Crossfire period now 4ms. S.PORT TX didn't wait end of serial transfer before going to RX mode
2016-04-10 10:34:04 +02:00
Damjan Adamic
29325ad54f
[ARM] Mixers calculated just-in-time
2016-04-05 18:38:37 +02:00
Bertrand Songis
a0b4053e82
[Crossfire] Now the pulses frame is encoded the same way than other Crossfire frames
2016-04-02 21:05:22 +02:00
Andre Bernet
9615c98103
Fix merge
2016-04-02 09:57:46 +04:00
Bertrand Songis
cbec010f44
Multimodule merge
2016-04-01 23:08:52 +02:00
Andre Bernet
3d4f3611b0
Merge branch 'next' into kilrah/antennaselection
...
# Conflicts:
# radio/src/translations/de.h.txt
# radio/src/translations/es.h.txt
# radio/src/translations/it.h.txt
# radio/src/translations/pt.h.txt
# radio/src/translations/se.h.txt
2016-03-31 15:11:12 +04:00
Arne Schwabe
2ad644d793
Add horus support for multi pulses (untested, following DSM2)
2016-03-29 21:41:15 +02:00
Arne Schwabe
9de6e09c09
Implement autobind and low power setting and specifying a custom protocol for the multi module
...
Specifying a custom prtocol is useful if OpenTX firmware is older than the multi module firmware
and the protocol in question is not yet in the protocol list of the OpenTX firmware.
2016-03-29 21:41:15 +02:00
Arne Schwabe
119e413a6d
Multi module support for Taranis
...
Reuse some of the DSM2 routines to avoid code duplication.
This first version only implements the protocol on the Taranis. (and not
Telemetry code is currently untested and will not work (Polarity mismatch). The main protocols to use telemetry are FrSky protocols and not a high priority on the Taranis.
Patch v3: Fix myeeprom.h, include option value in menu.
Patch v4: Fix identing, name substructs of modeldata
2016-03-29 21:41:14 +02:00
Arne Schwabe
c788ad6add
Move ppm related options into own struct
...
This allows to have the ppm related options in a union with a other module protocol specific options for the multi module.
2016-03-29 21:41:14 +02:00
Bertrand Songis
d73b34e1a9
[Crossfire] Back to 400kHz, at least for Taranis (no DMA on RX)
2016-03-28 11:25:47 +02:00
Andre Bernet
1efad1ac38
Merge branch 'next' into kilrah/antennaselection
...
Conflicts:
radio/src/myeeprom.h
2016-03-22 15:31:44 +04:00
Andre Bernet
909b3bb595
Antenna change warning added
2016-03-22 15:28:20 +04:00
Bertrand Songis
e8b783a491
[Crossfire] Now 921600bauds as we have bigger plans :)
2016-03-18 22:19:29 +01:00
Andre Bernet
0661b8219c
[Horus] Internal module antenna selection support
2016-03-18 21:12:18 +04:00
Bertrand Songis
63fcf537e6
[Horus] Internal module OK
2016-03-15 22:52:21 +01:00
Bertrand Songis
3913a36aeb
Crossfire again @400000 bauds
2016-01-30 12:14:35 +01:00
Bertrand Songis
45cdfac22b
Cosmetics
2016-01-30 10:17:28 +01:00
Bertrand Songis
d2ec99513c
[Horus] Missing pulses code
2016-01-22 22:07:37 +01:00
Bertrand Songis
97d59cfa56
Copyright script applied to all sources in the radio directory
2015-12-23 19:57:13 +01:00
Bertrand Songis
0f1ccc993e
Include guard script applied to all headers in the radio directory
2015-12-23 19:47:10 +01:00
Bertrand Songis and Damjan Adamic
739f19d450
Again 16 channels for Crossfire.
...
I hope they won't change their mind again
2015-12-20 17:13:04 +01:00
Bertrand Songis and Damjan Adamic
816b22fd9d
Crossfire protocol now accepts 12 channels instead of 16
2015-12-20 17:11:21 +01:00
Bertrand Songis and Damjan Adamic
5250f5eb4c
Crossfire has 16 channels (fixed)
2015-12-20 17:10:51 +01:00
Damjan Adamic
91e80d446a
#2894 - Crossfire (inverted serial) sent on S.PORT pin in the module bay (ported from master f7044a20ec)
...
16 channels sent every 2.5ms now @ 200KBauds with CRC
2015-12-20 17:10:32 +01:00
Bertrand Songis
00100c0c86
Cosmetics
2015-12-10 23:44:56 +01:00