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.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
  • 131 Views
  • 2 replies
  • 4 kudos

"Missing dependency for this package. - STM32Cube FW_F4 V1.25.0" while trying to install 1.25.2 when it IS installed

This does not happen with STM32CubeIDE 1.4, but I need to use 1.5 for various reasons. The computer doesn't have and can't have an internet connection.I've downloaded the file en.stm32cubef4_v1-25-0.zip, AND en.patch_cubef4.zip (this is V1.25.2 accor...

TKris.1 by Associate
  • 3731 Views
  • 2 replies
  • 2 kudos

How to configure HyperBus (in IOC) when external RAM signals are connected to OCTOSPI1 and also OCTOSPI2 (because of PCB layout) on STM32H725

Hi,we have configured OCTOSPI1/2 follows : But signal ChipSelect is not changing when we measure it. When we moved Chipselect to OCTOSPI2 ChipSelect is working ... How do we have to change configuration to work with ChipSelect on OCTOSPI1 ?ThanksPetr

0693W00000BahvuQAB.png 0693W00000Bahw9QAB.png
PZema.1 by Associate
  • 467 Views
  • 0 replies
  • 0 kudos

STM32CubeMX random sorting in .ioc file

I just realized STM32CubeMX Version 6.0.1 no longer sorts and groups the settings in .ioc file in a predictable way. This makes it very difficult to follow the changes with tools like `git diff`. #MicroXplorer Configuration settings - do not modify P...

jeremi by Associate II
  • 2670 Views
  • 13 replies
  • 2 kudos

Resolved! IOC file ordering

Hi, we use Git for source control and have notice that each time STM32CubeMX 6.1.1 saves the IOC file, the ordering of all the entries is changed. This makes it impossible to deal with in pull requests as you cannot tell if genuine changes have been ...

Ian Day by Associate III
  • 3393 Views
  • 14 replies
  • 1 kudos

How to set STM32F417 Programmable voltage detector

I try to capture power off timestamp by using PVD_IRQHandler(), but it doesn't work. The PVD is configured at power up at below:void Config_PWR_PDV(void){ PWR_PVDTypeDef PVDSetting; HAL_PWR_DisablePVD(); PVDSetting.Mode = PWR_PVD_MODE_IT_FALLING; //F...

Resolved! Default HSI Calibration Value wrong in STM32CubeIde

Hello,I am using the STM32L412, when I activate the HSI clock in the .ioc, HSI Calibration Value is set to 16 (0x10).Looking at stm32l4xx_hal_rcc.h:#if defined(RCC_ICSCR_HSITRIM_6)   #define RCC_HSICALIBRATION_DEFAULT 0x40U /*!< Default HSI ca...

iduque by Associate
  • 1715 Views
  • 3 replies
  • 0 kudos

About build error in STM32G4 using STM32-MAT

I am trying to STM32G4 with STM32-MAT.After setting the setting I want to use to STM32CubeMX, when I set HRTimer Config on Simulink and created the code, it stopped with the error "Undefined identifier hrtim_adc_trigger3_value_init".I don't know whic...