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
  • 1008 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
  • 1392 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...