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.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
  • 890 Views
  • 5 replies
  • 7 kudos

how to enter ADC1_IRQHandler

I have a stm32f030c8t6. I want to enable its ADC1 interrupt. in CubeMX, when I enable ADC DMA, there is no section where I can configure RANK. in the generated program, in stm32f0xx_it.c, I can see two functions belowvoid DMA1_Channel1_IRQHandler(voi...

Ala by Senior
  • 1366 Views
  • 1 replies
  • 0 kudos

There is a link to download STM32CubeIDE and STMCube32MX

Hi,I'm creating a Dockerfile and installing STM32CubeIde and STM32CubeMX with it. To install these two programs it would be very convenient to have a link to download the programs without human interaction.Is there a link to download them?Best Regard...

alex95 by Associate
  • 1014 Views
  • 2 replies
  • 0 kudos

Can't open CubeMX project that was few minutes ago created

Created project with newest Cube MX, added all of my pin initializations, closed project, tried to open it - it does not open, no errors no warnings, shows that cubemx loads the file and then renders UI, always goes to 100% progress on both, and then...

TMark.14 by Associate III
  • 3727 Views
  • 13 replies
  • 0 kudos

Resolved! STM32CubeMX bug: Wrong ADC resolution for STM32L476

Hi, I notice that CubeMx allow choose 16-bit resolution but STM32L476 has range from 6 to 12 bit. When I generate code I can't compile it:Moreover in datasheet we read on page 1: but it's only one information about mystic 16-bit resolution :D

_legacyfs_online_stmicro_images_0693W00000bj2D5QAI.png _legacyfs_online_stmicro_images_0693W00000bj2ESQAY.png _legacyfs_online_stmicro_images_0693W00000bj283QAA.png _legacyfs_online_stmicro_images_0693W00000bj2EwQAI.png

STM32Cube MX Version Compatibility

I previously had STM32CubeMX V6.2.1 installed on my machine. I then tried to work on another project that my colleague made and my machine said I would need to “Continue�? or “Migrate�? because I didn’t have STM32CubeMX V6.5.0 installed. So then I up...

_legacyfs_online_stmicro_images_0693W00000bj7M7QAI.png _legacyfs_online_stmicro_images_0693W00000bj7MHQAY.png
JKova.3 by Associate II
  • 2844 Views
  • 4 replies
  • 0 kudos

Resolved! When I used NUCLEO-F446RE to debug the STM32 program, I found that the program execution was stuck for a long time in the "LL_PWR_IsActiveFlagVOS()" function. How can I solve this problem?

The clock initialization code is generated by STM32CubeIDEvoid SystemClock_Config(void) { LL_FLASH_SetLatency(LL_FLASH_LATENCY_5); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_5) { } LL_PWR_SetRegulVoltageScaling(LL_PWR_REGU_VOLTAGE_SCALE...

YLi.13 by Associate II
  • 2180 Views
  • 6 replies
  • 0 kudos

Support HiDPI screens

On laptops with 4k displays it is often necessary to use 2x scaling in order to enlarge text for legibility. Most modern software behaves well in this HiDPI environment.Unfortunately ST's apps (such as CubeProgrammer) do not. Text in those apps is ve...

miles f by Associate II
  • 2538 Views
  • 2 replies
  • 3 kudos