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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 769 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1639 Views
  • 5 replies
  • 7 kudos

UART get stuck in UART_WaitOnFlagUntilTimeout

Hi, I dont know the reason of this issue, I just generate code via STM32cubeMX after enabling UART4 and below there is the main program!: But my program cannot neither receive nor transmit any data and stuck in UART_WaitOnFlagUntilTimeout. Help pleas...

mmed by Associate III
  • 3345 Views
  • 12 replies
  • 1 kudos

CPU caches checkboxes blocked

 STM32H7 SeriesI have enabled generation of linker script (need to redefine memory layout).There is no possibility to change  state of checkboxes of both CPU caches if this generation has been enabled.The state of the checkboxes may be on or off, but...

trzeci by Associate III
  • 347 Views
  • 0 replies
  • 0 kudos

Resolved! CubeMX CAD models mixing LQFP144 and 208pinouts

Trying to export LQFP144 pinout to Altium CAD models with cubeMX.  But CubeMX is trying add pin #204 #202 #158, etc, on symbol for an L471 micro that doesn't even come in packages  bigger than 144 pins.  Altium chokes on this symbol, I imagine that's...

Screenshot 2024-10-21 180625.png
DixonDon by Associate II
  • 856 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H725 SMPS issue

I am having and issue with a STM32H725RGV6.After powering my board, I can see the SMPS output at 1.36V, which I have connected to the VCAP inputs.I can also connect to the µC using the STM32CubeProgrammer.However, after flashing a simple firmware, th...

STM32H725RGV6 power.png
BenUtzer by Associate
  • 2523 Views
  • 3 replies
  • 2 kudos

Resolved! stm32cubeMX bug???

Hello,I am now using STM32CubeMX to config STM32G030F6P6, I want to use TIM14 to capture pulse, so I configged to Input Capture direct mode, which is obviously input port, but GPIO setting becomes GPIO output Low. is this a stm32cubeMX bug?please con...

dqsh06_0-1729747045042.png
dqsh06 by Senior
  • 1492 Views
  • 6 replies
  • 1 kudos

Resolved! Where in CubeMX can I check the Wait States?

Hi,I am using the STM32U5G9VJT6Q and in CubeMX I configured the clock to the full 160MHz for all busses including the core (first screenshot). According to the documentation for 160MHz I need to set 4 Wait States for those speeds and VCORE voltage ne...

Ricko_0-1741045992307.png Ricko_1-1741046086361.png
Ricko by Senior III
  • 466 Views
  • 2 replies
  • 1 kudos