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

Resolved! Multi target project, cannot change path for generated code

I have a multi target project.My targets are STM32L152CB and STM32L152RC. I use Ubuntu 20.4 with STM32CubeMX 6.3.0.Since STM32CubeMX does not natively support multiple targets I've decided to have two cube projects in the same folder. The generated ...

Resolved! CubeMX 6.3: ADC Injected Rank Code Generation not working?

Edit 2: CubeMX 6.2.1 is working aswell. Will use this version for now.Edit 1: CubeMX 6.0.0 and 6.2.0 are workingAfter Code Generation, the 3 injected Channels (0,1,2) would be all initialized with ADC_INJECTED_RANK_1 despite other setting in CubeMX.W...

0693W00000FBJukQAH.png 0693W00000FBK7YQAX.png
Framet by Associate III
  • 1465 Views
  • 6 replies
  • 0 kudos

STM32H757I-Eval with CubeMX no Makefile generation option

I have an STM32H757I-Eval, I wanted to use CubeMX to generate a Makefile like I do for other targets, but the option is greyed out so I can't selected it.Do you know why is not supported? Do you know when it will be supported?Many thanks.

GCoro by Associate II
  • 2957 Views
  • 9 replies
  • 2 kudos

[BUG] CubeMX, weird behavior of the Clock config view

On STM32H753, I want to change the clock source of I2C1.Previously it was HSI with divisor 4 that gives 16 MHz.I noticed that PLL3R outputs almost 16 MHz and try to change I2C1 to this source.Then Cube craps out and declares conflict. Auto-resolving ...

0693W00000FBXXFQA5.png 0693W00000FBXZLQA5.png
Pavel A. by Super User
  • 594 Views
  • 2 replies
  • 0 kudos

RTC_TR and RTC_DR are not set on STM32H743

Hi,I've used STM32CubeMX to configure my STM32H7 MCU, but RTC initial values which I set on CubeMX as default value are not set on RTC_TR and RTC_DR registers after debugging line by line when  MX_RTC_Init() is called. There is no fault reported or a...

MHaji.1 by Senior
  • 2899 Views
  • 12 replies
  • 0 kudos

NUCLEO-F207ZG LWIP is not working...

I have experience with Arduino, but I have no experience with other boards, so I am having difficulties for a few days.​I am using the "NUCLEO-F207ZG" board.What I want is to send a ping to the NUCLEO-F207ZG board.After adding a project to STM32IDE, ...

Psang.2 by Associate II
  • 2972 Views
  • 8 replies
  • 0 kudos

STM32CubeMX Download Errors

I get the error message below twice when I try to create a new project on STM32CubeMX:I tried deleting the crdb.zip file as mentioned in the post below: https://community.st.com/s/question/0D50X0000BBonsLSQR/stm32-cube-mx-error-downloading-the-follow...

0693W000001ql5VQAQ.png 0693W000001ql5kQAA.png
RrW1 by Associate III
  • 4682 Views
  • 16 replies
  • 0 kudos