2020-10-20 10:34 AM
2020-10-20 11:43 AM
Read out and check/post the relevant TIM and GPIO registers content.
JW
2020-10-20 11:43 AM
Read out and check/post the relevant TIM and GPIO registers content.
JW
2020-10-21 04:44 AM
Thanks for the tip. Yes I checked and the AFR was not configured correctly. I use the STM32CubeIDE to initialize the ports. When I use PD2 to connect to TIM3_ETR, everything is configured correctly. When I use PA0 to connect to TIM2_ETR, the AFR register is not configured.
Bug in STM32CubeIDE or I misuse it? Anyway, I found my bug.
regards