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
  • 310 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
  • 1340 Views
  • 5 replies
  • 7 kudos

STM32G474,HRTIM,ADC

I am using hrtim to trigger the adc, but if the regular channel is not triggered with hrtim, it doesn't go into the interrupt of the ADC properly, I checked a lot of information and didn't find a solution, here is my code and cubemx configuration:   ...

iskan_0-1695029126119.png iskan_2-1695029415264.png iskan_3-1695029424941.png
iskan by Associate III
  • 1375 Views
  • 1 replies
  • 0 kudos

MX cube corrupts .ioc on save (Windows 11)

I am using the STM32CubeMX to edit pinout configurations for the STM32U595ZJYxQ. Process worked well for the past few days however on Friday the tool appeared to hang after saving the config. The first time this happened the tool closed on its own af...

edwal by Associate II
  • 875 Views
  • 7 replies
  • 1 kudos

How to set SPI_TX in DMA settings

Hi, I’m new to STM32. I wanted to set SPI_TX in DMA settings, but I think it has to be configured before using it, as you can see in the picture. I want to give an output for display... can anyone help to solve the problem?  

AndrewNeil_0-1741705395983.png
Ruvi2006 by Associate
  • 833 Views
  • 3 replies
  • 0 kudos

Resolved! STM32G030K6T6 - can not configure ADC1_IN16 @ PA12

STM32G030K6T6 - can not configure ADC1_IN16 @ PA12The STM32CubeIDE does not allowed me to enable the ADC1_IN16.The message is "IN16 Disable...Available if sequencer is set to not fully configurable in parameter settings tab"How can I enable it?

GErma.1 by Associate III
  • 2371 Views
  • 4 replies
  • 0 kudos

Resolved! QSPI on the STM32G491KC

Does the STM32G491KC have Quad SPI capability? The documentation and product selector tools (on website and within Cube IDE) say that it does have QSPI, but when I try to configure it within the Cube IDE the options is grayed out with the message "Du...

Resolved! Why can't I get the SPI clock to idle low

I'm working on a STM32H755ZIQ.  I am setting up a SPI master, with CPol= 0, CPha = 1, accordingly I need the clock to be low when inactive.  Additionally I want the clock to be low when idling, even when the SPI is not active. To achieve this, I have...

TomC1_0-1742391694539.png TomC1_1-1742391813142.png TomC1_2-1742391925483.png
TomC1 by Associate III
  • 897 Views
  • 2 replies
  • 2 kudos

CubeMX 6.14 migration bug

CubeMX upgrade 6.13 -> 6.14left in linker script following configuration:_estack = ORIGIN(RAM_D1) + LENGTH(RAM_D1); /* end of RAM */MEMORY{/* Start MX regions */DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128KFLASH (rx) : ORIGIN = 0x08000000, LENGT...

trzeci by Associate III
  • 503 Views
  • 2 replies
  • 0 kudos