Hey,
I have a T3.5 with an motor driver (MC33926). The interface is with two pwms. The problem: when uploading a new sketch while driving the motor, the motor spins full speed for couple of ms.
After looking at the pwm pins with the Oszi I found the following:
blue: the line with is driven with pwm.
yellow: other pwm line which is held low.
The moment the pwm stops is when I upload the new sketch. Depending of the last pwm state, the pin is held low or high. If high the motor will spin full speed for a couple of ms, which is not really something practical.
Any explanaitions why the teensy stops pwm, holds the last pwm state for a couple ms and then pulls both high?
Thanks
I have a T3.5 with an motor driver (MC33926). The interface is with two pwms. The problem: when uploading a new sketch while driving the motor, the motor spins full speed for couple of ms.
After looking at the pwm pins with the Oszi I found the following:
blue: the line with is driven with pwm.
yellow: other pwm line which is held low.
The moment the pwm stops is when I upload the new sketch. Depending of the last pwm state, the pin is held low or high. If high the motor will spin full speed for a couple of ms, which is not really something practical.
Any explanaitions why the teensy stops pwm, holds the last pwm state for a couple ms and then pulls both high?
Thanks