FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Feat lowside samd21 by askuric · Pull Request #479 · simplefoc/Arduino-FOC · GitHub

Feat lowside samd21 - #479

Merged
runger1101001 merged 2 commits into
devfrom
feat_lowside_samd21
Jul 27, 2025
Merged

Feat lowside samd21#479
runger1101001 merged 2 commits into
devfrom
feat_lowside_samd21

Conversation

askuric commented Jul 24, 2025

Copy link
Copy Markdown
Member

So this PR implements a different strategy for low-side current sensing with SAMD21.
It's inspired by the od code but no longer used DMA.
I've had some issues with the old code, could not run it and even compile it as the library AdafruitZeroDMA uses some same funciton calls that we cannot really chnage.

So I've passed to the timer-synced interrupt based approach.

It is once again one phase sample per PWM cycle, not the best really. But it does work.

I've tested:

  • Arduino Zero
  • Adafruit qt py samd21

askuric changed the base branch from master to feat_current_sense_check_for_trgo July 24, 2025 14:34
askuric changed the base branch from feat_current_sense_check_for_trgo to dev July 24, 2025 14:34
askuric added this to the 2.3.5_Release milestone Jul 25, 2025
runger1101001 merged commit 0205da7 into dev Jul 27, 2025
53 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL