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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 1047 Views
  • 0 replies
  • 1 kudos

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
  • 1824 Views
  • 5 replies
  • 7 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
  • 1280 Views
  • 6 replies
  • 0 kudos

No question. Information to ST Only.

Cube V5.2.1 configured for STM32G070CBTx using STM32Cube FW_G0 V1.2.0 includes stm32g0xx_hal_rcc_ex.h in it's generated code. This header file references 18 "undefined preprocessing identifiers" (i.e. RCC_CCIPR_LPUART1SEL and RCC_CCIPR_LPTIM1SEL, etc...

Problem with CAN

Hello! I use the BluePill Board. I have created a simple project VCP CDC, compile it, load it, plug the board into the computer everything is OK (file usb_cdc_1.zip). But if I add CAN to the project, the computer no longer detect VCP (usb_cdc_2 file....

EPetr by Associate
  • 624 Views
  • 1 replies
  • 0 kudos

Please make the pin list from CubeMX more configurable

I have an old PCB CAD and 100 pin STM32F746 CPU. I would like to have a component symbol where pins have their functional names. Like for instance USART2_TX/PA2 instead of plain PA2.And the list must contain every pin and be in CSV format.This is of ...

LMI2 by Lead
  • 800 Views
  • 3 replies
  • 0 kudos

Using STM32CubeMX with Rev V STM32H743

I just received a new NUCLEO-H743ZI2, with the Rev V silicon. According to AN5312, the clock can go up to 480MHz (but requires Vcore level VOS0) and the ADC clock has an extra divider.I'm using STM32CubeMX v 5.2.1 with the latest 1.4.0 HAL for the H7...

fbar by Senior
  • 847 Views
  • 0 replies
  • 0 kudos

Resolved! CubeMX 5.0.1 LL driver warning

This warning present since I started to using low layer driver, it was around 2 -3 months before.In file included from ../Core/Inc/main.h:70:0,         from ../Core/Inc/gpio.h:58,         from ..\Core\Src\gpio.c:51:../Drivers/STM32L4xx_HAL_Driver/Inc...

STM32F407VG + LAN8720 ETH BOARD (Waveshare)

Hello!I am trying to run an Ethernet on STM32F4DISCOVERY board (with 407VG MCU) using a ETH BOARD module from Waveshare.In the CubeMX, I added ETH with RMII, in the settings I entered the MAC and set the PHY Address to 1 (found in the datasheet for t...

SOsin by Associate
  • 1315 Views
  • 0 replies
  • 0 kudos