AnsweredAssumed Answered

why there is no filtering of timer inputs when in encoder mode ?

Question asked by karakaya.mehmet on Jun 18, 2012

hello

can anybody tell me

which ccmr and smcr bits to set for filtering inputs in timer encoder mode

I tried below setting but no success

    TIM_EncoderInterfaceConfig(TIM4,TIM_EncoderMode_TI12,TIM_ICPolarity_Rising,TIM_ICPolarity_Rising );
    TIM4->SMCR|=0x0f00;
    TIM4->CCMR1 = 0xF1F1;

I mean things dont get better with above setting

Outcomes