STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

Resolved! STM32CubeMX USB CDC Library Problem.

MCU : STM32F446RETCubeMX Version : 4.26.1​===​Hi! I'm currently developing usb CDC(Communication Device Class / USB-OTG-FS) through STM32CubeMX.​​When I upload the automatically generated code without changing any settings, the usb device will not be...

0690X000006BtkfQAC.png 0690X000006BtkkQAC.png
YKim.7 by Associate II
  • 1564 Views
  • 3 replies
  • 1 kudos

STM32CubeMX UTF8 source file merge bug

Posted on February 15, 2017 at 04:28It seems STM32CubeMX can not handle well with UTF8 source file.If my main.c is encoded in UTF8, regenerating code in STM32CubeMX will lead to a scrambled mess. Characters above ASCII range are converted to gibberi...

PT Wang by Associate
  • 3101 Views
  • 7 replies
  • 0 kudos

Resolved! CubeMX Makefile Generator Reported Error while Updating Project

Posted on June 07, 2018 at 18:44After updating to CubeMX 4.26.0, Makefile projects cannot be updated due to the following errors:2018-06-08 00:35:55,360 [INFO] ToolchainGenerator:120 - stack trace : java.lang.UnsupportedOperationException: Not suppo...

0690X0000060BanQAE.png
imi415 by Associate II
  • 2983 Views
  • 11 replies
  • 0 kudos

Bug report: PLL configuration in HAL_RCC_OscConfig() returns HAL_ERROR, if HSE is configured and PLL is the system clock source

Working with the STM32F429 Discovery board and STMCube_FW_F4_V1.21.0 I've got the same problem several times.If I use the main.c provided with the application examples, the code will run into an endless loop after calling HAL_RCC_OscConfig and taking...

TS1 by Associate
  • 847 Views
  • 2 replies
  • 1 kudos

STM32L1 IWDG setup problem

Hi All,​I am using 32L100C Discovery board to develop my own project at the moment and I just need to add watch dog in my code. Everything works fine until I code generate IWDG according to the attached slides although settings are different and RCC ...

WHuan.16 by Associate II
  • 651 Views
  • 0 replies
  • 0 kudos

STM32L100 watchdog setup

Hi Everyone,I am using STM32L100RCT6 at the moment for my own personal project and I want to add watchdog function in my code especially IWDG. So I want to ask if there is any tutorial and example code I could use or does anyone has experience in set...

WHuan.16 by Associate II
  • 1102 Views
  • 3 replies
  • 0 kudos

Resolved! STM32CubeMX Installer Java RTE

Posted on February 22, 2017 at 15:30I'm trying to install STM32CubeMX on Win10 64bit.I know I have Java Version 8 Update 121 installed and I'm sure it's working (since I'm using it).Now when I invoke SetupSTM32CubeMX-4.19.0.exe a window pops open af...

STM32CubeMX I2C Timing Register Calc Wrong?

Posted on March 30, 2018 at 00:30I was looking at the timing value that STM32CubeMX calculated for the I2C timing register in my STM32F486.  I have the I2C1 clock in at 80MHz.  I checked the data sheet and did not see a maximum value for the I2CCLK ...