AnsweredAssumed Answered

TIM9 External Clock Source Mode 1

Question asked by twe on Sep 20, 2016
Latest reply on Sep 21, 2016 by FTITI.Walid

I try to count impulses from a rotating motor (pulse length: 280 us)

I use STM32CubeMX (Version 4.16.1; STM32Cube V1.0) to configure the STM32F746.

I configured TIM9 slave mode for external clock source mode, TI1FP1(GPIO PE5) as trigger source.

I want to read the CNT register every 1 second. Is it the right way? 
Can someone verify, if CubeMX generates the code right?

The resulting code seems not to configure the input correctly. (CCMR1 is 0x00), should be 0x01 in my opinion.

The CNT register is always 0 (also if motor is rotating)

Thanks in advance