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
  • 67 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
  • 1113 Views
  • 5 replies
  • 7 kudos

Resolved! Problem configuring ADC4 inputs with STM32CubeMx 6.13.0

Hello,I have a problem with configuring some GPIO as input for the ADC4:While they appear to be available in the documentation (and in the pop-up window associated with GPIO), the choice is grayed out in the tab associated with ADC4.I'm using STM32Cu...

img1.png img2.png img3.png
JVERN.18 by Associate III
  • 1017 Views
  • 4 replies
  • 0 kudos

Resolved! STM32H5 does not have a DQS line for HYPERBUS

Hello everyone,I was trying to design a Hyperbus RAM based PCB for one of my projects but I realized that when I configure Hyperbus under the OCTOSPI1 settings I do not get the DQS(RWDS) line. Here are the configuration pictures.  Thanks,Burak Önemli...

Screenshot 2024-09-21 at 15.58.34.png Screenshot 2024-09-21 at 15.59.41.png Screenshot 2024-09-21 at 16.01.07.png

STM32G0 Programmable Voltage Detector working backwards?

I'm checking the PVD example from STM32G0 repository in CubeMx and something looks backwards to me unless I'm misunderstanding it. I'm expecting the rising callback when the voltage is ABOVE the threshold not below like the code shows. Likewise, I'm ...

xpp07 by Senior
  • 2586 Views
  • 7 replies
  • 0 kudos

Resolved! CubeMX not generating PLL2 code for USB

Hi,I am using STM32F105RC. CubeMX does not seem to configure PLL2 at all in SystemClock_Config(). Below in the clock configurator it is clear that I have enabled PLL2 to be used for PLLCLK and USB clock.Seems like a CubeMX bug. Or if someone can poin...

Screenshot from 2024-09-05 13-46-52.png

Toolchain/IDE should not be a single choice menu

I come from the world of web development, where we are spoiled by probably the best DX experience in the world in many cases, if using modern toolchains. Unfortunately C/C++ and embedded development lags far behind.STM32CubeMX can improve this situat...

Resolved! L4 TSC CubeMX Bug??

Hi, when I generate code for the SMT32L412RBTxP using TSC with CubeMX  I get duplicated entries in tsl_user.h.One channel does not work. So I edit Channel 2 to use the missing group and IO:It now works, but when code is regenerated with CubeMX it ove...

TSL_user_H_Error.JPG TSL_user_H_Fix.JPG
Lanceh by Associate III
  • 769 Views
  • 3 replies
  • 0 kudos