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

Resolved! STM32CubeIDE/MX with freeRTOS

I am using STM32CubeIDE to build a freeRTOS project. I have put my tasks in their own .h and .c files. For example I have a default_task.c file. The problem is each time I open CubeMX and save my changes, the 'auto code update' feature does not se...

LMorr.3 by Senior II
  • 4038 Views
  • 3 replies
  • 0 kudos

Undefined reference to api's in new custom folder

Hi,I have created project using the STM32CubeIDE with .ioc. And added new folder for application code. Problem statement: Any API defined in my application file which under the Application folder will not identified by the Core files.I have defined t...

Resolved! In STM32CubeMX, when configuring the STM32H750VB MPU with more than 1 memory region and Generating Code, CubeMX gives a warning that some settings in the CORTEX_M7 module are missing or incorrect. I believe this is incorrect. Is this a bug in CubeMX?

I am trying to configure the Internal Flash (0x08000000, 128KB, cacheable), DTCM RAM (0x20000000, 128KB, non-cacheable), AXI SRAM (0x24000000, 512KB, cacheable), and QSPI (0x90000000, 4MB, cacheable).There is no indication of what parameters might be...

DPade.1 by Associate III
  • 2205 Views
  • 3 replies
  • 0 kudos

How to use the DMA Request Synchronization in STM32CubeIDE

Hi there!I am trying to create a lock-step synchronization between a timer that updates GPIO and a dac.As you can see from the below, the GPIO leads the DAC transitions by 1 cycle, and that's not what I want: My setup is as follows.TIM8 generates a T...

0693W00000LxUW4QAN.png
etheory by Senior II
  • 3208 Views
  • 3 replies
  • 0 kudos

Resolved! [H723] I want to know why it becomes a hard fault

H723ZGT6 Nucleo-144CubeMX 6.3.0AN209, Summer 2017, V 5.0An error occurred when writing a for loop process before SDRAM initialization.I know the solution, but I don't know why this is happening.(Add static or volatile or write a for loop after SDRAM ...

0693W00000Lx4MxQAJ.png
june by Associate III
  • 1911 Views
  • 2 replies
  • 0 kudos

Resolved! What's up with missing HAL_I2C_MspInit(hi2c)?

I'm working on test code for a bare metal STM32G0C1 project. I'm using STM32CubeIDE 1.9.0 and created the project with the included STMCubeMX tool.When digging around in the generated code to understand I2C I found that the function HAL_I2C_MspInit(...

DPaul.2 by Associate II
  • 2697 Views
  • 5 replies
  • 0 kudos