Skip to main content
dst
Associate
October 14, 2020
Solved

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

  • October 14, 2020
  • 2 replies
  • 738 views

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.
Best answer by Imen GH

​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
October 22, 2020

​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
October 22, 2020

​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