AnsweredAssumed Answered

Drive low TIM output in not active state

Question asked by Sitnikov.Vjacheslav on Jul 16, 2013
Latest reply on Jul 31, 2013 by Amel N
I have STM32F4-discovery board. And I use code from example to configure PWM output.

Chapter 14.4.9 TIMx capture/compare enable register (TIMx_CCER) of RM0090:
  Bit 0 CC1E: Capture/Compare 1 output enable.
    CC1 channel configured as output:
      0: Off - OC1 is not active
      1: On - OC1 signal is output on the corresponding output pin
CCxE bit = 0 - Output Disabled (OCx=0, OCx_EN=0)

I tried to use following  configuration for TIM3 in PWM mode:
  TIM_OCInitStructure.TIM_OCMode = TIM_OCMode_PWM1;
  TIM_OCInitStructure.TIM_OutputState = TIM_OutputState_Disable;
  TIM_OC1Init(TIM3, &TIM_OCInitStructure);
  TIM_OC1PreloadConfig(TIM3, TIM_OCPreload_Enable);

But in fact output line is in high state. Is it possible to drive timer/pwm output line to low state?