AnsweredAssumed Answered

using a timer to count pulses on STM32F7

Question asked by panduro.soeren.002 on Nov 8, 2017
Latest reply on Nov 8, 2017 by panduro.soeren.002

Hi 

 

I have a question about using a timer to count pulses form a encoder (only one pin) I don't care about the direction.

 

I'm trying to use Timer 3, but I'm not sure how to set it up in CubeMx.

 

 

I start it with: 

HAL_TIM_Base_Start( mpEncoderTim );

 

And read with: 

count = mpEncoderTim->Instance->CNT;

 

Hope anyone of you, have done this before, so you can give me a hint 

 

thanks in advance and best regards

panduro..

Outcomes