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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 1560 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
  • 573 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
  • 613 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
  • 678 Views
  • 3 replies
  • 0 kudos