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

Resolved! The SystemClock_Config function is not declared static type

HI,I set up STM32CubeMX to declare SystemClock_Config as static.However, SystemClock_Config is not declared static.The versions in question were STM32CubeMX 6.3 & STM32Cube FW_F4 V1.26.1.I also tried the latest version of STM32CubeMX 6.5 & STM32Cube ...

0693W00000LxeqYQAR.png
Mkim.4 by Associate
  • 1249 Views
  • 1 replies
  • 0 kudos

Resolved! STM32G474 DMA cannot write to DAC_DHRx register

Hi everyone,I am using the NUCLEO-G474RE development board with STM32G474RE MCU​The ioc file is attached, and this is main function:int main(void) { /* USER CODE BEGIN 1 */   /* USER CODE END 1 */   /* MCU Configuration-------------------------...

0693W00000Ly1LTQAZ.png
Shen by Associate II
  • 1461 Views
  • 3 replies
  • 0 kudos

FATFS middleware: invert card detect logic level

I'm using STM32CubeMX 6.5.0, MCU STM32L4A6ZGTx on NUCLEO-L4A6ZG, and an Adafruit 4682 Micro SD SPI or SDIO Card Breakout Board. On this board, the card detect line (DET) "is connected to GND internally when there's no card, but when one is inserted i...

CKugl.1 by Senior II
  • 1528 Views
  • 2 replies
  • 0 kudos

External IRQ control via Cortex library or via HAL library

Hi, I'm trying to use IRQ Software calls with Nucleo-F4 boards in STMCubeMx 1.8 environment.The UM1725 - Rev 7, pag. 346, tells me to use the HAL_Generate_SWI.The call, included in stm32f4xx_hal_exti, requires you to define two simple structures: EXT...

LVara.1 by Associate II
  • 4343 Views
  • 15 replies
  • 0 kudos

SystemClock_Config fails at startup after upgrading CubeMX app

I seem to be having an issue on my custom board. I upgraded my CubeMX app and now when I attempt to debug the application fails when HAL_RCC_OscConfig is called in method SystemClock_Config at startup. It's consistent every time. I've scoured the con...

TBell.2 by Associate II
  • 1716 Views
  • 8 replies
  • 0 kudos