Skip to content

Commit a6c4c44

Browse files
MarekPietapdunaj
authored andcommitted
applications: nrf_desktop: Disable UDC DWC2 DMA on nRF54H20 DK
The DMA support is experimental, disabling the feature improves USB HID stability. Since nRF Desktop uses only small HID reports (report size is smaller than 64 bytes), the DMA doesn't improve performance. Jira: NCSDK-29547 Signed-off-by: Marek Pieta <[email protected]>
1 parent c50cc54 commit a6c4c44

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/prj.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ CONFIG_LED=y
9090
# PWM not supported on this target, using GPIO instead.
9191
CONFIG_LED_GPIO=y
9292

93+
# The UDC DWC2 DMA support is experimental. Disable the feature to improve USB stability. Since nRF
94+
# Desktop uses only small HID reports (size < 64 bytes), the DMA doesn't improve performance.
95+
CONFIG_UDC_DWC2_DMA=n
96+
9397
CONFIG_BT_MAX_PAIRED=2
9498
CONFIG_BT_ID_MAX=3
9599

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/prj_dongle.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ CONFIG_LED=y
7575
# PWM not supported on this target, using GPIO instead.
7676
CONFIG_LED_GPIO=y
7777

78+
# The UDC DWC2 DMA support is experimental. Disable the feature to improve USB stability. Since nRF
79+
# Desktop uses only small HID reports (size < 64 bytes), the DMA doesn't improve performance.
80+
CONFIG_UDC_DWC2_DMA=n
81+
7882
CONFIG_BT_PRIVACY=y
7983

8084
CONFIG_BT_BUF_ACL_TX_SIZE=35

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/prj_release.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ CONFIG_LED=y
8484
# PWM not supported on this target, using GPIO instead.
8585
CONFIG_LED_GPIO=y
8686

87+
# The UDC DWC2 DMA support is experimental. Disable the feature to improve USB stability. Since nRF
88+
# Desktop uses only small HID reports (size < 64 bytes), the DMA doesn't improve performance.
89+
CONFIG_UDC_DWC2_DMA=n
90+
8791
CONFIG_BT_MAX_PAIRED=2
8892
CONFIG_BT_ID_MAX=3
8993

applications/nrf_desktop/configuration/nrf54h20dk_nrf54h20_cpuapp/prj_release_dongle.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ CONFIG_LED=y
7474
# PWM not supported on this target, using GPIO instead.
7575
CONFIG_LED_GPIO=y
7676

77+
# The UDC DWC2 DMA support is experimental. Disable the feature to improve USB stability. Since nRF
78+
# Desktop uses only small HID reports (size < 64 bytes), the DMA doesn't improve performance.
79+
CONFIG_UDC_DWC2_DMA=n
80+
7781
CONFIG_BT_PRIVACY=y
7882

7983
CONFIG_BT_BUF_ACL_TX_SIZE=35

0 commit comments

Comments
 (0)