Julian Oes
7b0984584f
dshot: add EDT data to status
2026-02-06 16:23:42 +13:00
Julian Oes
b9f6e35a43
dshot: just publish at 200 Hz
...
It's tricky to figure out when to publish especially if some outputs
that should be reporting stop reporting. I had some edge cases where it
would not publish due timers not fully configured, so I decided to just
publish at 200 Hz no matter what data was there to publish.
2026-02-06 16:21:07 +13:00
alexklimaj
f6a0ed57a4
dshot: remove redundant static_assert for ESC_MAX channels
2026-02-04 11:05:20 -07:00
alexklimaj
408a77376f
ARKV6X fix flash overflow
2026-02-04 11:04:22 -07:00
Hamish Willee
b1b3a695e7
Update to UORB docs according to standard
2026-02-04 08:58:08 +11:00
Julian Oes
53a4a871ef
dshot: enable up to 16 DShot channels
...
For some boards, we can have DShot on 12 to 14 timer channels, so we
need to support up to 16 to have them covered.
2026-02-03 05:32:28 +13:00
Julian Oes
81a8a88db7
msg/mavlink: report up to 12 motors
...
This makes it consistent with the 12 motor output functions.
2026-02-03 05:31:52 +13:00
Julian Oes
130ec776b2
boards: don't use the word capture
2026-02-02 17:35:36 +13:00
Jacob Dahl
b05c772ee3
dshot: module.yaml: esc_type default 0
2026-01-27 21:26:55 -09:00
Jacob Dahl
4f70ed367e
dshot: fix optarg list
2026-01-27 21:06:33 -09:00
Jacob Dahl
a9f5e5d70f
remove extra newlines
2026-01-27 20:58:13 -09:00
Jacob Dahl
ac5fba4c28
imxrt: add up_bdshot_channel_capture_supported
2026-01-27 20:34:48 -09:00
Jacob Dahl
6f8ba007d1
dshot: fix bug preventing writing settings
2026-01-27 19:39:06 -09:00
Jacob Dahl
47bb1437e4
adjust debug message
2026-01-27 18:54:09 -09:00
Julian Oes
b26b3ac29d
boards: fixup timers and DMA for KakuteH7-Wing
2026-01-27 15:39:49 -09:00
Julian Oes
3ef8b10987
dshot: improve status output
2026-01-27 15:39:49 -09:00
Julian Oes
0c51b25391
dshot: support timer channels without DMA capture
...
Some timer channels such as timer 4 channel 4 don't support DMA, so we
can only use them to burst/update but not to capture.
2026-01-27 15:39:49 -09:00
Jacob Dahl
d72542a48d
replace eeprom struct with opaque buffer
2026-01-27 15:39:49 -09:00
Jacob Dahl
5cde03652a
fix date
2026-01-27 15:39:49 -09:00
Jacob Dahl
bbbac3bb16
remove debug mavlink code
2026-01-27 15:39:49 -09:00
Jacob Dahl
c9a8f37fef
remove TODO
2026-01-27 15:39:49 -09:00
Jacob Dahl
44f62fd764
rename perf counters, skip burst delay on last channel
2026-01-27 15:39:49 -09:00
Jacob Dahl
89f14100ab
Update platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c
...
Co-authored-by: Julian Oes <julian@oes.ch >
2026-01-27 15:39:49 -09:00
Jacob Dahl
b1585a7f55
Update platforms/nuttx/src/px4/stm/stm32_common/dshot/dshot.c
...
Co-authored-by: Julian Oes <julian@oes.ch >
2026-01-27 15:39:49 -09:00
Julian Oes
e835394d25
mavlink: fixup ifdefs around ESC_EEPROM
2026-01-27 15:39:49 -09:00
Jacob Dahl
4d09521d98
make format
2026-01-27 15:39:49 -09:00
Jacob Dahl
8847c3cc83
dshot: trigger timers at the same time, with 10us delay between bursts to work around race condition
2026-01-27 15:39:49 -09:00
Jacob Dahl
7edc606296
don't use DSHOT_TEL_CFG directly in code since it is autogenerated only if a board has serial config
2026-01-27 15:39:49 -09:00
Jacob Dahl
6bc0e0c74e
dshot: imxrt: fix unsigned to uint8_t in dshot_motor_data_set
2026-01-27 15:39:49 -09:00
Jacob Dahl
9ad690dc85
fix rpm overflow, change type to int32
2026-01-27 15:39:49 -09:00
Jacob Dahl
c434ef1507
fix build and rename _param_escs_checks_required
2026-01-27 15:39:49 -09:00
Jacob Dahl
458c775bfd
fix ifdef, adjust esc isInRange check
2026-01-27 15:39:49 -09:00
Jacob Dahl
24d7cd48e5
board: ark_fpv: add rc.board_airframes to reduce flash
2026-01-27 15:39:49 -09:00
Jacob Dahl
b5e9457ba2
remove bdshot_timing_analyzer_spec.md
2026-01-27 15:39:49 -09:00
Jacob Dahl
597611e7a5
code simplifier
2026-01-27 15:39:49 -09:00
Jacob Dahl
2d7b3a83c3
bdshot_analyzer.py for saleae timign analysis
2026-01-27 15:39:49 -09:00
Jacob Dahl
72cd09bd87
fix handling MAV_CMD_CONFIGURE_ACTUATOR -1000
2026-01-27 15:39:49 -09:00
Jacob Dahl
4ee3d2778e
sequential dshot burst/capture timer triggering, it works!
2026-01-27 15:39:49 -09:00
Jacob Dahl
bf783779b6
fix esc online mask ordering, fix bdshot channels ready check, improve dshot status formatting
2026-01-27 15:39:49 -09:00
Jacob Dahl
8ab112b4c3
after claudes fixes
2026-01-27 15:39:49 -09:00
Jacob Dahl
3c8a652538
before claude
2026-01-27 15:39:49 -09:00
Jacob Dahl
f6eeacfd8b
temporarily comment out dshot re-init
2026-01-27 15:39:49 -09:00
Jacob Dahl
22587b09e5
bdshot per channel, use PWM_TIM param for BDSHOT instead of single parameter to allow per timer bdshot, clean up logic and fix minor bugs, re-init dshot in mixerChanged
2026-01-27 15:39:49 -09:00
Jacob Dahl
4b3cd1e9a2
fix names and variables and remove dead code
2026-01-27 15:39:49 -09:00
Jacob Dahl
d1d54178d9
fix issues found during review, clean up
2026-01-27 15:39:49 -09:00
Jacob Dahl
46cecf61c5
multi timer, first pass
2026-01-27 15:39:49 -09:00
Jacob Dahl
3b9ea305f7
clean up naming
2026-01-27 15:39:49 -09:00
Jacob Dahl
c6c8cdd78f
mavlink submodule
2026-01-27 15:39:49 -09:00
Jacob Dahl
e6744590cf
rename to ESC_EEPROM and fix up logic for 192 length
2026-01-27 15:39:49 -09:00
Jacob Dahl
22ac08547e
update mavlink
2026-01-27 15:39:49 -09:00