2015-03-13 02:37 AM
Hi,
There is an error in the file stm32fxx_hal_tim.c, for TIM3 and TIM4 capture compare.We never enter in the callback because of this error. * @file stm32f2xx_hal_tim.c * @author MCD Application Team * @version V1.0.1 * @date 25-March-2014Line 2749 and 2770 => you must replace CCMR1 by CCMR2. /* Input capture event */ if((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00) { HAL_TIM_IC_CaptureCallback(htim); } /* Input capture event */ if((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00) { HAL_TIM_IC_CaptureCallback(htim); }Can the ST team update this driver ? Since it's a part of the drivers used by CubeMx, it's a very annoying problem.Thanks :) #tim #stm32 #hal #stcubemx2015-09-22 01:06 AM
Hi there,
This bug is it fixed?Thanks,
2015-09-22 01:36 AM
Hi Stivy,
I will report the issue to our development team.Thank you for the information and sorry for the inconvenience that it may bring-Syrine-2015-09-23 05:25 AM
Hi Stivy,
Sorry for the late response.Your reported issue is confirmed by our team and will be fixed in coming release of the STM32cubeF2 package.Thank you very much for your contribution to the enhancement of our STM32 related solutions.-Syrine-2016-03-25 03:00 AM
Hi,
Indeed, it is ok now. We can close this bu and mark this topic as solved :)Thanks.