Skip to main content
dst
Associate
Oct 14, 2020 8:45 PM UTC
Solved

STM32CubeMX version 6.0.1 defines a wrong AF function for PC8 and TIM3_CH3 for STM32F030C8

STM32CubeMX in version 6.0.1 does generate an invalid alternate function setting for PC8 and TIM3_CH3 for STM32F030C8. The datasheet states that this should be alternate function 0. See https://www.st.com/resource/en/datasheet/stm32f030c8.pdf. A look into the relevant GPIO-STM32F051_gpio_v1_0_Modes.xml file reveals that the signal description for TIM3_CH3 maps to GPIO_AF1_TIM3 instead of GPIO_AF0_TIM3 in case of GPIO pin PC8.

This topic has been closed for replies.
Imen GH
Imen GHBest answer
ST Employee
Oct 22, 2020 4:34 PM UTC

​Hello @DS.5tarke​ 

I checked for LQFP64 package and I confirm the issue.

I will raise this issue internally for correction.

Thanks for your contribution

Imen

2 replies

Imen GH
ST Employee
Oct 22, 2020 2:46 PM UTC

​Hello,

According to the datasheet, the PC8 is not available for the LQFP48 package.

PC8 is only available for LQFP64 package, as shown in Figure 4  (LQFP64 64-pin package pinout) of datasheet: https://www.st.com/resource/en/datasheet/stm32f030c8.pdf

Imen

Imen GH
Imen GHBest answer
ST Employee
Oct 22, 2020 4:34 PM UTC

​Hello @DS.5tarke​ 

I checked for LQFP64 package and I confirm the issue.

I will raise this issue internally for correction.

Thanks for your contribution

Imen