Skip to main content
semler
Associate II
January 31, 2021
Question

STM32F051R4 - timer capture input value when not selected as an input

  • January 31, 2021
  • 1 reply
  • 735 views

I have question about value of the TIM2_CH1 and TIM2_CH2 if they are not selected by any pin in AFR registers. Is there "default connection" or they are left floating or they are grounded?

I need to know this as I cannot use these two inputs on any pin. Only I can use TIM2_CH3. I want to use this input along with XOR function to triggering (by using TI1S bit in CR2 register).

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
January 31, 2021

This unfortunately was never confirmed by ST, but it appears that AF which are not assigned to any pin in GPIO are solid 0.

JW