cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with TIM16 on PB8, STM32F100VB

cnurton
Associate II
Posted on September 06, 2010 at 09:51

Trouble with TIM16 on PB8, STM32F100VB

1 REPLY 1
cnurton
Associate II
Posted on May 17, 2011 at 14:05

Problem solved.

I had to add TIM_CtrlPWMOutputs(TIM16, ENABLE);

 command after the TIM_Cmd(TIM16, ENABLE); command.  The ST examples do not show this function in their PWM examples. I found this while reading through the old firmware library document UM0427. I don't know why the other timers work OK in PWM mode without this command.