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
  • 51 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
  • 1105 Views
  • 5 replies
  • 7 kudos

SDIO 1 bit mode + FATFS not working with STM32L433RCT6

Hello Everyone, I am trying to run SDIO 1 bit mode with FATFS on a custom board but facing some issues.1)     CUBEMX Version -> 6.1.22)     API_VERSION -> STM32Cube_FW_L4_V1.16.0 3)     IDE STM32CubeIDE4) Schematic of SD card connection is attach...

pvish.13 by Associate
  • 1550 Views
  • 1 replies
  • 0 kudos

Resolved! Inquiry about Boot Pin setting while using STM32CubeMX

I am using STM32CubeMX and need to setnBoot0, nBOOT0_SEL, and BOOT_LOCK. (Stm32G031 series is being used and Pattern 11 is being used)I have difficulty connecting with the STM32Cubeprogrammer program,so I would like to process it with the CubeMX prog...

Paul6_1-1727660014219.png Paul6_0-1727659973721.png
Paul6 by Associate II
  • 1296 Views
  • 6 replies
  • 0 kudos

Resolved! Nucleo-L476RG wrong I2C pins generated for I2C1?

Hi all,I'm starting to just get the hang of STM32 using a Nucleo-L476RG board.Discovering I2C, I'm finding the STM32CubeMX generates the I2C1's SDA/SDL pins for this board at PB7/PB6, not at all where they are according to the schematic (should be PB...

Generate code button not doing anything

Hi! allI may not be at the right place but since I can't even start on the CubeMx, here it is.I'm a long time user of Microchip PIC product but since this is my first attempt to use the STM32 I suspect I will have some big time to understand all it's...

Dany0 by Associate II
  • 3660 Views
  • 9 replies
  • 0 kudos

Resolved! STMCubeMX Code Generation Fails on Linux

Hi, I'm experiencing some issues on Linux with code generation in MX. The system I'm running is:STM32CubeMX version 6.12.1Pop!_OS (Ubuntu based) version 22.04Generating code for a Nucleo-H755ZI-Q [although I doubt this matters] Specifically, when cli...

Resolved! Default system clock on NUCLEO-F767ZI

Good morning, in the user manual "STM32 Nucleo-144 boards" is written that the HSE clock is linked to a 8 MHz oscillator. But when I enable the HSE clock in the .ioc file, the value is 25 MHz. I don't understand if the HSE clock is 8 MHz or 25 MHz. T...

GGran.2 by Associate III
  • 3477 Views
  • 14 replies
  • 3 kudos

Resolved! Custom Linker Script with CubeMX

Hi there,I would like to customize the linker script generated by CubeMX.Right now, any changes to the linker file get overwritten when I generate code from CubeMX.Is there a way I can accomplish this? Thanks!

PMart.1 by Associate III
  • 6476 Views
  • 5 replies
  • 1 kudos