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
  • 695 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
  • 1595 Views
  • 5 replies
  • 7 kudos

makefile:43 error pls help

Hi!I am trying to create a very first Hello World project like that:/** ****************************************************************************** * @file      : main.c * @author     : Auto-generated by STM32CubeIDE * @brief     : Main program bo...

M.umit by Associate II
  • 1762 Views
  • 4 replies
  • 0 kudos

Debug problems with STM32CubeIDE

Hi,I have a NUCLEO F103RB board with STM32F103RB MCU. I am doing my first program for blinking a LED (I am starting with STM32 MCU family). I use STM32CubeIDE just downloaded in the last days.I compile my simple program without problems.The debug pha...

MSand.1 by Associate II
  • 1635 Views
  • 1 replies
  • 0 kudos

FatFS f_open always returns FR_DISK_ERR on USB stick

Hello, I try to implement some kind of data logger which saves values on an usb stick. The board is based on an STM32F767ZGT6.To do things properly, I have created a fresh new project with STM32CubeMX ( to include later in my main project). Here is w...

Geo En by Associate III
  • 3184 Views
  • 5 replies
  • 2 kudos

Stm32 h7

hi I wanted to ask regarding stm32h7 as I have two main available one for m4 main and the other for m7 main, if I process a variable in the cortex m4 how can I transfer it to the m7?Can i use mdma or dma.....Tanks​

SDall by Associate II
  • 1158 Views
  • 4 replies
  • 0 kudos

Java.lang.NullPointerException occurs during MX script.

CubeIDE 1.2.0 I have a simple script to test the command line setup. The script is loading the .ioc and creating .csv of the pinout. I get partially through the csv command where Java runs into a NullPointerException seen below2020-06-09 12:53:23,629...

PLane.1 by Associate II
  • 824 Views
  • 2 replies
  • 0 kudos

STM32F303 CubeMX - LL_GPIO_TogglePin() - race condition?

__STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask) { WRITE_REG(GPIOx->ODR, READ_REG(GPIOx->ODR) ^ PinMask); }I was trying out a Nucleo F303RE board and installed CubeIDE and the HAL/LL library, then stumbled upon this.Tha...

SKled.1 by Senior II
  • 1601 Views
  • 4 replies
  • 0 kudos

Resolved! Cannot enable IGMP in STM32CubeIDE.

I am using a a very recent version of STM32CubeIDE (Version: 1.3.1) and STM32CubeMX (5.6.1.202004052303). I created a new project for the Nucleo-F207ZG board.I have enabled LWIP and then enabled UDP but the "IGMP module" has no "enabled" option. Is t...

Resolved! STM32F407 EXTI on PI10 not working

Hi guys, I want to use 10 external interrupts. 9 of them are working fine, but one of it makes trouble. I'm using CubeMX and configured the 10 pins as external interupt with falling edge detection and enabled the interrupts. The pins are: PB6, PB7, P...

user 143 by Associate III
  • 1465 Views
  • 5 replies
  • 0 kudos