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

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
  • 1302 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
  • 884 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
  • 721 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
  • 1257 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
  • 1531 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
  • 1561 Views
  • 2 replies
  • 0 kudos