z13660
z13660
I will test it these days. The oscilloscope is at school. Please wait for a little longer. (^_^)
I tested it. Add motor.foc_modulation =FOCmodulationTtype::SpaceVectorPWM, the waveform did change a little, but still not the standerd SVPWM. In SVPWM MODE the waveform will bounce around at the Edge. https://user-images.githubusercontent.com/23288802/117557701-78a4e980-b0a8-11eb-80b0-0ccf2f6b7bac.mp4...
OK I think I figure it out. Is it the timer2 problem? Changed the pin BLDCDriver3PWM(9, 10, 5, 8); and it work perfectly. Again if I use BLDCDriver3PWM(9, 10, 3,...
 
I don`t know if the phase shift will cause any problems. e.g. like causing the motor spinning less smooth.
Hey @askuric, Thanks for your codes. (^_^)
Thanks for your reply. test board are available on(arduino nano like) https://m.aliexpress.com/item/1005001693711452.html The chip has a 12bit adc maybe better at current sensing. I will order and try it.