cancel
Showing results for 
Search instead for 
Did you mean: 

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

dst
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen GH
ST Employee

​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

View solution in original post

2 REPLIES 2
Imen GH
ST Employee

​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
ST Employee

​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