cancel
Showing results for 
Search instead for 
Did you mean: 

BUG CubeMX F072RBT6 TIM1,2,3 Input capture mode sets pin to be an output

NWood
Associate

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. 

1 REPLY 1

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