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

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
  • 2749 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
  • 937 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
  • 707 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
  • 1348 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
  • 1262 Views
  • 5 replies
  • 0 kudos

Resolved! STM32F407 + Freertos + USB VCP + USART IRQ

Hello, I am triying to use the STM32F407 with Freertos ,USB VCP and USART interrupts. My problem is when I include USART interrupts with Freertos, the interrupt is always running. I did other project without the Freertos and everything is OK. I lea...

Asarm.1 by Associate
  • 814 Views
  • 1 replies
  • 0 kudos