AnsweredAssumed Answered

STM32Cube: TIM OnePulse/PWM/OC configuration issue

Question asked by Holfert.Jan on Jul 30, 2014
Latest reply on Sep 11, 2014 by Montassar BEN ROMDHANE

setting up timer TIM1 in OnePulse mode does not work on channel 3 and 4.
As I figured out, only channels 1 and 2 are handled by HAL_TIM_OnePulse_ConfigChannel.
Finally, I have the following issues to be discussed.
Any comments are welcome.

1. The controller reference manual does not contain such a restriction. Does anyone can tell why channels beyond 2 are disallowed?

2. Why does a configuration request for channels 3 and 4 response with HAL_OK despite they are not accepted by the function HAL_TIM_OnePulse_ConfigChannel?

3. There is a missing assertion in HAL_TIM_PWM_ConfigChannel:
In function HAL_TIM_OC_ConfigChannel there is such a assertion despite this configuration parameter is not used.