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
  • 674 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
  • 1584 Views
  • 5 replies
  • 7 kudos

Resolved! Why can't I see SPI4 clk and MOSI signals in Transmit Mode Only Master STM32H743ZI2 with an oscilloscope ?

Hello, I am trying to use SPI programmable amplifier MCP6S21 from TI with my STM32H743ZI2 nucleo board but nothing seems to happen. When I try to observe the signals from CLK and MOSI pins, there is nothing (even when it is supposed to be transmittin...

M.CHN by Associate III
  • 956 Views
  • 3 replies
  • 0 kudos

STM32CubeMX 5.6.0 (latest) Generated BLE projects cannot build!

Hi, I updated everything to the latest CubeMX and packages. When I generate BLE code now (just a simple P2P Server) the build fails because of multiplye defined symbols. Anyone a soluition?compiling app_ble.c...../Src/app_ble.c(224): warning: #1296-D...

F F by Associate II
  • 1778 Views
  • 7 replies
  • 0 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
  • 2227 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
  • 2469 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
  • 3751 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
  • 909 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
  • 671 Views
  • 1 replies
  • 0 kudos