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

Why is there no way to export a CMSIS/HAL set from CubeMX?

The packs we can download contain entire STM32Fx series with include files for everything.When we select a specific MCU in CubeMX we should be able to use this to export a "clean" set of HAL and CMSIS files as well as potential low level boot/init f...

kyrreaa by Associate III
  • 1373 Views
  • 7 replies
  • 0 kudos

Resolved! Re-run STM32CubeMX after generating code ?

After creating a new project STM32CubeMX it automatically generates code. If I want to change any setting using STM32CubeMX how can it be restarted from within STM32CubeIDE ?I ran STM32CubeMX by double-clicking the .ioc file, but STM32CubeMX does no...

RPasc.2 by Associate III
  • 1875 Views
  • 6 replies
  • 0 kudos

SPI speed limited to 40 MHz on STM32L4R5Zi?

Hello! I was looking at the datasheet for the STM32L4R5ZI chip and it shows the limitation of the SPI (for the 2.7V to 3.6V range). I set this in the *.ioc file and tried to select a prescaler of 2 on a 120 MHz block to get a frequency of 60 MHz. ...

JayDev by Senior II
  • 1349 Views
  • 2 replies
  • 0 kudos

Timers Interrupts NOT WORKING STM32F401RE

Hi guys!I'm trying to do a simple blinking led using interrupts but they never get fired.I'm using 84 MHz clock frequency and the following options:  /* USER CODE BEGIN Header */ /** *****************************************************************...

0693W000007B0mtQAC.png 0693W000007B0mUQAS.png
JCuer.2 by Associate II
  • 1596 Views
  • 2 replies
  • 0 kudos

I have compile issue with stm32cubemx.

Hello sir, CPU : stm32f407VGTI just set ETH and LWiP and generate file using stm32cubemx. The file is generate succefully. But the file has error with IAR version7.  ​=========================================================file name : mpu_armv7.h __...

Resolved! I2C NVIC function is not create

Hi,I tried to I2C Loopback test on STM32F401.I added two I2C Ports and checked NVIC Setting.Following some of tutorials, below function is craete automatically.but when i generated codes, this function was not crated.this function is wrote by user?

0693W000007AqSFQA0.png 0693W000007AqSKQA0.png