SR code improvement and support for more than 4 axis #23
Unanswered
Volksolive
asked this question in
Q&A
Replies: 1 comment 7 replies
-
This will introduce a bit of jitter on dir changes...
Because the fourth motor (M3) can be assigned to A, ganged X, ganged Y or ganged Z depending on the configuration.
M3 ... Mn, since they are motor designations - not axis designations. X, Y and Z are both. EDIT: fixed the line above. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@terjeio, while I was looking at the PIO code for SR step&dir, I can see that it is not very efficient. I have improve it so that it used way less PIO memory and also one less SM.
And as a bonus it can now support up to 8 axis and no dir->step delay when no dir changes.
I am still working on it and I haven't tested it so far but I am quite confident it can work.
I have a question though on the actual code for the 4 axis, why in driver.c, is it called M3 and not A?
So now adding more axis what should be the name of these extra axis if not A, B, C, U, V?
I am putting the code here if you're interested before a future pull request (if everything works as planned):
BTW, there is now a PIO asm syntax highlighter available for VSCode.
Beta Was this translation helpful? Give feedback.
All reactions