STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.14.1 released

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

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
  • 1812 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
  • 2644 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
  • 1628 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
  • 2183 Views
  • 5 replies
  • 0 kudos

Debugger not reading .elf file

I’ve written a stm32 C program on the Stm32CubeMX environment, and it builds with zero errors and warnings. However when I debug, it gives me an error. (See attached photo) Any help to fix it would be amazing!

Resolved! CubeMX 6.5.0 code generation error when ADC enables temperature sensor�?Vref and Vbat channel(LL library)

Hello Everyone,I am using STM32G474RE and the STM32CubeMX version is 6.5.0.When ADC5 enables temperature sensor�?Vref and Vbat channel, STM32CubeMX will generate code in MX_ADC5_Init function(LL library):/** Configure Regular Channel */ LL_ADC_REG_Se...

Shen by Associate II
  • 879 Views
  • 3 replies
  • 0 kudos

You can also use PDM2PCM on STM32F3 in CubeMX

Just like what I did in G4, I was able to add PDM2PCM in F3 namely F334 and F302.https://community.st.com/s/question/0D53W00001TGJ2wSAH/why-is-pdm2pcm-not-enabled-for-stm32g4-in-cubemxPls add PDM2PCM in F3 as well.