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

Resolved! STM32CubeMx sometimes not generating MX_USB_DEVICE_Init()

STM32CubeMX v6.1.0, H7 lib v 1.8.0is generating code where main() calls MX_USB_DEVICE_Init();, but MX_USB_DEVICE_Init does not seem to be defined anywhere.int main(void) { ...   /* Initialize all configured peripherals */ MX_GPIO_Init(); ... MX...

0693W000006EtI2QAK.png
RMart.0 by Associate III
  • 1389 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX 6.1.0 RTC alarm init bug

Hi,I noticed that if I enable an alarm for the RTC using CubeMX 6.1.0 with date/weekday mask enabled, it results in this line being generated:RTC_AlarmStruct.AlarmMask = RTC_ALARMMASK_DATEWEEKDAYHowever, that flag is undefined. In my case, it should ...

a.gajdacs by Associate II
  • 1018 Views
  • 3 replies
  • 0 kudos

Resolved! How to find matching drive level for LSE crystal?

After reading the Oscillator Design Guide, I picked a LSE crystal for my F7 from the list provided in that guide.But how do I know what the appropriate drive level is? My crystal has a max drive level of 1 uW. But does that corresponds to Low, Medi...

Wrong Folder for Code Generation

When I want to generate code with STM32CubeMX 5.3.0 for STM32CudeIDE, a new folder is created instead of using the folder containing the .ioc file when the .ioc file isn't named like the folder containg it. Only the .mxproject is created at the right...

CubeIDE + CubeMX .ioc checkbox being unchecked unexpectedly

CubeIDE V1.2CubeMX V5.6.1Have not been able to pin down exactly what is happening here, but I have seen it several times. I believe it has something to do with closing the .ioc file in CubeIDE. Or possibly with changing certain settings causing other...

PLane.1 by Associate II
  • 636 Views
  • 1 replies
  • 0 kudos