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
  • 130 Views
  • 2 replies
  • 4 kudos

Problem with STM32F4 External Interrupt executes repeatedly

Dear All,i encountered a problem with STM32F407ZGT6 in working with external interrupt.i do this by STM32CubeMX and MDK ARM V5.i configure a pin ( PF1 ) as external interrupt mode with rising/falling edge trigger detection. i set it internally pull d...

RShar.17 by Associate II
  • 2536 Views
  • 4 replies
  • 0 kudos

CubeMX USART DE config incorrect - STM32F091

Using RS485 driver enable, specifically on USART 7 and 8, the CubeMX generated code needs to add in MspInit:GPIO_InitStruct.Alternate = GPIO_AF1_USART7;GPIO_InitStruct.Alternate = GPIO_AF2_USART8;respectively.

IHave by Associate
  • 426 Views
  • 0 replies
  • 0 kudos

STM32L476 USB Disk

I want use STM32L476 for USB Disk application.When Test USB 8GB is OK, but 16GB is Not work.Check USB fail.Anyone know where problem?In CubeMXUSB_OTG_FS : Host_Only, VBUS sensingMiddleware USB_HOST : Mass Storage Host Class & default setting(no chang...

Starting new project

Hi ST community!I’m starting new project with CubeMX but I want to use the LCD, I wonder how to start a project and use an existing code (LCD Code) should I copy the folder into my new project? If Yes how can I organize the folder in the new project?...

idrissmc by Associate III
  • 334 Views
  • 0 replies
  • 0 kudos

STM32CubeMX locks up

STM32CubeMX locks up when whengeneration code if it was opened from the directory where the. ioc file is located.Using version 5.2.1

mross.19 by Associate
  • 411 Views
  • 1 replies
  • 0 kudos

Problem with USB on STM32L412KBT

Hi, I have problem running USB on STM32L412KBT. The code hangs inside MX_USB_DEVICE_Init. Sometimes in function HAL_StatusTypeDef USB_DevInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg) (file stm32l4xx_ll_usb.c), sometimes in function HAL_StatusTypeDef US...

MKele by Associate II
  • 1104 Views
  • 6 replies
  • 0 kudos