2019-01-11 08:16 AM
Hi, I tried to establish TIM3 (as well as TIM1 and TIM2) of F072RBT6 to work in the Input mode to capture pulses. But, I found that in the "GPIO mode" field for this pin is no an Input mode, but the Output (Alternate Function Push-pull)!! I think it is bug. Please check screenshot of the latest CubeMX. The same bug present for the F072RBT6 in previous CubeMX ver.4 too.
There is no such problem with F103C8T6 MCU.
2019-01-11 08:27 AM
I don't Cube/CubeMX, but if this sets the respective field in GPIOx_MODER to AF, it's OK - the attached peripheral (here the timer) governs the direction of pin.
JW