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.15.0 released

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 1181 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
  • 1552 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
  • 1176 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
  • 1404 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

Resolved! STM32CubeMX 5.6.0 (latest) Code Generation Freezes

I'm trying to generate the code on the STM32F407G-DISC1 evaluation board for the TrueStudio project environment.The code generation just freezes.Has anyone else seen this?I'm running on Windows 7 Pro, 64 bitI've tried different combinations of projec...

0693W000000VReZQAW.png
SidBr by Associate II
  • 1782 Views
  • 8 replies
  • 0 kudos

Resolved! usart.h / usart.c and the gpio.h / gpio.c files are missing

I am using a Nucleo F091RC.When I create a new project, the .../Inc/usart.h .../Src/usart.c .../Inc/gpio.h.../Src/gpio.c files are missing.The button on the board is declared as GPIO_InputThe LED on the board is declared as GPIO_OutputPA2 is declar...

FLamb.2 by Associate II
  • 3082 Views
  • 1 replies
  • 1 kudos