Skip to content

Bidirectional DShot Bitbang vs Timer implementation #11425

Answered by SteveCEvans
Warl0rd0ne asked this question in Q&A
Discussion options

You must be logged in to vote

@Warl0rd0ne Both implementations are functional, although on a couple of occasions I've seen lower error counts with bit banged where I've see a small number of errors with timer based.

Looking at the config for this FC, unfortunately motors 1, 2 and 3 are all on different ports. If you're able to avoid use of one of these, for example, by not using B00 then you'll be able to reduce the number of DMA streams from three to two.

resource MOTOR 1 B00
resource MOTOR 2 C06
resource MOTOR 3 A10
resource MOTOR 4 A08
resource MOTOR 5 C07
resource MOTOR 6 C09

The current resource allocation with dshot_bitbang=ON is


Currently active DMA:
--------------------
DMA1 Stream 0: SPI_MISO 3
DMA1 Stream …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Warl0rd0ne
Comment options

Answer selected by SteveCEvans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants