Open nbrunner opened 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.
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
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.