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

I generated SPI1 on CubeMX. Does CubeMX SPI configuration include GPIO functionalities for the SPI pins, or do we need to programme GPIO manually?

I enabled SPI1 on CubeMX using STM32L433 on pins 11(SPI-CLK), 16(MISO), 17(MOSI). I am interfacing it to a Kionix MEMS sensor on SPI. I detect no signals on the pins. Do I need to separately write configuration for GPIO for the SPI pins?I could not f...

NAnand1 by Associate III
  • 2191 Views
  • 7 replies
  • 0 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
  • 1057 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 ...

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
  • 494 Views
  • 1 replies
  • 0 kudos