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

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
  • 982 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
  • 6730 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
  • 528 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
  • 927 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
  • 2942 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
  • 1025 Views
  • 2 replies
  • 1 kudos

For the STM32F100V8T medium density device can I link TIM2 (master) to TIM15 (slave) using the internal trigger ITR0?

This seems to work fine (timer linkage used in my current firmware) but the Reference manual (Doc ID16188 Rev 5) suggests this internal trigger (ITR0) is not available in low & medium density devices?! Can I rely on all future batches of the STM32F10...

0690X000008A8WtQAK.jpg 0690X000008A8YQQA0.jpg