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 CubeMX generated code wipes out USER CODE areas ?

I use the latest STM32F4CubeMX and latest TrueStudio and updated firmware library. I have chosen in the Project Settings "code generator" option "Keep User Code when re-generating" but it does not. User code is strictly within the USER CODE labeled ...

eBirdman by Senior II
  • 513 Views
  • 2 replies
  • 0 kudos

Problem with VCP USB FS and CubeMX STM32H7eval

Hello, everybody.I'm trying to implement USB FS on STM32H734 eval board. I'm using CubeMX to generate code, the version is up to date and i'm using the latest firmware libraries (which is 1.3.0). I generated a standard project and configured a VCP on...

Simon1 by Associate
  • 950 Views
  • 3 replies
  • 0 kudos

Resolved! Bug in STM32H7 1.3.0 ADC multimode.DualModeData

I am using a STM32H7 ADC in multimode. When I generate the source code with STM32CUBEMX 4.26.1 and STM32CubeH7 Firmware Package V1.3.0 / 04-July-2018, i noticed that inside MX_ADC1_Init() in main.c, the following line of code is written:multimode.Dua...

MaxR by Associate II
  • 922 Views
  • 2 replies
  • 1 kudos

STM32CubeMX 4.27.0 deletes empty folders

The latest version of the STM32CubeMX 4.27.0 deletes empty folders in my project structure during project generation.This is a nice feature if it deletes only previously generated folders that are not used any longer, but it also deletes folders that...

BUG: CubeMX 4.26.1 (Eclipse plugin): HSE_VALUE not set correctly

I have a project which is using an 11.0592MHz external TTL oscillator, PLL'd up to 66MHz HCLK.CPU is an STM32F303RET6 on a Nucleo-64 F303 board.IDE is Atollic TrueSTUDIO STM32 Edition.I found the System Tick timer was ticking at ~700us. After single ...

Phil1 by Associate II
  • 1073 Views
  • 3 replies
  • 2 kudos

I hope that the STM32CubeMX code generation tool can add user-defined keywords to ensure that the user's own added code STM32CubeMX is not deleted when the code is generated.

for example:​“/* USER CODE BEGIN Includes */   ..../* USER CODE END Includes */​/* USER CODE BEGIN 0 */.../* USER CODE END 0 */�?I found that these keywords only work for this definition in the generated code, but after I added them in the original l...

JLee.0 by Associate III
  • 1229 Views
  • 7 replies
  • 0 kudos

Regarding Issue in GPIO intruppt

I am Working on interrupt with gpio where Rising edge to be detected..i think i have Configured the Interrupt properly but it is not working ,,,I am Making pC13 as gpio because it is connected to a button,when i press the button interrupt should come...

NMuth by Associate II
  • 504 Views
  • 1 replies
  • 0 kudos