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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1250 Views
  • 0 replies
  • 2 kudos

Resolved! Impact and selection of the correct timebase source

Hello ST community,In the software STM32CubeMX there is the possibility to select different timebase sources. By default the SysTick is selected. What criteria should be considered to decide which timebase to use ? What is the advantage/disadvantage ...

Rookie38 by Associate III
  • 7240 Views
  • 2 replies
  • 1 kudos

Resolved! Code generated by STM32CubeMX sets the HAL timebase ISR priority incorrectly when using FreeRTOS? Is it really necessary to have a separate timebase?

My STM32F745VET project was built in MX v6.3.0 and uses FreeRTOS. When SysTick is dedicated to the RTOS I get the following message when I try to build code:"When RTOS is used, it is strongly recommended to use a HAL timebase source other than the Sy...

RBack.1 by Senior
  • 11636 Views
  • 6 replies
  • 3 kudos

Keil STM32CubeMxLauncher.exe couldn't find STM32CubeMx

I got this error below.STM32CubeMX Launcher V1.0.4.0Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.*** Error: STM32CubeMX could not be found !CubeMXLauncher termiates with error code 3Enter any key to close.I am using Keil Uvisi...

Simulink error for undeclared values by CubeMx

Hi,I want to connect my STM32H753ZI Nucleo board to Simulink. I have generated the CubeMx file to blink a simple LED. At first, I got some errors for missing header files. I added them manually. Now, I have the following error when I try to compile t...

hsafamehr by Associate II
  • 2529 Views
  • 3 replies
  • 1 kudos

Resolved! Doubt with GPIO config in stm32cubemx

Hello,I have a question while configuring the GPIO on stm32cubeMX. I put all my pins in the program like this:When I configure all the pins and generate the code, not all the configured pins appear in the gpio.c file on stm32cubeIDE; for example, the...

rubenles_0-1706881193579.png

Trying to read I2C ADC device MCP3021 with HAL I2C library

Hi all,Can anyone help me out how I should read out the two bytes 10 bits ADC result from the MCP3021https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/20001805C.pdfMy address is 0x4C 1001100(RD/WR) I'm using ...

TEK00002.PNG
WSpar.1 by Associate III
  • 2162 Views
  • 2 replies
  • 1 kudos

Resolved! Bug using CubeMx "User Actions" feature

I started using the new "User Actions" feature, and it seems that there's an issue with the function that allows running a script after code generation. I managed to make the feature work without any problems when the "Window -> Outputs" option is ch...

Jdescot by Associate II
  • 7006 Views
  • 7 replies
  • 3 kudos

Example with STM32H7 + CubeMX + LwIP - FreeRTOS

I would like to know if there is any "easy" way of getting the following setup working:NUCLEO-H723ZG dev boardEthernetLwIPSTM32CubeMX projectNo FreeRTOSBeing able to ping the dev boardI've found the following (and can get them running):https://commun...

VVV by Associate II
  • 5373 Views
  • 2 replies
  • 0 kudos