Skip to main content
NWood
Visitor II
January 11, 2019
Question

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

  • January 11, 2019
  • 1 reply
  • 681 views

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. 

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
January 11, 2019

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