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

TouchGFX and USBPD

Hello.  I am trying to create a project that uses both the Nucleo GFX01M2 and SNK1M1 with the G071RB dev board. I want to configure my setup as a USB sink device. However, in STM32CubeMX I can select either the sink USBPD application, or the Touchgfx...

TS-LMG by Associate III
  • 288 Views
  • 8 replies
  • 2 kudos

Resolved! RTC Calendar resets in CubeMX generated Init function

Hi everyone ! first time poster, hope I'm doing it right.I'm working with an STM32F107VCT and using CubeMX to generate code.I have an issue with the RTC calendar, it goes back to 0 every reset which, if I'm not mistaken, it should not on a soft reset...

gjanet by Associate II
  • 3421 Views
  • 10 replies
  • 4 kudos

Resolved! Support relative paths in IOC file

I fully appreciate that CubeMX is geared towards hobbyists and demo projects.But let's imagine for a second that someone is trying to use this software professionally.I have created a template to generate some custom code with CubeMX and it works as ...

Armandas by Associate III
  • 2657 Views
  • 10 replies
  • 0 kudos

Freertos semaphore initialised wrong in CubeMX

CubeMX always generates binary semaphores with an initial count of 1 (full) in CMSIS-RTOS2, even if the user wants the semaphore to start depleted (count = 0). There is no option to set the initial count to depleted during configuration, but when gen...

Taha_0-1750349263021.png
Taha by Associate
  • 129 Views
  • 1 replies
  • 0 kudos

Cannot configure MbedTLS in CubeMX for H755

When trying to setup MBedTLS through CubeMX for the NUCLEO-H755ZI-Q, CubeMX does not give the option to select LWIP as the TCP/IP stack in the MBEDTLS "Version and modes" configuration tab. The only options given are "None" and "User defined". Additi...

SPetr.6 by Associate III
  • 263 Views
  • 3 replies
  • 0 kudos

STM32N6 Discovery ThreadX

Hi! I have a STM32N6 discovery board and I want to create an application with network support for it. Lets say simple tcp echo server. Ifound that there are no LwIP available for this board in CubeMX. Google suggests using Arure RTOS, but there are n...

Resolved! Does STM32C071CBT6 support PLL for external oscillator?

I am using an 8 MHz external oscillator and was planning to use a PLL to increase the system frequency. However, when I open the Clock Configuration tab in CubeMX, I don’t see any option for a PLL.I’ve also shared a screenshot of the clock configurat...

curiocity_0-1750237282003.png
curiocity by Associate III
  • 237 Views
  • 8 replies
  • 2 kudos