2020-03-17 05:46 PM
#define LL_TIM_COUNTERMODE_CENTER_UP TIM_CR1_CMS_0 /*!< The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting down. */
#define LL_TIM_COUNTERMODE_CENTER_DOWN TIM_CR1_CMS_1 /*!<The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting up */
Solved! Go to Solution.
2020-03-18 05:32 AM
Hello @DAlbe.1375 ,
You are right, I raised this issue internally for correction.
The mode are inverted and TIM_CR1_CMS_0 should be LL_TIM_COUNTERMODE_CENTER_DOWN.
Thank you for your highlight and contribution.
Best Regards,
Imen
2020-03-18 05:32 AM
Hello @DAlbe.1375 ,
You are right, I raised this issue internally for correction.
The mode are inverted and TIM_CR1_CMS_0 should be LL_TIM_COUNTERMODE_CENTER_DOWN.
Thank you for your highlight and contribution.
Best Regards,
Imen
2020-09-17 09:16 AM
Hello @DAlbe.1375 ,
This issue is fixed in the STM32CubeG4 V1.3.0.
Thank you for your contribution to improve our products.
Thanks,
Imen