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

STM32CubeMX Crashing on Code Generation

Having a very difficult time figuring out what happened to STM32CubeMX. In middle of very timely development and suddenly I can't generate any code. It just hangs. I have to shut down Java to force the program to close.I have downloaded the latest ve...

Resolved! How to Use STM32G0 Power Voltage Detector with STM32CubeIDE??

Hi,I am working on STM32G0 Nucleo Board with STM32 Cube IDE 1.3.0 .How to Use STM32G0 Power Voltage Detector (Internal ) with STM32CubeIDE ?I want my MCU should only start when Voltage goes above 2.5V (Say)..The above setting nothing generate in .c f...

0693W000001sh8tQAA.jpg

Issues on creating a project using STM32CubeMX tool.

Following the instructions below, I create a new project.https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Step2_Blink_LEDBut it seems that the led blinking thread fails to get started.I must comment some system initialization to get the default thre...

Jinyu Z by Associate II
  • 1359 Views
  • 8 replies
  • 0 kudos

cubemx project

I use cubeMX version6.0.0,generate a simple serial port project, I need to click three times 'run' can run to the main function(break point) use jlink in debug mode , The serial port tool has output character,. But direct download and re power-on doe...

Syang.2 by Associate II
  • 851 Views
  • 4 replies
  • 0 kudos

Resolved! Not able to set the clock frequency to MAX (480 MHz)

Hello,I am trying to set the clock frequency to max of 480 MHz. I tried 120 MHz and there is not problem with that. The block code is very similar for both, so not sure what is going wrong.I feel the oscillator fails and goes into an error state. Bas...

0693W000005BQQWQA4.png
Kaveh by Associate III
  • 1172 Views
  • 4 replies
  • 0 kudos

Resolved! C++ with STM32CubeMX and CubeIDE

Hi,I'd like to use C++, and I had a question.Currently my procedure is:(a) Configure the peripherals using CubeMX (since I wish to use MX HAL) and generate code .(b) In CubeIDE I rename the main.c file to main.cpp, and then from the project window I ...

shabaz by Associate
  • 834 Views
  • 2 replies
  • 0 kudos

HAL SPI cannot handle LSB data?

I setup SPI using CubeMX and set First Bit as LSB First as described in the datasheet.I thought setting this will handle LSB data by itself however it is not working as expected.Below code only work with _SPI_HARDWARE_LSB defined which means I have t...

0693W000005BOJEQA4.png
KYou.1 by Associate II
  • 647 Views
  • 1 replies
  • 0 kudos

Resolved! GPIO INPUT/OUTPUT

does any body know how to define a pin in CubeMX, so it would be GPIO_INPUT and GPIO_OUT at the same time?I want to write to a pin and read it's state too

Ala by Senior
  • 1140 Views
  • 5 replies
  • 0 kudos