Skip to content

Add support for timer 8 #468

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

Merged
merged 1 commit into from
May 7, 2025
Merged

Add support for timer 8 #468

merged 1 commit into from
May 7, 2025

Conversation

jeroenzwan
Copy link

We use timer 6,7,8 for phase a,b,c. Timer 8 is only available in RP2350B, not 2040 or A. Therefore, the library does not support it well. We found that everything works except for the syncSlices function which sets pwm mask enabled with a bitmask 0xFF, so timer 0 to 7. Timer 8 was never enabled and did not run.

@runger1101001
Copy link
Member

Thank you so much for finding and solving this!

While I did a quick test on the Pico 2, I did not go into this depth to test the new timer... I'll merge it in as soon as the tests pass.

@runger1101001 runger1101001 self-assigned this May 7, 2025
@runger1101001 runger1101001 added the bug Something isn't working label May 7, 2025
@runger1101001 runger1101001 added this to the 2.3.5_Release milestone May 7, 2025
@runger1101001 runger1101001 merged commit cad1bc5 into simplefoc:dev May 7, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants