STMicroelectronics / stm32u5-classic-coremw-apps

Provide a set of applications for STM32U5xx series based on the STM32 Classic Core Middleware libraries.
Other
16 stars 6 forks source link

HAL_TIM_Base_Start_IT() called 2 times #1

Open nbrunner opened 1 year ago

nbrunner commented 1 year ago

In the function CDC_Itf_Init() of usb_cdc_if.c, HAL_TIM_Base_Start_IT() is called after TIM_Config() but TIM_Config() also call HAL_TIM_Base_Start_IT(). So the second call to HAL_TIM_Base_Start_IT() will return an HAL_TIM_STATE_BUSY error.

RJMSTM commented 1 year ago

Hello @nbrunner

Thank you for this report. We will get back to you as soon as we analyze it further. This may take some time. Thank you for your comprehension.

With regards, Rania