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

STEVAL-STLKT01V1 starter file for configuration

Hi,I'm working with STEVAL-STLKT01V1 and wanted to create a custom program from STM32CubeMX. The problem is that in the program I don't have the option to create from Sensortile specifically, with onboard pre configurations ready. Is there a file w...

Resolved! Bug: HAL not used for SysTick?

Hi,what's needed to make CubeIDE to use the HAL implementation for the SysTick? I'm using STM32L011F4 device. It seems that the generated code uses Systick_Handler() from stm32l0xx_it.c instead of HAL_SYSTICK_IRQHandler() from stm32l0xx_hal_cortex.c....

RAltm by Senior
  • 1527 Views
  • 6 replies
  • 1 kudos

Resolved! STM32CubeIDE F411RE Can't Set LSE Source in UI

I have a Nucleo F411RE board and I noticed in STM32CubeIDE Version 1.3.0, that I can't change the LSE clock source to external. However, I can change the HSE clock source to external (see attached).On the Nucleo board it looks like only the LSE clock...

0693W000000WncSQAS.jpg
JBell.2 by Associate
  • 2176 Views
  • 3 replies
  • 0 kudos

I 'm trying to simulate in Proteus STM32F103C4 + LCD2x16 (1602). I 'm trying the simplest possible way, which is with logical gates and 'convert' it to code for the STM32.

I took it from this video.I 'm using STM32CubeMX 5.2.1 + Atollic TrueStudio 9.3.0 + Proteus 8.6.Till now I haven't managed to make it work.I think I'm making a mistake in pins setup or some clock 's setup.I have tried any possible potion for pins: pu...

BUG: 3 different clocks labeled PLLI2SCLK in CubeMX

In the clock tool picture below, no less than 3 separate and different clocks are labeled PLLI2SCLK.Top output of PLLI2SBottom output of PLLI2S (which has another divisor Q)Input to SAI-A mux (which has yet another unlabeled divisor)So, which one is ...

0693W000000VtZXQA0.png

What is the reason of getting error: "selected processor does not support 'dsb 0xf' in Thumb Mode" in Atolic Studio 9.1.0, when any controller is selected in STMCubeMX5.6.0?

I am a first time user of ST microcontrollers. I had just selected the MCU, and with (or) without even configuring anything in STMcubeMX, after generating the project, I got quite a numbers of the above kind of error messages. I did not write anythin...

GBehe by Associate III
  • 546 Views
  • 0 replies
  • 0 kudos

STM32CubeMx unable to generate code for trueStudio,Keil

Hi,I am using STM32CubeMx of version 5.6 and trueStudio9.3 as IDE and STM32L476 as micro-controller.After generating code, when i load code into truestudio 9.3 ,its showing error follow error:"selected processor does not support `dmb 0xF' in Thumb mo...

gcDev by Associate
  • 659 Views
  • 2 replies
  • 0 kudos