Question
Why Does Timer Pin Stay High After Disable?
Posted on January 30, 2015 at 00:19
I'm setting up a PWM1 timer output on PC6. It configures and operates OK. However, at the end of the duration I run it for, I disable it, either by direct register, or the function call:
TIM_Cmd(TIM3, DISABLE); However, the output pin insists on staying high. Even if I do this: GPIOC->BSRRL = GPIO_Pin_6; it still remains high. No matter how I configure it: PU, PD, or NoPUPD. What's going on? How do i get this pin to stay low? I can run another channel and it behaves just fine, and stays low after running the timer disable function. thanks... #stm32f4-timer-output