pwm input mode low frequncy

hi

i work with stm32f107

pleas answer me

how i can measure frequency in 50 hz with input pwm

i read about it and find out i can measure frequency with input pwm up to 1100
but input pwm have TIM_ICPrescaler that i think devide pwm frequncy

it is true ?

if no , please say me how i can measure 50 hz?

Parents
  • For a start off, forget about microcontrollers.

    Think about what are the basic principles of frequency measurement:

    - what do you need to detect?

    - what do you need to measure?

    - how do you deduce frequency from the measurement(s)?

    If you don't understand the fundamental principles, you won't be able to implement them - whether with a microcontroller or anything else!

    Once you do understand the fundamental principles, then you can look at the features available on your microcontroller, and see which will be useful ...

Reply
  • For a start off, forget about microcontrollers.

    Think about what are the basic principles of frequency measurement:

    - what do you need to detect?

    - what do you need to measure?

    - how do you deduce frequency from the measurement(s)?

    If you don't understand the fundamental principles, you won't be able to implement them - whether with a microcontroller or anything else!

    Once you do understand the fundamental principles, then you can look at the features available on your microcontroller, and see which will be useful ...

Children
More questions in this forum