Question
STM32F2xx_HAL_Driver : error in the driver for TIM3 and TIM4
Posted on March 13, 2015 at 10:37
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 #stcubemx