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.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1017 Views
  • 5 replies
  • 7 kudos

Resolved! Adding User Label in CubeMX, and regenerating code, CubeIDE doesn't add appropriate #define resulting in undeclared errors. Is this the design behavior?

Shouldn't CubeMX 6.01 create the #defines that coorespond to newly added User Labels in an existing project ? Of course it works if I add the User Labels as #defines manually. If this is the expected design behavior, please let me know...Thanks,Heath...

HGran.1 by Associate II
  • 2275 Views
  • 4 replies
  • 0 kudos

STM32H7B3I-DK__Build Errors__MX_I2C4_Init__have void (void)

Dear Sir, Hardware: STM32H7B3I-DKSoftware: STM32MX 6.12.1 / STM32CubeIDE 1.16.1 / TouchGFX 4.24.1/ STM32Cube_FW_H7_V1.11.0/2 Programming for using the STM32H7B3I-DK according to STM32 Graphics Workshop; started with STM32MX, did each step refer to th...

EY1_0-1733205211426.png EY1_1-1733205248468.png EY1_2-1733205853048.png EY1_3-1733205903743.png
EY1 by Associate II
  • 1401 Views
  • 2 replies
  • 0 kudos

Help setting up comparator on STM32G0B1

Hello,New to this forum and quite new to STM32 platform, so hi to the community! I have trouble setting up comparator on board nucleo-stm32G0b1RE. I've been following some tutorials on how to setup through stm32CubeMx, I believe I have the settings r...

Kemsa_0-1733814768028.png Kemsa_1-1733814784987.png
Kemsa by Associate II
  • 645 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeIDE while(1) bug? Linux versions

Hello, I see in code generated by all Linux versions of CubeIDE that USER CODE BEGIN and USER CODE END tags in infinite loop, are not in the better place.Code generated by Cude IDE: /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { ...

xisco by Senior
  • 1010 Views
  • 3 replies
  • 3 kudos