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

STM32F4 FreeRTOS init code generation issue

When FreeRTOS is enabled in STM32CubeMx for STM32F4 MCUs, the generated code should create the tasks already configured by the user.In this context, a regression was detected in the latest STM32CubeMX version (6.7.0) and only with the STM32F4 series ...

[BUG] CubeIDE doesn't initialize the tasks after osKernelInitialize() in the main file. No user code space is useable between oskernelinitialize and oskernelstart.it gets deleted after each code generation.

HI, I am using STM32F429IGT6 with freeRTOS in CMSIS osV2. CubeIDE V1.11.0 with MCU package F4 1.27.1.After code generation, cubeIDE doesn't initialize the tasks and it has to be manually added. But bigger problem is, user code space can't be used bet...

IZ.Mani by Associate
  • 1323 Views
  • 1 replies
  • 1 kudos

Resolved! STM32H745iDisco LWIP + FREERTOS

My project was generated a few months ago (LWIP + FREERTOS on M7). The project was working without an issues. A few days ago I wanted to include CAN interface and after converting IOC to latest version, I have issue: LWIP was deactivated. I am not ab...

LinasSt by Associate
  • 1236 Views
  • 3 replies
  • 1 kudos

Resolved! Cube MX and ADC4 - Channel not initialised

HII use Cube MX with STM32U585RIT6. When I use ADC4 In3 In4 In9 In22 and In23, the  channel In9 is not properly initialised. I must add this manually :/* USER CODE BEGIN ADC4_Init 2 *//** Configure Regular Channel*/sConfig.Channel = ADC_CHANNEL_9;if ...

Markko67 by Associate II
  • 1654 Views
  • 2 replies
  • 0 kudos

Resolved! PLLP can't be turned on

I'm working on page 30 of the STM tutorial for the B-G474E-DPOW discovery kit at this linkhttps://www.st.com/resource/en/application_note/dm00706304-buck-current-mode-with-the-bg474edpow1-discovery-kit-stmicroelectronics.pdf I get this warning when I...

decook1110_0-1719895881441.png

Resolved! Support for STM32U0 series in STMCubeMX

Hi, I'm unable to use the STM32Cube FW_U0 V1.1.0.  I have downloaded the package in Cube MX - Version 6.11.1 however when trying to create a project using the "Start My project from Example - ACCESS TO EXAMPLE PROJECT SELECTOR" i get the following di...

Screenshot 2024-06-16 155834.jpg
Jorgie by Associate III
  • 1998 Views
  • 6 replies
  • 1 kudos

issue in one pulse mode in stm32f030c8t6.

Currently i am working with one pulse mode in stm32f030c8t6. TIM15, slave mode = Trigger mode,Trigger source=TI2FP2, and channel = PWM channel CH1 ,Input and output frequency 50Hz. My problem is whenever i connect the trigger input pulse,(From extern...

VVL.1 by Associate II
  • 1362 Views
  • 5 replies
  • 0 kudos

CubeMX code generation fails and gives error

Hi! After a few days of working on a project where I mostly added existing source files to the project as virtual links, I started getting this error message. At first it didn't appear to actually affect anything, but then after a few times the code ...

Olli_Martikainen_0-1716971081480.png

crystal tool suggestion

When choosing a crystal for STM32, the essential information is in table 5 and table 7 of AN2867. Table 7 is ordered by crystal: if you have a crystal, table 7 of AN2867 lists the stm32 processors where the crystal works.STM32CubeMX already knows wha...

koendv by Associate II
  • 732 Views
  • 1 replies
  • 1 kudos