2016-01-19 02:33 AM
Hello,
I couldn't find bug/issue tracking system for CubeMX, so I place report here.Description: When generating initialization code for TIM4 in input capture mode (channel 1 direct, channel 2 indirect), HAL_TIM_Base_MspInit() function is being generated in stm32f1xx_hal_msp.c file. This is incorrect function for input capture mode, as far as I understand, which leads to timer not capturing signal.CubeMX project file is attached
Expected behaviour: HAL_TIM_IC_MspInit() function should be generated.Notes:I've a
dded HAL_TIM_IC_MspInit() manually, which fixed the problem for me.Additional info: CubeMX version: 4.11.0 MCU used: stm32f103c8t6 Library version:STM32CubeF1 Firmware Package V1.2.0 / 31-July-2015
#cubemx #bug
2016-01-20 06:27 AM
Hi NikolayBobovnikov,
Thank you for your feedback. The issue has been reported internally.-Syrine-2016-02-08 10:15 AM
Dear user,
This has been fixed in STM32CubeMX 4.12 release. Best regards