Skip to main content
Associate II
August 23, 2025
Solved

report bug in STM32CUBEMX(6.15.0) for stm32g431

  • August 23, 2025
  • 1 reply
  • 328 views

There's a bug in the latest version of stm32cubemx(6.15.0), I migrate my configuration into this version of cubemx, then generate code, and I did not notice that cubemx could change my config and stick into it.

I mean, I use tim3 ch2 & ch3 to generate a fixed squrewave, so I set counter period as 5249, and ch2 & ch3 pulse as 2624, then generate code. Ch2 is fine, but ch3 pulse setting will be generated as 5249 in code. And after I save config.ioc file, then reopen it, in the ch3 pulse collumn it shows 5249, although I changed it and saved for so many time, it just remain showing this 5249 value.

I'm so exhausted to find the problem, it's so unlogic and mysterious. Please follow up this bug to help other developers from this heck......

p.s.I attached my ioc file for you to investigate.

Best answer by TDK

Unable to duplicate.

Changed CH2 and CH3 to 2624 (only CH2 was set to this), generated code. Code is correct. Closed IOC. Re-opened IOC. CH2 and CH3 are still 2624.

TDK_0-1755956966682.png

 

1 reply

TDK
TDKBest answer
Super User
August 23, 2025

Unable to duplicate.

Changed CH2 and CH3 to 2624 (only CH2 was set to this), generated code. Code is correct. Closed IOC. Re-opened IOC. CH2 and CH3 are still 2624.

TDK_0-1755956966682.png

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
TomZhuAuthor
Associate II
August 24, 2025

Thank you!

Yes I tested just now and everything is perfect.

But I'v duplicated this problem about 10 times yesterday... I don't know what happened.