Timer Prescaler Setting Math operation will produce wrong code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-23 5:10 PM
I am not sure if this should be in github or here. But I encounter erroneous code when I use math operation on Timer Prescaler setting, details are below
Describe the set-up
- The board : NUCLEO-G474RE
- IDE or at least the compiler and its version : CubeIDe 1.5.1 and CubeMX 6.1.1-RC2, F1.3.0
- Win10
Describe the bug
TIM6 LL in CubeIDE/MX prescaler cannot use math operation like 170 - 1, (170-1), 170-2, etc.
This is not a problem with ARR.
posted in https://github.com/STMicroelectronics/STM32CubeG4/issues/24
- Labels:
-
STM32CubeMX
-
STM32G4 Series
-
TIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-23 10:59 PM
Hello @victagayun​
Thanks for your feedback, I'll check it then I'll get back to you.
Khouloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-24 2:38 AM
You're right, I have reproduced the issue on my side and it will be fixed.
Thank you @victagayun​ for raising this issue to our attention and we're sorry for any inconvenience this may have caused.
Khouloud
