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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 1394 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
  • 2774 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
  • 568 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
  • 2746 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
  • 2818 Views
  • 8 replies
  • 0 kudos