-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
esp32/MCPWM: Add motor control MCPWM driver. #12345
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
base: master
Are you sure you want to change the base?
Conversation
a368f67 to
de1eb9b
Compare
|
Code size report: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #12345 +/- ##
=======================================
Coverage 98.57% 98.57%
=======================================
Files 164 164
Lines 21345 21345
=======================================
Hits 21040 21040
Misses 305 305 ☔ View full report in Codecov by Sentry. |
d6e9338 to
95e91aa
Compare
|
First results: Rising Delay on PWMA and Bypass Dead Time for PWMB Falling Delay on PWMB and Bypass Dead Time for PWMA Rising and Falling Delay on PWMB and Bypass Dead Time for PWMA |
03df564 to
eab9827
Compare
df782c1 to
521fab7
Compare
9172bfb to
e88200f
Compare
|
This is an automated heads-up that we've just merged a Pull Request See #13763 A search suggests this PR might apply the STATIC macro to some C code. If it Although this is an automated message, feel free to @-reply to me directly if |
4d61f96 to
e6218be
Compare
1f41bcd to
7964650
Compare
7964650 to
9ff57fa
Compare
esp32/MCPWM: Add complementary PWMs. Signed-off-by: Ihor Nehrutsa <[email protected]> Co-Authored-By: Andrew Leech <[email protected]> Co-Authored-By: bskp <[email protected]> Co-Authored-By: Robert Hammelrath <[email protected]>
9ff57fa to
1e7a14e
Compare
|
Hello Ihor, |












If possible, this will be full support for the ESP32 MCPWM peripheral according to the
Motor Control Pulse Width Modulator (MCPWM)
In the future,
esp32.MCPWMwill allow the development of common cross-portmachine.COMPLEMENTARY_PWM,Space Vector PWM,machine.CAPTUREetc.Based on Basic MCPWM support #5818
Some code is taken from https://github.com/micropython/micropython/blob/master/ports/mimxrt/machine_pwm.c @robert-hh
The
py/mpprint.hfile from #8050, theports/esp32/mphalport.candports/esp32/mphalport.hfiles from #10888 will be removed from this PR when development is complete.