Skip to content
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

#9 phase currents #30

Merged
merged 8 commits into from
Mar 15, 2024
Merged

#9 phase currents #30

merged 8 commits into from
Mar 15, 2024

Conversation

nwdepatie
Copy link
Contributor

@nwdepatie nwdepatie commented Feb 24, 2024

Changes

Added in DMA implementation for 1 ADC and added in a basic implementation for DMA based ADC access

Notes

Lot of autogeneration, look in gatedriver.c and gatedriver.h for the actual code that matters

WIP for now

Test Cases

  • Built

To Do

Any remaining things that need to get done

  • Evaluate interrupt driven DMA access (interrupt driven might be good, but for now let's start with polling)
  • Figure out indexing in return function for phase currents
  • Generate other DMA pipe for other ADC
  • Actually start the respective ADC

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please reach out to your Project Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No merge conflicts
  • All checks passing
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #9

@nwdepatie nwdepatie self-assigned this Feb 24, 2024
@nwdepatie nwdepatie marked this pull request as draft February 24, 2024 00:32
@nwdepatie nwdepatie marked this pull request as ready for review March 13, 2024 21:27
@nwdepatie nwdepatie merged commit 0521d11 into main Mar 15, 2024
1 check passed
@nwdepatie nwdepatie deleted the #9-phase-currents branch March 15, 2024 15:00
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.

[Driver] - Reading in Current Measurements
2 participants