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

Configuring FATFS-SDMMC1-DMA on STM32L4R5... in STM32CubeMX

Hi guys,I have a question about my project with STM32L4R5ZIT6.I want to use the SDMMC1 peripheral together with the FAT-file system to write some logging data on a sd card.After several failed tries to write a test-file on the sd card with the FAT fu...

FGese by Associate
  • 684 Views
  • 1 replies
  • 0 kudos

I2C bug in CubeMX 5.0.1?

In my code I use I2C. But when I reset the MCU with my debugger (I-jet from IAR) the I2C peripheral indicates BUSY as soon as it is initialized by the MX_I2C1_Init() function.But if I add the following I2C reset in the MX_I2C1_Init() function before ...

sima2 by Associate III
  • 842 Views
  • 1 replies
  • 0 kudos

Interrupt priority with Freertos

Hello,I have made a project with FreeRTOS 10.0.1.However there is a problem: when I try to call a function with ‘ISR’ suffix from interrupt service routine the macros configASSERT catches mismatch between priority that ISR has and priority that is pe...

Uhv by Associate II
  • 5177 Views
  • 8 replies
  • 0 kudos

STM32CubeMX Porting Issues

I have a project I've migrated from the STM32F407 to the STM32F405. I started by creating a new project in STM32CubeMX with the STM32F405 selected, importing my existing project, and updating the pin assignments. I was able to regenerate the project ...

BPaik by Senior
  • 415 Views
  • 0 replies
  • 0 kudos

CubeMX 5 ErrorHandler in USB CDC is called too often

Hello All,I updated to CubeMX 5 and use STM32F4 USB CDC.After update my programm crashes directly after init.This is because the USB driver calles directly into ErrorHandler when USB is not connected.The ErrorHandler does a while(1) forever loop.Why ...

taraben by Senior
  • 743 Views
  • 2 replies
  • 0 kudos

Resolved! Missing Pin PD2 on STM32L433RCTxP

Hey,I´m confused why i can not use Pin PD2 on Cube MX on the Nucleo Board L433RC even though it should actually exist because it exist when you select another STM32L433.Without that Pin, i can´t use SDMMC. If i select for example the STM32L433RCTx, t...

SWend by Associate II
  • 2358 Views
  • 10 replies
  • 0 kudos

STM32L476G-DISCO SPI

Hi,I am working on STM32L476G-DISCO, and I want to interface it with Arduino uisng SPI, but I found that this STM all SPI (SPI1,SPI2 and SPI3) PIN is not on I/O PIN, so how I interface it with Arduino using SPI??

RKhal.2 by Associate III
  • 792 Views
  • 2 replies
  • 1 kudos