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

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
  • 854 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
  • 676 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
  • 1177 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
  • 1474 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
  • 1513 Views
  • 2 replies
  • 0 kudos

Strange STM32CubeIDE and .ioc behavior

Hello,For my first project with STM32 microcontrollers I try to use STM32F769I-Discovery board with TouchGFX 4.13.0 Designer and STM32CubeIDE 1.3.0.So I first generate a project with TouchGFX, generate the code and then open the project from the dire...

DNITA.1 by Associate
  • 535 Views
  • 1 replies
  • 0 kudos