STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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

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
  • 927 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
  • 947 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
  • 672 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
  • 16098 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
  • 632 Views
  • 1 replies
  • 0 kudos

Resolved! Can you have too many peripheral init functions?

Here is a weird one for ya.I am programming on the STM32L4R9I-EVAL dev board, but my project is configuredfor the STM32L4S9AII6. I am clocked at 120MHz.My program has started failing for what seems to be because I have too manyMX_<peripheral>_init() ...

0693W00000KcBcqQAF.png
MFolk.1 by Senior
  • 2223 Views
  • 10 replies
  • 0 kudos

Unknown error during running code on STM32F105R8

Hi all, I have made a source code that runs fine, But after 6 months I again tried to run the same code. Now the running stuck at some point,The code stuck at this point is shown belowIs this error occur due to any hardware failure like oscillator /c...

0693W00000KcfPYQAZ.png