STM32F2xx_HAL_Driver : error in the driver for TIM3 and TIM4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-13 2:37 AM
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
Labels:
- Labels:
-
STM32Cube MCU Packages
-
STM32CubeMX
-
TIM
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-22 1:06 AM
Posted on September 22, 2015 at 10:06
Hi there,
This bug is it fixed?Thanks,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-22 1:36 AM
Posted on September 22, 2015 at 10:36
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-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-09-23 5:25 AM
Posted on September 23, 2015 at 14:25
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-Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-25 3:00 AM
Posted on March 25, 2016 at 11:00
Hi,
Indeed, it is ok now. We can close this bu and mark this topic as solved :)Thanks.