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
  • 607 Views
  • 5 replies
  • 6 kudos

Potential overflow in HAL_Delay

I *think* that the check on line 7 below is to make sure that wait doesn't overflow when adding uwTickFreq. This isn't guaranteed to work unless uwTickFreq is 1.  __weak void HAL_Delay(uint32_t Delay) { uint32_t tickstart = HAL_GetTick(); uint32_...

abellia by Associate
  • 511 Views
  • 2 replies
  • 3 kudos

Resolved! CubeMX doesnt generate any code

Hello,I am new to programming STM MCUs and currently working with an STM32H745I-DISCO board.I am trying to implement a simple blink project. In CubeMX, I created a new project and configured pin PJ2 as an output push-pull. Then, in the Project Manage...

RafaelS by Associate III
  • 1035 Views
  • 4 replies
  • 0 kudos

Hey everybody, is it possible to convert code for the STM32F103C8T6 so it works on the NUCLEO F446RE? Or can I just use the same code and use in STM32CubeMX?

I'm trying to do a Project with the MAX30102. I can read out the raw data of the sensor but I am unable to understand the algorithm to calculate the Heartrate and SPO2 out of the raw data. The only examples I can find are for Arduino Boards but that'...

FEnis.1 by Associate
  • 5193 Views
  • 5 replies
  • 0 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
  • 2181 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
  • 1352 Views
  • 2 replies
  • 0 kudos