AnsweredAssumed Answered

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

Question asked by karakaya.mehmet on Jun 21, 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  (stm32F103)

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