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
  • 619 Views
  • 5 replies
  • 6 kudos

I have a question about the external flash loader.

helloI am developing an external flash loader with stm32g070.There is something I don't understand about this.1. Should I use only the internal clock for external flash loader, not the external crystal?2. Can't I use the interrupt?Please reply to the...

lhwa .1 by Associate II
  • 800 Views
  • 1 replies
  • 0 kudos

Cubeide ADC DMA code generation sequence problem

I am using CUBEIDE 1.9.0.Stm32f103ret6 is used.The ADC generated a code to use DMA.However, it did not work properly.The cause should have been __HAL_RCC_DMA1_CLK_ENABLE() before this ADC was initialized.I tried to modify the DMA initialization faste...

MagicFly by Associate
  • 1057 Views
  • 2 replies
  • 1 kudos

Resolved! Trouble with custom bootloader and CubeMX generated code

Hi, I've got an project in cubeide that starts in one project and then jump's to another at 0x0800C000. It's been working in the past and I've somehow broken it trying to do updates. Here is the main code in the bootloader. It's very simple. BOOTLOAD...

xrstokes by Associate III
  • 1222 Views
  • 2 replies
  • 0 kudos

Using basic timer to trigger ADC conversion

Hi,Using an STM32G4, I want to start an ADC conversion periodically using an event from a timer.To do so I choose the TIMER6 (basic timer) and ADC2 peripherals.Sadly, it didn't work.The reference manual, seems to imply that you can't use a basic time...

0693W00000KdTREQA3.png 0693W00000KdTSCQA3.png
GBert.2 by Senior
  • 1258 Views
  • 1 replies
  • 0 kudos

STM32L152 UART5 Pull Up forced by Mx?

I am trying to configure the UART5 on PD2 and PC12 for my STM32L152RE as open drain but the Mx GUI only offers pull ups. I searched manual and Errata but nothing indicates a special pin here. is this a bug in the Mx config or a real thing does anybo...

ASche.5 by Associate III
  • 886 Views
  • 2 replies
  • 0 kudos

Best/easiest way to share data between cores in STM32H745

I am working with a dual core H7 for the first time and and very confused about how to share data between the two cores. I would like to use the M4 as a slave/background processor for the M7 where the M7 can alert the M4 when there is new data to pro...

RMcCa by Senior II
  • 20589 Views
  • 16 replies
  • 4 kudos

Obtain 48kHz sample rate from SAI on STM32L5

Is it possible to obtain a (theoretical) 48kHz sample rate with 0% error on the STML5's SAI peripheral? So far the clock configuration tool in STM32CubeIDE has been unable to do so.Research led me here, but this is not applicable to a slower clocking...

0693W00000Kd9V6QAJ.png 0693W00000Kd9W9QAJ.png
JTedot by Associate II
  • 926 Views
  • 1 replies
  • 0 kudos