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

SystemClock_Config() generated by STM32CubeMX fails after jumping from the built-in bootloader (system memory)

Hi, We are using a STM32G071GB uC, and have created an application using STM32CubeMX 5.4.0 (project file is attached).When using the go command to jump from the built-in bootloader to the user application, HAL_RCC_OscConfig() called by SystemClock_Co...

Resolved! STM32CubeMX deletes Src folder..

Hi,When I am generating Code with CubeMX, it will delete my complete Src folder. I always have to recover it. For that reason it will also not generate any new c files once i add a new peripheral.Tried this on Mac and Windows with latest CubeMx versi...

Resolved! STM32CubeMX 6.1.1 is deleting Src folder

I saw that this issue was reported back in 4.* days, but I'm experiencing this now with 6.1.1. The Core/Src folder is removed even though Core/Inc files are regenerated.Is there a version that is known to work?

Ian Day by Associate III
  • 1478 Views
  • 9 replies
  • 0 kudos

stm32cubeIDE deleting src folder

stm32cubeIDE deleting SRC folder, im posting this after it deleted my 2nd project i always update stm32cubeIDE , cube mx on day 1 itself,it is not deleting while i developing , only completed project getting deleted, i only noticing it when i open pr...

Can not run stm32f7 and H7 MCU's at sampling rate of 1.5 clock cycles. I know I am wrong I have to increase the sampling time depending upon the number of channels I use, but with a single channel the MCU supposed to work with 1.5 clock cycles.

As far as I understand the sample type options available in Cube MX simply waits for the number of clock cycles after the completion current conversion. In STM32h745 the sampling rate is as low as 1.5 clock cycles but I do understand the its the wait...

anklabs by Associate
  • 403 Views
  • 0 replies
  • 0 kudos

Resolved! STM32H7 Quad-SPI for Ethernet Communication

I'm confused regarding the importance of Quad-SPI for Ethernet communication. I see that pins PH2/PH3 were configured for QSPI without it being activated for either core. I tested leaving these pins in GPIO_Analog mode and still detected UDP broadcas...

DWill.4 by Associate II
  • 2005 Views
  • 4 replies
  • 0 kudos

STM32F7xx LL based flash peripheral

Hi,I want to generate LL based flash module. but i can't generate it from cubeMX.My overall system operations are based on LL.In cubeMX there no option for it.Can you suggest for it, or have any alternative way for it.Thanks Akshay Patil

APati.18 by Associate II
  • 643 Views
  • 2 replies
  • 0 kudos

Legacy HAL TIM interrupt callbacks?

In studying "stm32f0xx_hal_tim.c" I came across this: case HAL_TIM_PERIOD_ELAPSED_CB_ID : htim->PeriodElapsedCallback = HAL_TIM_PeriodElapsedCallback; /* Legacy weak Period Elapsed Callback */ break; It sa...

martincho by Associate II
  • 1600 Views
  • 4 replies
  • 0 kudos