cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX: TIM Prescaler, Period bug

Green Panda
Associate

I used STM32G070 with LL instead of HAL!

If I enter the value "x - 1" into the TIM Prescaler or Period, then the cube generates "TIM_InitStruct.Prescaler = x - LL_TIM_IC_FILTER_FDIV1_N2"

0693W00000D1jA5QAJ.pngCubeMX Ver: 6.3.0

2 REPLIES 2
Khouloud ZEMMELI
ST Employee

Hello @Green Panda​ ,

Thank you for your post,

I'll check it then I'll get back to you :)

Khouloud

Khouloud ZEMMELI
ST Employee

Hi again @Green Panda​ ,

You're right, I confirm the issue, it occurs only with LL..

Thanks for your feedback and your contribution, it will be fixed.

Khouloud