Skip to content

merge from upstream #4

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

Open
wants to merge 217 commits into
base: dev
Choose a base branch
from
Open

merge from upstream #4

wants to merge 217 commits into from

Conversation

Copper280z
Copy link
Owner

No description provided.

Candas1 and others added 30 commits October 21, 2023 15:58
Merge new dev changes
Changes compared to the original pull request in the drivers repository simplefoc/Arduino-FOC-drivers#12
1. Added a version of init which turns the motor one revolution to find the center values of the sensors.
2. Moved the calls to analogRead into a weakly bound function ReadLinearHalls so it can be overridden with custom ADC code on platforms with poor analogRead performance.
3. Commented out the pinMode calls in init, which makes it possible to pass in ADC channel numbers for custom ReadLinearHalls to use without having to remap them every update.
4. Changed to use the much faster _atan2 function that was added to foc_utils recently.
5. Added examples.
…er aligned PWM for stm32 (when using more than one timer)
Comment the refresh of the timer in the new alignment code, it seems to mess up with the low side current sampling
…ounter

Use interrupt if no repetition counter
askuric and others added 30 commits March 14, 2025 09:31
Fix `Pin is not configured as analog channel` error
Add support for timer 8 on RP2350B
use default dir only if sensor not connected
Disable allow power down when creating MCPWM timer
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.

10 participants