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
  • 843 Views
  • 5 replies
  • 7 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
  • 720 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
  • 729 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
  • 880 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
  • 612 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX/CubeMXIDE F469I-Disco board generates incomplete SDIO code in main.c Latest versions, code sets hds1.init variables then ends section. MX_SDMMC1_SD_Init never calls anything. What's going on?

Have tried with earlier versions of CubeMX, different computer. Does the same thing. Do not see any use of the init structure (which is local). SD card is not initialized properly. Complete code generated is:tatic void MX_SDMMC1_SD_Init(void) {  ...