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

USE_NEWLIB_REENTRANT

After enabling USE_NEWLIB_REENTRANT in FREERTOS (pic.1) I get error notification in LWIP (pic.2) and also after I try to compile this settings (pic3). This error info disappear when I manually put in 1 in the fieldwith red error text (pic.2 > RTOS De...

1.jpg 2.jpg 3.jpg
MCUpwr by Associate III
  • 1287 Views
  • 0 replies
  • 0 kudos

CubeMX 6.8.1 for F7 does not support FreeRTOS 10.3.1

I'm porting an active application project from F4 to F7 (The customer had to change as of the problem to get F4 MCUs).The current project that was generated with CubeMX used FreeRTOS 10.3.1 as this is the version that the CubeMX support.Now, when I p...

Egolt.1 by Associate III
  • 674 Views
  • 0 replies
  • 0 kudos

STM32Cube FW_L1 V1.10.3 library has a bug and does not support ADC regular group conversions greater than 16 (conversions) ranks.

The CubeMX correctly allows selection of up to 28 conversions, but generated code fails when set above 16. The libraries sequencer scan length definitions end at LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS and ADC_SQR1_L_4 is not found in the libraries but ex...

robd by Associate II
  • 1334 Views
  • 2 replies
  • 0 kudos

I2C EEPROM TO WRITE AD DATA USING STM32F103C8T6 MCU

Hello,    I am try to write the data for memory address in EEPROM using standard protocol I2C. we are trying in data write to memory Address and Driver IC read to operates the Sensorless BLDC motor. so I am working in this method. But am put in the d...

Screenshot (63).png 42544sg.PNG
mrsmile by Associate III
  • 2367 Views
  • 2 replies
  • 0 kudos

H743ZI + lwIP DHCP problem

I have a project with STM32H743ZI, lwIP, noOS. I've read the document with the suggested settings for MPU, linker file, lwIP head placement and applied the changes to CubeMX generated code.Additionally, I have set the MEM_ALIGNMENT to 32 bytes and ad...

JojoS_0-1687093051524.png
JojoS by Associate III
  • 1733 Views
  • 2 replies
  • 2 kudos

unit testing in cube ide as of 2023

HiI need to do some unit testing. As of 2023 What is the easiest way forward? Which tool is best integrated with CUBE ide?There are 2 use cases:Unit tests running on STM32 (here I just know of Tessy/Hitex, not open source)?unit tests running on a win...

MK..1 by Associate III
  • 908 Views
  • 1 replies
  • 0 kudos

How to run code in RAM?

I have a project with a STM32H7 part generated with CubeMX, but I want to copy the code to RAM after reset and then run it from RAM, because I want to change the flash where the code is running. How can I do this?I noticed there is a linker file STM3...

fb by Associate III
  • 9503 Views
  • 9 replies
  • 2 kudos

Resolved! CubeMX 6.8.1 installer for Linux is broken

The installer for the latest CubeMX is broken on Linux, as the resulting directory structure lacks permissions in the jre/ subdirectory:cassiopeia:/opt/cubemx# ll total 150384 drwxr-xr-x 8 root root 4096 Jun 23 16:00 db/ drwxr-xr-x 2 root root ...