STM32CubeIDE error?


Use TIM3 PWM --> GPIO_AF0_TIM3
but #define GPIO_AF1_TIM3
Error??


Use TIM3 PWM --> GPIO_AF0_TIM3
but #define GPIO_AF1_TIM3
Error??
Hello @SMj.1 ,
Thank you for bringing this point to our attention and thanks @Imen DAHMEN for the tag.
Actually you're right, the build problem occurs when remapping TIM3_CH3 function to a pin other than PB0 pin (PC8) .
In fact, backing to the STM32F051 Data Sheet, TIM3_CH3 is AF1:TIM3 Alternate Function selected through GPIOB_AFR registers for port B:
With this being said, this problem is reported internally to be fixed. I'll keep you posted with updates.
Internal ticket number: 117811 (This is an internal tracking number and is not accessible or usable by customers).
Sorry for any inconvenience that this may cause.
Even though this reply doesn’t directly solve the issue, I’m marking it as Best, since it will help clarify the current situation for other customers with the same question. I will post an update here once the issue has been fixed.
Khouloud.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.