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
  • 610 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
  • 1535 Views
  • 5 replies
  • 7 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
  • 1111 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
  • 1619 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
  • 1007 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
  • 869 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
  • 1501 Views
  • 5 replies
  • 0 kudos

Cannot install CubeMX 6.0.0 on a fresh system with latest Java.

Hello!Before I forget:I'm using Windows 10. Fresh machine.I have downloaded the latest CubeMX. When I wanted to install it, it asked me for Java, so I installed the latest Java. Now it says:The application requires a Java Runtime Environment 1.8.0_45...

PG.1 by Associate III
  • 1756 Views
  • 3 replies
  • 1 kudos

Resolved! Cannot select ADC channel 16 with CubeIDE and STM32G031J6

I'm trying to enable ADC channel 16 on STM32G031J6 but the IDE does not list up the channel.What is the matter? How can I enable the channel? My environment as bellow.STM32CubeIDEVersion: 1.4.2Build: 7643_20200813_1322 (UTC)STM32CubeMX - STM32 Device...

0693W000005B6cNQAS.png
SKiri by Associate II
  • 1818 Views
  • 2 replies
  • 0 kudos