Scolioza
Member level 1
Hi all.
I recentlly designed a full h bridge motor driver using L298.
I want to drive the motors using de PWM output on RC2 of a 16F877A uC.
I attached an interrupt on RB0, and in the interrupt routine, I increased the duty cycle by 50 units by pressing of a button.
The pwm freq. is 3kHz with 10 bit res.
The problem is that after 70% duty cycle the motor increases by itself the spining and then suddenly stops.
Reseting the uC fix this.
What can cause this?
I recentlly designed a full h bridge motor driver using L298.
I want to drive the motors using de PWM output on RC2 of a 16F877A uC.
I attached an interrupt on RB0, and in the interrupt routine, I increased the duty cycle by 50 units by pressing of a button.
The pwm freq. is 3kHz with 10 bit res.
The problem is that after 70% duty cycle the motor increases by itself the spining and then suddenly stops.
Reseting the uC fix this.
What can cause this?