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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 30 Views
  • 0 replies
  • 1 kudos

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

Resolved! Issue to select TouchfGx 4.24.1 version in CubeMx

I use touchfgx 4.24.1 Designer to generate a new project. After generating it, I use this stm32cubemx 6.12.1 to open the stm32cubeProject. It will say that my stm32cubemx 6.12.1 does not have touchfgx 4.24.0 installed, and it wants me to install touc...

Kenwang_0-1728385608778.png Kenwang_1-1728385664740.png
Kenwang by Associate III
  • 2671 Views
  • 11 replies
  • 0 kudos

CubeMX bug when use Memory management

MCU: STM32H743IIT6When using Cubemx on Mac M1, enable "Apply Application Regions Settings to Linker Files", the generated .ld file error/*********************************************************************************** File : LinkerScript.ld**** Au...

lukegong_0-1722827489500.jpeg
luke gong by Associate II
  • 1775 Views
  • 6 replies
  • 0 kudos

CubeMX/LL/FreeRTOS

We use CubeMX to generate code for LL and FreeRTOS. After configuring the SYS timer to TIM14 in CubeMX, HAL_Init() and HAL_InitTick() in the generated stm32f4xx_hal_timebase_tim.c file use TIM14 as expected. LL_mDelay, however, is not generated and s...

clausf by Associate
  • 745 Views
  • 1 replies
  • 0 kudos

ADC Injected Conversion

I am trying to use the Pin ADC1_EXT11(PC11) and ADC1_EXT15(PA15) as ADC input sampling pins. But in the setting given in Cube IDE, if i enable injected conversion, additionally 2 pins are automatically getting configured for some reason. I don't know...

Screenshot 2024-10-15 110058.png Screenshot 2024-10-15 122703.png

Resolved! There is no Advanced Parameters tab on the Ethernet

Hello. I'm trying to use Ethernet MAC with external PHY (LAN8720) but when I try to configure the Ethernet on the IOC there is no Advanced Parameters tab (STM32F407VGT6). HAL Lib. version is 1.27.1. I tried a few things but I had no luck. I think I'm...

0693W00000bhMLPQA2.png
MrEmou by Associate II
  • 3329 Views
  • 6 replies
  • 0 kudos

Resolved! ADC dual mode

Hi i'm using MCU : STM32H743ZGT. At several ADC documents, it says that when ADC1 and ADC2 end sampling, the two results are stored in ADC_CDR together. The top 16 bits are the result of ADC2, or slave ADC, and the bottom 16 bits are the result of AD...

giwonKIM by Associate III
  • 1447 Views
  • 3 replies
  • 1 kudos

Resolved! To Generate 2 pwm with phase shift with same timers

 logic analyser picture has timer 1 channel 1 and another one is channel 2 it's duty 30% and frequency 100khz it's total ton+toff is 10 microseconds here I need to start the timer 1 channel 2 after 5 microseconds  I need the output like this I I'm dr...

1000012502.jpg 1000012503.jpg