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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 1000 Views
  • 0 replies
  • 1 kudos

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

Resolved! STM32CubeMX 5.6 bugs: LWIP static IP address missing in lwip.c, generated function calls ranking not working correctly

Hi!I tried to set peripheral initialization order in Project Manager->Advanced Settings.After I finished sorting the list and saved the project, the function list mixed.The problem is reproducable. When you save the project, the function list gets a ...

PTiha by Senior
  • 4022 Views
  • 15 replies
  • 1 kudos

STM32CubeIDE generate wrong code in USB_HOST with FreeRTOS

File \USB_HOST\Target\usbh_conf.h has the definitions:#define USBH_malloc     malloc#define USBH_free      freeThis does not work with FreeRTOS. It will be better, but maybe not perfect:/** Alias for memory allocation. */ #if (USBH_USE_OS == 1) #defi...

NDubr.1 by Associate
  • 492 Views
  • 0 replies
  • 0 kudos

Unable to open ioc file

Thank you for helping.environmentSTM32CubeIDE Ver1.3.0Unable to open ioc file.The following message is displayed when building.'STM32F769I_DISCO.ioc' is requiring code generation.Click OK to build without invoking Device Configuration Tool code regen...

Ebun.1 by Senior
  • 900 Views
  • 2 replies
  • 0 kudos

Resolved! Cube MX 5.3.0 ERROR?

hi, I am working with the NUCLEO-F207ZG card and I have configured USART2 on port D.Now CubeMx offers me the setting of the RX pin in Push-pull mode !!!!!! The same for CTS !!!And there is no way to set the pin in any other way !!!Can anyone give me ...

0693W000000VCeoQAG.png

Resolved! When configuring GPIO's as external interrupts, CubeMX is generating code to enable interrupts immediately. This can be annoying if the interrupt fires before the software is fully initialized.

Using an operating system such as free-rtos, it is common to send a message from the interrupt to a thread, but if the handle to the thread is not yet created - a hard-fault is usually seen. Testing a flag in the interrupt routine activated when the ...

mads.l by Associate II
  • 1306 Views
  • 3 replies
  • 0 kudos

Resolved! Unable to locate examples!!

I just installed the STM32CubeMX IDE and the packages for the STM32F7xx MCU. (I have used IDE's from IAR, Atmel and other sources for decades.) Unlike other IDE's, it appears that the current version of the STM32CubeMX does not contain any example ...

Why CUBEMX is generating in wrong sequence the init functions?

Hi, I wanted to use DMA with ADC, I configured all parameters in CubeMX in STM32IDE but it did not work. I analysed that and the problem was in init functions. CUBEMX calls first the ADC_init function and later the DMA_init function. ADC_init configu...

NTosi by Associate III
  • 766 Views
  • 3 replies
  • 0 kudos

FreeRTOS Low Power example on STM32L496VG

HiI've flashed my device STM32L496VG with the Cube FreeRTOS Low Power example from STM32Cube_FW_L4_V1.15.0. Now I cannot flash my device again, using both Segger j-flash and IAR.I'm getting the "connecting to CPU via connect under reset fails".Any su...

deckhard by Associate III
  • 1185 Views
  • 7 replies
  • 0 kudos

STM32CubeMX is not running!

HiI installed STM32CubeMX on my system(Windows 10 OS) but it isn't running!When I try to open it, welcome window pops on but after fading nothing would be opened.I tried to run it as administrator and also I uninstalled and reinstalled it and even re...