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

How NOT to use newlib in STM32CubeMX GCC project

When I create a new STM32Cube IDE project with STM32CubeMX, it uses newlib.The project uses freeRTOS. Is it possible to disable this, and make it use standard libs?I can't find a flag anywhere, to do this.When I create an MDK or EWARM project, they d...

KKjel.1 by Senior
  • 1934 Views
  • 2 replies
  • 0 kudos

CubeMx cube-cellular expansion IPV6 support?

I am working on a project which use cubeMX cellular expansion package, it works fine for IPv4.Now I am enabling IPV6.I found even LwIP supports the IPv6, the expansion package has very limit support for that.For example, the IP interface of STM32_Ce...

jiangpen by Associate II
  • 767 Views
  • 0 replies
  • 0 kudos

CubeMX generates a wrong case init in void SystemClock_Config(void) (main.c). I changed this line manually, is there workaround or an automation for this ?

/** Initializes the CPU, AHB and APB buses clocks */ //RCC_ClkInitStruct.ClockType = ClockTypeHCLK|ClockTypeSysClk // |ClockTypePCLK1|ClockTypePCLK2;   //Has to be: RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_SYSC...

Brieuc by Associate III
  • 802 Views
  • 2 replies
  • 0 kudos

Resolved! How to read clock frequencies from code? Even a #define for the hardcoded startup values would be useful.

CubeMX allows one to enter clock frequencies and have all the registers to be set back calculated. Great! This saves much fiddling. However... is there anyway for the code to determine, for example, what the frequency if a clock going to the ADC is w...

FColl.1 by Associate III
  • 937 Views
  • 3 replies
  • 0 kudos

Resolved! HAL & STM32CubeMx

I will be working with some STM32F4 processors soon and so I am doing some reading ahead. What I am not clear on is if I use HAL to setup I/O or peripherals do I need to use STMCubeMX to set up the pins?Can STMCubeMX (pin editor?) be opened from IDE?...

MKent.1 by Associate
  • 664 Views
  • 1 replies
  • 0 kudos