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! 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
  • 1971 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
  • 1223 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
  • 518 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
  • 788 Views
  • 3 replies
  • 2 kudos

Resolved! SMPS Configuration

Using STM32CubeMX Version 6.11.1 for code generation of STM32U545RETxQ LQFP64.When pressing "Generate Code" there is a message recommending SMPS setting from the PWR menu.However, no SMPS there and not anywhere in the configuration menu. (Attached)An...

IP.2 by Associate II
  • 805 Views
  • 1 replies
  • 0 kudos

Resolved! Fail to find a clock

Hello there,I’m trying to squeeze functionality into an STM32U5 MCU via the STM32CubeMX tool.After setting the pins, the clock configuration fails to find a solution.The requirements for the clock are to run from an internal source, as the design is ...

IP.2 by Associate II
  • 545 Views
  • 2 replies
  • 0 kudos