cancel
Showing results for 
Search instead for 
Did you mean: 

Reciprocal counter

kosta
Associate
Posted on November 14, 2013 at 14:27

Hi,

i tried realizing reciprocal counter with STM32F429i, any sugestion how to synchronize start/stop two counters with diferent externat clock?
1 REPLY 1
Posted on November 14, 2013 at 15:40

Depends on the frequency and the nature of the signal being measured.

You can clock from an external source.

You can trigger/gate from an external source.

You can measure period/duty with PWM Input or Input Capture modes.

STM32F4xx_DSP_StdPeriph_Lib_V1.2.0\Project\STM32F4xx_StdPeriph_Examples\TIM\TIM_ExtTriggerSynchro\main.c

STM32F4xx_DSP_StdPeriph_Lib_V1.2.0\Project\STM32F4xx_StdPeriph_Examples\TIM\TIM_PWMInput\main.c

STM32F4xx_DSP_StdPeriph_Lib_V1.2.0\Project\STM32F4xx_StdPeriph_Examples\TIM\TIM_InputCapture\main.c

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..