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
  • 582 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
  • 1518 Views
  • 5 replies
  • 7 kudos

STM32 HAL_Delay doesn't work properly

Hello,I'm in the process of learning the STM32 MCU. I have the STM32F4DISCOVERYBOARD with a STM32F407VGT on it.At first I tried the simple LED blink tutorial and noticed that the LED will light up, but won't blink.I did some more attempts and figured...

0693W000001sF0SQAU.png 0693W000001sEzyQAE.png 0693W000001sF0XQAU.png 0693W000001sF3qQAE.png
DFile.1 by Associate II
  • 2199 Views
  • 5 replies
  • 0 kudos

STM32cubeMx project to ac6 dsp 0xF THUMBmode

Hi,I am a new bee to STM ...tried generating the code to get the UART up for STM32L476 series discovery board...but could not compile the code in ac6 compiler as this gives following errorError: selected processor does not support `isb 0xF' in Thumb ...

RShiv.1 by Senior
  • 2457 Views
  • 12 replies
  • 0 kudos

Resolved! Using FreeRTOS with TrustZone in STM32CubeIDE - STM32L562

I have a development kit for the STM32L562, I'm trying to create a blinky-script that will use FreeRTOS to blink a led in the secure-world and the non-secure world simultaneously.Steps to reproduce:Install STM32CubeIDE 1.3.0New STM32 ProjectLook for ...

FHumb.1 by Associate II
  • 3716 Views
  • 10 replies
  • 0 kudos

Bug in CubeMX v 5.6.1 when selecting DMA for ADC1/2 and BDMA for ADC3 for STM32H753IITx? Is there a fix or have I done something wrong?

Generated code in main.c looks like this and lacks function name for the second block./**  * Enable DMA controller clock */static void MX_BDMA_Init(void) { /* DMA controller clock enable */ __HAL_RCC_BDMA_CLK_ENABLE(); /* DMA interrupt init */ /* BD...

DGrön.1 by Associate II
  • 896 Views
  • 3 replies
  • 0 kudos

Resolved! PWM output generation from NUCLEO-F031K6 (MCU: STM32F031K6) is not working. Code is generated from STM32CubeMx.

I'm using NUCLEO-F031K6 (MCU: STM32F031K6) for PWM output generation (100Hz clock). Project is generated from STM32CubeMx v5.6.1. PA11 (TIM1_CH4) is used for PWM output. No clock pulses are seen. APB1 timer clock is 8MHz. ----------------------------...

S.Kamath by Associate III
  • 669 Views
  • 1 replies
  • 0 kudos

ARM CMSIS 5.7.0

I've been trying to download the CMSIS 5.7 update for almost a month now.But when I try to download and install the library every day, I get errors in the file in the attached screenshot.Every day I hope that you have noticed the problem or that some...

RMent.1 by Associate
  • 1558 Views
  • 4 replies
  • 0 kudos

trying to operate an external interrupt on stm32f031k6

Im trying to operate an external interrupt on my STM32F031K6, using STM32cube IDE. Ive been following a tutorial here https://simonmartin.ch/resources/stm32/dl/STM32%20Tutorial%2007%20-%20GPIO%20Interrupts%20(EXTI)%20using%20HAL%20(and%20FreeRTOS).pd...

deep_rune by Associate III
  • 1139 Views
  • 1 replies
  • 0 kudos