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

How do I set the STM32CubeMX firmware location?

I am using STM32CubeMX for projects. Due to the configuration of our system. I set the firmware location to an alternate directory using the Project Manager tab.  Everything generates fine. However, if I save the project, close it and reopen it, the...

AWolf.8 by Associate III
  • 3746 Views
  • 4 replies
  • 0 kudos

Project generation for STM32H7 with FreeRTOS + LwIP

Hello,I think there is a room for improvement in the cube when we create a project with LwIP and FreeRTOS. With the recent HAL update 1.10.0, whole ethernet driver changed and with it also the addresses where the buffers can be saved. With this our e...

Mistake - Edit in CubeMX

Hi ST,In CubeMX (5.6.0), when I want to use FreeRTOS - it would be fine when the functions like prvSetupTimerInterruptwere WEAK because usually is needed this functon edit by user, and there is no good idea to change it always after regeneration pr...

JJRR by Senior
  • 622 Views
  • 2 replies
  • 0 kudos

FreeRTOS priorities

Please. In STM32CubeMX I want to set the same priority for RTOS timers and for tasks - what is equivalent of osPriorityNormal... what Number should I set for timer priority?Thank you. Jan.

JJRR by Senior
  • 5689 Views
  • 6 replies
  • 0 kudos

CubeMX RTC number format

All input fields in the RTC section for dates and times suggest that I'm entering a decimal value. But the generated code interprets my input as Hex.I.e. if I enter 10 in the field for the RTC alarm seconds, the code sets "sAlarm.AlarmTime.Seconds = ...

Resolved! Configurations for FMC NOR flash on STM32H7A3

HI,I have a custom board with FMC NOR memory S29GL512S11 controlled by STM32H7A3. I created one external loader to flash the NOR memory and works wells. When I try to use the same configurations with the SYSCLK 280MHz and FMC clock 140MHz I can't hav...

LCris.1 by Associate II
  • 4294 Views
  • 10 replies
  • 0 kudos

Resolved! When configuring an STM32L452RE on the NUCLEO-L452RE, there is a difference in the HSI16 clock speed depending on whether configuration is done by HAL or LL.

Configuring the NUCLEO-L452RE via HAL using nothing but the default values for the board in STM32CUBEIDE and setting PA8 as the master clock output to monitor HSI16, the clock frequency at PA8 is 16MHz. When configuration is done via LL (Project Mana...

JSawa.1 by Associate II
  • 1600 Views
  • 5 replies
  • 0 kudos