Skip to main content
Green Panda
Visitor II
August 6, 2021
Question

STM32CubeMX: TIM Prescaler, Period bug

  • August 6, 2021
  • 2 replies
  • 1559 views

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

This topic has been closed for replies.

2 replies

Khouloud ZEMMELI
ST Employee
August 6, 2021

Hello @Green Panda​ ,

Thank you for your post,

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

Khouloud

Khouloud ZEMMELI
ST Employee
August 6, 2021

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