Skip to content

SAMD code improvements #134

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 2 commits into from
Nov 12, 2021
Merged

SAMD code improvements #134

merged 2 commits into from
Nov 12, 2021

Conversation

runger1101001
Copy link
Member

  • The PIN assignment issue on SAMD/E51 has been fixed
  • Removed unnecessary syncs which were slowing down setting the PWM speed in some cases
  • SAMD/E51 now uses the DPLL clock source, for faster PWM frequencies
  • pwm_frequency can now be set for both SAMD/E51 and SAMD21
  • on SAMD51 it should be possible to set it between 2kHz and 150kHz

@runger1101001
Copy link
Member Author

Since this affects only the SAMD files, I will merge it to the dev branch.

@runger1101001 runger1101001 merged commit ddc5ec3 into simplefoc:dev Nov 12, 2021
@runger1101001
Copy link
Member Author

I have tested so far with:

  • Metro M4
  • Feather M4 CAN
  • Arduino MKR1000

I'll test a few more over the next couple of days.

@runger1101001 runger1101001 linked an issue Nov 12, 2021 that may be closed by this pull request
This was referenced Nov 12, 2021
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.

TCC0 pin config ATSAME51
1 participant