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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 2556 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
  • 1307 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 ...