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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 1433 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
  • 5513 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
  • 726 Views
  • 1 replies
  • 0 kudos

Resolved! STM32G431C8

I want to use DMA to move data from memory to DAC1 channel 1 and channel 2. Channel 1 uses DMA Channel 5 and that works. CubeMX configured DAC1 Channel 2 for DMA1 Channel 6. The datasheet says STM32G431 is a category 2 device which has only channel 0...

How to configure a Timer to input capture from comparator?

Hi,I have read the STM32F303RE reference manual along with using CubeMX 5.6.1 but can't seem to do what I want. The documentation of CubeMX is less than desirable IMHO.As an aside I am already using TIM2_CH2 on pin PB3 in Input Capture Direct Mode an...

BTrem.1 by Senior II
  • 1205 Views
  • 1 replies
  • 0 kudos

Resolved! What is the correct way to jump from application FW to the DFU bootloader on the STM32F078VB, using a project generated with the latest STM32CubeMX?

I have an existing STM32F078VB firmware application. The following code used to work perfectly fine to jump to the DFU bootloader shortly after power up, based on the application firmware detecting 2 buttons being pressed on the board:#define BOOT_S...

ACaru.1 by Associate II
  • 2612 Views
  • 3 replies
  • 2 kudos