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

STM32H745ZI-Q Nucleo Ethernet is not working.

Hi,I have STM32H745ZI-Q Nucleo board. I have generated code using STM32CubeMX firmware version H7 1.5.0 (SW4STM32). I have enabled the LwIP Netconn and Ethernet for M7 core in STM32CubeMX. The issue is that it doesn't assign the IP address using DHCP...

I have an issue with ADC and Vrefint

Hi,I working with an STM32L010 controller. I have a confusing issue with one of ADC channel.Here is the configuration:I using ADC channels 1, 3, 6 and Vrefint.Here is the ADC configuration:I forgot the clock configuration:My problem is while the volt...

0693W000001pPovQAE.png 0693W000001pPpKQAU.png 0693W000001pPvNQAU.png
anagy9 by Associate II
  • 869 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX fails under Fedora32

After a fresh install of Fedora32 STM32CubeMX fails to start. The error msg is the same for a freshly installed 5.6.1 as for the previously installed 5.6.0 (which worked under Fedora31).Has anybody a clue how to proceed? The error message is a follow...

THoff.1 by Associate
  • 678 Views
  • 1 replies
  • 0 kudos

STM32CubeMX version in the STM32CubeIDE

I tried this wayFile >> New >> STM32 Project From STM32CubeMX .ioc File.Selected the CubeMX .ioc fileClick FinishThen, CubeIDE says belowThis file has been generated with STM32CubeMX version '5.6.1'.Your current STM32CubeMX version is '5.6.0'.Please ...

The STM32CubeMX code generation is not properly working in case the ADC is triggered by the HRTIM timers and DMA is used to transfer the ADC values to memory.

When the file stm32f3xx_hal_msp.c is created there is a missing line in function void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) which enables the DMA clock - ( __HAL_RCC_DMA1_CLK_ENABLE(); The STM32CubeMX generates code that enables that clock in mai...

HMay.1 by Associate
  • 763 Views
  • 3 replies
  • 0 kudos

Resolved! Using STM32CubeMX generate code for STM32CubeIDE and than change main.c to main.cpp, and build project will show up undefined reference to 'main' error.

The error message like as:Core/Startup/startup_stm32f765vitx.o: In function `LoopFillZerobss':J:/STM32PRJ/CB_ENV/MS220_F765VI/VIDEOBOARD_V9A/20200520/Debug/../Core/Startup/startup_stm32f765vitx.s:97: undefined reference to `main'​collect2.exe: error:...

jcRuan by Associate II
  • 6433 Views
  • 6 replies
  • 0 kudos