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
  • 391 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
  • 1389 Views
  • 5 replies
  • 7 kudos

Resolved! How to detect overflow when using PWM input in combined mode

I try to measure frequency and duty of a PWM input signal with an STM32G474. For this i have selected the combined channels option "PWM input on CH2" for Timer 15 in CubeMX. The measurement works well, as long as the input signal is not to slow. When...

MSchr.1 by Associate II
  • 2083 Views
  • 1 replies
  • 0 kudos

HAL_I2C_Mem_Read returns nothing?

I use MAX9611 to measure current. It has 2 register to read current. 12 bits divides 2 bytes. MSB(8 bits) and LSB(4 bits). I tried to read only MSB but I couldn't, Can anyone help me? Note: there is no externall pull up res, I configure an internal p...

_legacyfs_online_stmicro_images_0693W00000dJpJhQAK.png
MÇETİ.1 by Associate III
  • 1820 Views
  • 2 replies
  • 0 kudos

Resolved! How to change Init functions to global?

I am currently attempting to build code in simulink for a GIGA R1 project I have. However when setting the ioc file up in CubeMX I am unable to change the init functions to be global. Any help would be appreciated. Thanks!

Resolved! Generating c++ projects with STM32CubeMX

Hi, I'm trying to make a c++ project for STM32CubeIDE using the STM32CubeMX.However there doesn't seem to be any c++ option, is there something I'm missing or is the software just not made for it?