so, have a issue with my Nano. I am controlling two brushless motors via 3 PWM Pins per motor. Now, to keep the motors silent I increased the PWM Frequency to the maximum with this code Arduino Playground - PwmFrequency . But now, when I set that Frequency also for the second motor (without doing any code modifications and not even staring to control the second motor, just setting the frequency), the nano slows down massively, making it basically not usable. Unfortunately I can not switch to a bigger arduino for this project.
Is there a way to work around this? All help is welcome.
So these are PMAC motors, not BLDC, since you are using sinusoidal drive?
Do you know how to generate proper 3-phase PWM? It needs synchronized timers to 3
PWM signals in sync on the Uno.
Unless your motor has 6 wires rather than 3 for the windings you require proper 3-phase
PWM or trapezoidal drive (the same motor would be called BLDC under trapezoidal drive!)