I tried to run the motor with PWM (six step trapezoidal method) the motor is taking full current & it's not working properly.
This logic i've followed
do i have to give same pwm on low side as high side , because low side inputs are inverted.
HALL(A,B,C) | INHA | INLA | INHB | INLB | INHC | INLC |
4 | 0 | 1 | PWM | !PWM | 0 | 0 |
6 | PWM | !PWM | 0 | 1 | 0 | 0 |
2 | PWM | !PWM | 0 | 0 | 0 | 1 |
3 | 0 | 1 | 0 | 0 | PWM | !PWM |
1 | 0 | 0 | 0 | 1 | PWM | !PWM |
5 | 0 | 0 | PWM | !PWM | 0 | 1 |