Skip to content

Conversation

dakejahl
Copy link
Contributor

Problem
When bidirectional dshot is enabled the RC RX stops working.

Solution
Remove USART3 (debug port) RX/TX DMA. I don't understand why this fixes it though, since it is being assigned to DMA2.

Other updates

  • add USART6 (RC) TX DMA for CRSF Telemetry
  • remove UART2 (VTX) TX DMA since that signal is unused
  • update debug prints in dshot

@dagar do you have any ideas about why this might be happening?

Copy link

github-actions bot commented May 27, 2025

🔎 FLASH Analysis

px4_fmu-v5x [Total VM Diff: 208 byte (0.01 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +208  +0.0%    +208    .text
  +0.1%    +112  +0.1%    +112    [section .text]
   +19%     +96   +19%     +96    up_dshot_init
+0.0%     +31  [ = ]       0    .debug_abbrev
+0.0%     +70  [ = ]       0    .debug_info
+0.0%     +19  [ = ]       0    .debug_line
  +100%      +1  [ = ]       0    [Unmapped]
  +0.0%     +18  [ = ]       0    [section .debug_line]
-0.0%     -21  [ = ]       0    .debug_loclists
+0.0%     +45  [ = ]       0    .debug_rnglists
  [NEW]      +2  [ = ]       0    [Unmapped]
  +0.0%     +43  [ = ]       0    [section .debug_rnglists]
-1.9%    -208  [ = ]       0    [Unmapped]
+0.0%    +144  +0.0%    +208    TOTAL

px4_fmu-v6x [Total VM Diff: 208 byte (0.01 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +208  +0.0%    +208    .text
  +0.1%    +112  +0.1%    +112    [section .text]
   +19%     +96   +19%     +96    up_dshot_init
+0.0%     +31  [ = ]       0    .debug_abbrev
+0.0%     +70  [ = ]       0    .debug_info
+0.0%     +11  [ = ]       0    .debug_line
  [DEL]      -7  [ = ]       0    [Unmapped]
  +0.0%     +18  [ = ]       0    [section .debug_line]
-0.0%     -21  [ = ]       0    .debug_loclists
+0.0%     +45  [ = ]       0    .debug_rnglists
  +200%      +2  [ = ]       0    [Unmapped]
  +0.0%     +43  [ = ]       0    [section .debug_rnglists]
-4.2%    -208  [ = ]       0    [Unmapped]
+0.0%    +136  +0.0%    +208    TOTAL

Updated: 2025-06-04T22:17:09

@dakejahl dakejahl closed this Jun 4, 2025
@dakejahl dakejahl deleted the pr-arkfpv_dma branch June 4, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant