Commit Graph
62 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 07d0a66368 telemetry driver: clear TC flag before re-enabling TC interrupt
This prevents the USART TC IRQ handler to trigger right after the DMA request has completed, and thus turning the output OFF before the last byte has been transmitted.

Resolves #801
2021-09-27 11:05:27 +02:00
Paul KendallandPeter Feerick 1c84b6d0e8 Enable medium GPI speed and 8bit sampling on high baud rates only 2021-09-13 15:08:30 +10:00
884bcec13c Allow selecting higher baud rates (#640)
* higher baud rates

* Update colorlcd models to support selectable baud tp 3.75M

# Conflicts:
#	radio/src/gui/colorlcd/radio_hardware.cpp

Co-authored-by: Jye <JyeSmith@users.noreply.github.com>
Co-authored-by: Paul Kendall <pkendall64@gmail.com>
2021-09-12 06:46:43 +10:00
HydraandRaphael Coeffic 2f27c3c1a6 Add OneBit mode to HARDWARE menu. OneBit mode can help if your radio
has a slow inverter circuit by changing the UART sampling behaviour.

* It was found that the X9D+ and X7 (maybe others) have a slow inveter
that messes up reception of fast (400,000baud) UART signals.  On the
scope the rise time of the signal is very long.
* See RM0033 24.3.3 Receiver / Selecting the proper oversampling method.
Page 631.


Also note that reducing the pull-up resistor from 10k to 1k at R82
(X9D+) / R406 (X7) will also help with the rise times.  However on the
X7 changing the resistor is not enough, OneBit is needed too.
2021-05-20 23:24:04 +02:00
3djc 525558476d Cosmetics 2020-11-07 13:14:10 +01:00
Jim TaylorandGitHub f9e1e9f730 Fix issue 8060 - Taranis fails to update avr multiprotocol module (#8072) 2020-11-07 13:12:58 +01:00
3djcandGitHub 159a891ab4 Asym ghost support (#7910) 2020-09-05 08:24:07 +02:00
JakubandGitHub 5bf197439a Support of FRM302 module. (#7533)
AFHDS3 support added
2020-06-22 16:44:35 +02:00
3djcandGitHub c7b7efbe16 Complement #7346 (#7350) 2020-02-06 14:52:35 +01:00
Raphael Coefficand3djc aaafe445db Added support for flashing AVR multi on horus targets (#6888)
* Added support for flashing AVR multi on horus targets

taranis soft serial

Added support for flashing AVR multi on horus targets

taranis soft serial

* Added support for multi V2 signature (hex code)

* Check multi signature before flashing

* small clean-up

* Cosmetics

* Fix v2 signature check

* Cosmetics
2019-10-16 15:29:10 +02:00
Raphael CoefficandRaphael Coeffic 6b12010473 Add T16 support
Added support for:
- T16 radio
- internal multi-protocol module.
- flashing internal and external multi-protocol modules.

Many thx to:
- goebish, for the hardware support.
- qba667, for the original patches for the internal multi-protocol support (UI and serial com).
2019-09-24 22:12:13 +02:00
Bertrand Songis f3d15d59bb BT Flash timeout increased 2019-07-23 11:57:44 +02:00
Bertrand SongisandGitHub dbec79e10f Bsongis/autoupdate (#6521)
Auto update internal chips at boot if /FIRMWARE/autoupdate.frsk is present on SD
2019-06-21 08:52:48 +02:00
Bertrand Songis 5ae3eae1d4 S.PORT Flash fix 2019-06-06 17:04:08 +02:00
Bertrand Songis c9581630ff Rename serial2 to aux_serial 2019-06-04 16:57:35 +02:00
3djcandBertrand Songis 1c51c646c4 Introduce AUX_SERIAL (#6456) 2019-05-28 13:06:02 +02:00
Bertrand SongisandGitHub 8edf77286d Bsongis/power control chip (#6445)
FRSK files support added
2019-05-27 12:23:34 +02:00
Bertrand Songis ab38676ffd SPORT telemetry push fix (part 1) 2019-05-09 10:30:36 +02:00
Bertrand Songis d70f3a40ef Spectrum analyser fixes
Compatibily issue when telemetry comes from int + ext modules
2019-04-29 11:52:17 +02:00
Bertrand Songis 1d5b780c2f Model Setup refactoring 2019-04-03 11:27:43 +02:00
Bertrand Songis cc33d5833b S.PORT PUSH should be OK now on both PXX2 and S.PORT lines 2019-03-30 09:46:36 +01:00
Bertrand Songis 95fe5c59bb S.PORT Push reworking 2019-03-28 18:43:07 +01:00
Bertrand Songis 04ba9e5c68 Compilation fixes 2019-03-20 16:32:58 +01:00
Bertrand Songis 103eba6e63 REGISTER should be ready for tests 2019-02-05 17:08:09 +01:00
3djc bd2f80b05b Fix Radio -> TX telemetry sending 2018-12-04 17:27:44 +01:00
Bertrand Songis b72ccb4836 PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed 2018-11-28 18:02:14 +01:00
Bertrand Songis 946f66b128 Pulses refactoring ... WIP 2018-10-09 07:57:58 +02:00
Bertrand SongisandGitHub 99604dccc9 XLite support (#5806) 2018-04-25 23:07:04 +02:00
Bertrand SongisandGitHub 329b753df5 XLite REV 0.2 support (#5785)
XLite REV 0.2 support
2018-04-02 20:37:34 +02:00
sirPernaandBertrand Songis 390342af78 Crossfire baudrate selection for X7 support ( fixes #4922 ) (#5194)
* Crossfire baudrate selection for X7 support ( fixes #4922 )

* Moved baurate selection to general settings

* renamed mavbaud to telemetryBaudrate for ARM targets
translation added

* typo fixed
2017-09-10 17:10:47 +02:00
3djcandBertrand Songis fa951acf40 Review line ending handling (#4820)
* New line end handling rules

* Normalize all the line endings
2017-04-19 10:54:43 +02:00
Bertrand SongisandGitHub 58382d8aca [Horus] Fixes #4205 (#4210)
[Horus] Fixes #4205
2017-01-09 18:17:19 +01:00
Bertrand SongisandGitHub d3ae3c035d Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added
* Cosmetics
2016-08-18 11:49:16 +02:00
Bertrand Songis 0524f24ac6 hello.wav was not played anymore 2016-08-02 07:37:07 +02:00
Arne SchwabeandBertrand Songis 352de89838 Spektrum telemetry implementation (#3659)
* Implementation of Spektrum Telemetry for the DYI Multimodule.

I can only test a subset of sensors and these look okay

* Implement conversion from Fahrenheit to Celsius

* Minor fixes for Spektrum telemetry

* Add some more sensors, show sensor ID instead of instance in the overview
2016-07-22 17:38:11 +02:00
Bertrand SongisandGitHub 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 238943f4a2 Cosmetics 2016-06-16 16:06:12 +02:00
Bertrand Songis 9b5b9be50c [Crossfire] Telemetry packets are bigger 2016-06-15 22:19:10 +02:00
Bertrand Songis 862fa5525e [Crossfire] Upstream link development started 2016-06-11 20:05:51 +02:00
Bertrand Songis bd87028fd5 FrSky S.PORT upstream (#3426)
FrSky S.PORT upstream
2016-04-29 18:44:25 +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 9673df83a7 Interrupt counters added (use -DDEBUG_INTERRUPTS=YES to enable and CLI command "print int" to see them) 2016-04-03 17:51:20 +02:00
Andre Bernet 79dffdf5f4 GPIO speed adjustments - to be tested! 2016-03-25 14:39:07 +04:00
Bertrand Songis 4443ab22ee [Taranis] Overrun errors on S.PORT are now counted and it's possible to display the errors count in the CLI 2016-03-19 12:06:43 +01:00
Bertrand Songis f622d7cf6d [Taranis] We cannot receive S.PORT through DMA, the associated stream is already used by the DAC 2016-03-19 12:01:36 +01:00
Bertrand Songis 5cb6884ab3 [Horus / Taranis] S.PORT telemetry now uses the DMA. I think the buffer could be reduced, 512bytes seems really big 2016-03-18 21:49:06 +01:00
Bertrand Songis 75e1bead3f S.PORT to Lua telemetry passthrough
The Fifo is created with ```telemetryRegister``` and elements (ID + Value) are taken from the Fifo with ```telemetryPop```
Not tested at all. Just for review / discussion
2016-02-28 11:56:54 +01:00
Bertrand Songis 3913a36aeb Crossfire again @400000 bauds 2016-01-30 12:14:35 +01:00
Bertrand Songis c5f3010295 [Taranis] Cosmetics 2016-01-22 22:37:29 +01:00
Bertrand Songis 97d59cfa56 Copyright script applied to all sources in the radio directory 2015-12-23 19:57:13 +01:00