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

Debugger not reading .elf file

I’ve written a stm32 C program on the Stm32CubeMX environment, and it builds with zero errors and warnings. However when I debug, it gives me an error. (See attached photo) Any help to fix it would be amazing!

Resolved! CubeMX 6.5.0 code generation error when ADC enables temperature sensor�?Vref and Vbat channel(LL library)

Hello Everyone,I am using STM32G474RE and the STM32CubeMX version is 6.5.0.When ADC5 enables temperature sensor�?Vref and Vbat channel, STM32CubeMX will generate code in MX_ADC5_Init function(LL library):/** Configure Regular Channel */ LL_ADC_REG_Se...

Shen by Associate II
  • 939 Views
  • 3 replies
  • 0 kudos

You can also use PDM2PCM on STM32F3 in CubeMX

Just like what I did in G4, I was able to add PDM2PCM in F3 namely F334 and F302.https://community.st.com/s/question/0D53W00001TGJ2wSAH/why-is-pdm2pcm-not-enabled-for-stm32g4-in-cubemxPls add PDM2PCM in F3 as well.

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
  • 3225 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
  • 551 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
  • 5189 Views
  • 6 replies
  • 0 kudos