STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
182 stars 98 forks source link

Timer Prescaler Setting Math operation will produce wrong code #24

Closed VictorTagayun closed 3 years ago

VictorTagayun commented 3 years ago

Describe the set-up

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.

Screenshots image

image

ASELSTM commented 3 years ago

Hi @VictorTagayun,

This issue is rather related to CubeMX than to the firmware published within this repository. Actually, aspects related to CubeMX tool are not handled at GitHub level. They are rather treated at ST Community level, precisely within the CubeMX dedicated section. There, you may find posts that already raised the issue you are pointing out here. Otherwise, you can create a new post to submit your issue.

Since this issue is out of our scope, please allow me to close this issue. Thank you for your comprehension.

With regards,

VictorTagayun commented 3 years ago

Just in case someone found this same issue. It is a CubemX one. https://community.st.com/s/question/0D53W00000aqkBISAY/timer-prescaler-setting-math-operation-will-produce-wrong-code