STM32CubeMX (MCUs)

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.12.0 released

We are pleased to announce you that the official release of STM32CubeMX V6.12.0 is available. What is new in STM32CubeMX V6.12.0?New MCUs/MPUs series : STM32WB0 ,STM32MP25XX and STM32C071XXAdd support new CPNs STM32G4: Add support STM32G4 'Z’ and STM...

CubeMX Generated ThreadSafe/stm32_lock.h - Potential Bug

I've burned a significant amount of time tracking down an issue, so I thought I would share in the hope of helping others and maybe improving ST's provided newlib locks.(This is probably in the wrong place, please move it as required.)I'm using the T...

BCowp.1 by Associate II
  • 4 replies
  • 9 kudos

Resolved! I am getting this error message:   - Main Config: These peripherals still have some not configured or wrong parameter values:[FATFS,Verify...

Hi,While configuring STM32F446RE on CubeIDE for writing and reading on SD Card using SDIO mode (1 bit mode), when I'm generating code I get this error message :   - Main Config: These peripherals still have some not configured or wrong parameter valu...

meco54 by Associate
  • 1 replies
  • 1 kudos

Delay between SPI transfers on STM32U5

I have to interface an STM32U575 microcontroller with a very specialized SPI device for which the market offers no alternatives. According to the spec sheet, the chip select must be pulsed between every 2 bytes, for at least 154 ns. I have to read 34...

_legacyfs_online_stmicro_images_0693W00000biFzAQAU.png _legacyfs_online_stmicro_images_0693W00000biFx5QAE.png
CWill.12 by Associate II
  • 7 replies
  • 0 kudos

FreeRTOS systick

Hello Everyone,I am working with FreeRTOS on an STM32MP157CAA and configuring the CM4 core in engineering mode using CubeIDE. According to the documentation, it's necessary to select a timer other than SysTick for the HAL timebase. However, in CubeID...

YasirR by Associate
  • 3 replies
  • 0 kudos

DAC Clock Configuration issues

Hi, I'm using the STM32H563ZIT6 microcontroller with an 8 MHz external crystal oscillator. I have set the HCLK to 250 MHz, and my GPIO LED program is working fine. However, whenever I enable DAC channel 2, I encounter an HCLK configuration error. The...

Screenshot 2024-06-27 185538.png Screenshot 2024-06-27 190059.png Untitled1.png Screenshot 2024-06-27 190425.png

STM32CubeMX Makefile/CMake generation failure STM32U5*

Hi,I am trying to generate a project using STM32CubeMX v6.11.1 Linux using the NUCLEO-U5A5ZJ-Q project template.I am happy to use either a Makefile or a CMake based build, but unfortunately both have issues. If I select a Makefile build, and click Ge...


How to configure SD CARD via STM32CubeIDE

Hello,I would like to know how to configure the SD card of an STM32L552E-VE evaluation board, I have an example with this evaluation card 'FatFs_uSD_Standalone' but It's not easy for me to understand how to configure the 'SDMMC' with this board since...

DYann.1 by Senior
  • 13 replies
  • 2 kudos

UART DMA transmit works only one time

Hello,I got a problem with HAL library 10.4 for STM32L152RE in UART DMA transmission, the data is transmited only one time using the function HAL_UART_Transmit_DMA(&huart3,t_Buffer ,11) using uart3,  after that the UART3 structure keep the "flag" hua...

Howto use BSP/lsm6dsv16x

I have a custom board with LSM6DSV16XTR connected to SPI2. The configuration was created by CubeMX 6.11.1 and now used in CubeIDE 1.15.1 Now, I am wondering how to use the functions in lsm6dsv16x.c ? Do I have to initialize an object of type LSM6DSV1...

FB1 by Associate II
  • 0 replies
  • 0 kudos