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
  • 750 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
  • 1624 Views
  • 5 replies
  • 7 kudos

Resolved! Problem with Timers clock and interrupt periods

Hi, I have my STM32F407 with the following clock configuration, as I want to use TIM2-TIM5, the input clock of those Timers is APB1, and it is working at 84 MHz, I want TIM2 working with an interrupt every 1 sec, so I set the prescaler to 8400-1 so t...

0693W000001smnSQAQ.png
VCasa.1 by Associate II
  • 837 Views
  • 1 replies
  • 0 kudos

Resolved! STM32G431C8

I want to use DMA to move data from memory to DAC1 channel 1 and channel 2. Channel 1 uses DMA Channel 5 and that works. CubeMX configured DAC1 Channel 2 for DMA1 Channel 6. The datasheet says STM32G431 is a category 2 device which has only channel 0...

How to configure a Timer to input capture from comparator?

Hi,I have read the STM32F303RE reference manual along with using CubeMX 5.6.1 but can't seem to do what I want. The documentation of CubeMX is less than desirable IMHO.As an aside I am already using TIM2_CH2 on pin PB3 in Input Capture Direct Mode an...

BTrem.1 by Senior II
  • 1463 Views
  • 1 replies
  • 0 kudos

Resolved! What is the correct way to jump from application FW to the DFU bootloader on the STM32F078VB, using a project generated with the latest STM32CubeMX?

I have an existing STM32F078VB firmware application. The following code used to work perfectly fine to jump to the DFU bootloader shortly after power up, based on the application firmware detecting 2 buttons being pressed on the board:#define BOOT_S...

ACaru.1 by Associate II
  • 2965 Views
  • 3 replies
  • 2 kudos

MX_Device.h file is not generated

Hello, I just bought stm32h747-disco. I would like to use it will keil, but the MX_Device.h file is not generated from stm32cubemx.Do you know maybe any way for this to be generated?Thanks in advance for your help.

Angelos1 by Associate II
  • 2723 Views
  • 4 replies
  • 0 kudos

STM32H750VB uart errors

Hi,I have a problem using UART7 on STM32H750VB. It is configured by STM32CubeMx to receive and transmit with DMA with a baud rate of 115200 but all the data that arrive from the external device cause FRAME or NOISE errors.I checked with my oscillosco...

ENove.1 by Associate II
  • 1287 Views
  • 6 replies
  • 0 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
  • 965 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
  • 1782 Views
  • 7 replies
  • 0 kudos