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

Why is STM32 CubeMX not running?

HiUntil three days, CubeMX runs nice at my laptop. Now (possibly after java update), CubeMX shows the light blue start screen, and stops without any message.New installation didn't solve the problem, uninstallation fails also.Launching from console f...

OLenz.1 by Associate II
  • 2109 Views
  • 5 replies
  • 0 kudos

CubeMX confusing ADC trigger selection

At register level selecting ADC trigger event is done thru EXTSEL with many internal sources (timers) and one external (EXTI Line 11). Consistent approach is in LL API, where selecting trigger source by "LL_ADC_REG_SetTriggerSource" function or thru ...

0693W000001r522QAA.jpg 0693W000001r527QAA.jpg

Hello everybody, I'm trying to program an STM32F446RCT6. It should run from HSE, which works fine after loading the program on the chip, but after rebooting (switching the voltage source off and on) it does nothing.

I have already tried to use a second SystemClock_Config (copied from a fresh project after code generation), to first use the HSI after reboot and initialize everything (USART, GPIO,...), and then switch to the HSE, but it didn't work.I would appreci...

MBjel.1 by Associate II
  • 1051 Views
  • 5 replies
  • 0 kudos

Migration from SPL to HAL on STM32

I'm migrating an ST driver file from the old standard peripheral library to the new HAL system. Here's and one example of many identifiers I'm having to replace:Old: ETH_DMA_Rx_Frame_infosNew: ETH_DMARxFrameInfosThese two identifiers contain EXACTLY ...

Aasdf.1 by Associate
  • 1414 Views
  • 2 replies
  • 0 kudos

Cube AI and model Keras

Hello,I get an issue when I try to load a Keras model in CubeMX (see image).When I click on Validate on Desktop, all results are 0: acc, rmse and mae. Is it a bug on CubeMx?I have the same result even if I compress my model. And I try another model w...

IFaye.1 by Associate II
  • 1349 Views
  • 3 replies
  • 0 kudos

Setting up SDIO for the STM32F103ZC, fatfs FR_DISK_ERR error.

I'm trying to transfer my Arduino code to the ST HAL library. I've got everything implemented except for the SD card. After some research I set up FatFS using the SD 4-bit bus. Using PA15 as the detect SDIO pin, which I've both tried to set as a pull...

JGale by Associate II
  • 5214 Views
  • 8 replies
  • 0 kudos

Resolved! Problem with Timers clock and interrupt periods

Hi, I have my STM32F407 with the following clock configuration, as I want to use TIM2-TIM5, the input clock of those Timers is APB1, and it is working at 84 MHz, I want TIM2 working with an interrupt every 1 sec, so I set the prescaler to 8400-1 so t...

0693W000001smnSQAQ.png
VCasa.1 by Associate II
  • 676 Views
  • 1 replies
  • 0 kudos