Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imxrt dshot timing fix #23365

Merged
merged 2 commits into from
Jul 8, 2024
Merged

imxrt dshot timing fix #23365

merged 2 commits into from
Jul 8, 2024

Conversation

PetervdPerk-NXP
Copy link
Member

@PetervdPerk-NXP PetervdPerk-NXP commented Jul 5, 2024

Use a FLEXIO base clock of 108Mhz which allows TCMP without fractions and thus gives us exact 150KHz, 300KHz, 600KHz, 1200KHz dshot timings.

Also this improves sampling of BDSHOT telemetry.
FYI @jwwaite this pretty much eliminates the CRC errors for me, could you test as well?

@dagar dagar merged commit 6bd81f3 into main Jul 8, 2024
91 of 94 checks passed
@dagar dagar deleted the pr-imxrt-dshot-timing-fix branch July 8, 2024 16:57
vertiq-jordan pushed a commit to iq-motion-control/PX4-Autopilot that referenced this pull request Aug 21, 2024
* imxrt: Change PLL settings for more accurate dshot timing
* Update NuttX submodule
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.

3 participants