-
Notifications
You must be signed in to change notification settings - Fork 1.7k
NEXUSX use dmar #11120
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
base: master
Are you sure you want to change the base?
NEXUSX use dmar #11120
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
Unfortunately this won't be acceptable for Vantac RF007 as it is missing the "B" Port, further reducing the number of available uarts. Additionally, this target doesn't have a current sensor, potentially leading users to add an external one which will need a uart. How much work would it be to fix the initialisation order instead? |
That might be a different target, with different considerations.
I have no idea. Feel free to look into it. 😁 |
|
I have managed to find the issue, and it turns out there is a solution already implemented. Just have to activate like so: #11127 |
|
Thanks @functionpointer That just leaves using DMAR and setting it to no more than 7 motors, as only 7 work for me. |
|
I have investigated the 7 motor limitation, and it can be removed by reassigning timers like so: #11129 With that PR no |
User description
A couple minor changes to the NEXUS target based on my testing.
In #11082 (comment)
@functionpointer pointed out that UART3 would only work for a receiver due to the initialization order. One of the two variants already has an onboard receiver on UART5. Defining uart3 may therefore cause confusion more often than its helpful.
PR Type
Enhancement
Description
Remove UART3 configuration to prevent receiver confusion
Update serial port count from 7 to 6
Enable DMA support for DShot ESC protocol
Set motor count to 7 for proper PWM configuration
Diagram Walkthrough
File Walkthrough
target.h
Remove UART3, enable DShot DMA, configure motorssrc/main/target/NEXUSX/target.h