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.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...

How to implement "Delete" function in "usbd_storage_if.c", since when deleting files from windows, the icon disappears, but when refreshed, file appears again with zero size.

Hi.I`m generating a project from stm32cudemx version 6.1.2The MCU I use is a stm32f407v with my own designed boardThe f4 series firmware package version I use is 1.25.2My project consists of usb msc device only, with sd card connecting through SDIO, ...

HSh..1 by Associate II
  • 1346 Views
  • 3 replies
  • 0 kudos

1min Timer

hey therehere I try to demonstrate a 1minute Timer using TIM14. I'm using STM32F030k6t6 which has 44236.8MHz clock for timers.below is my TIM14 config:htim14.Instance = TIM14; htim14.Init.Prescaler = 60000; htim14.Init.CounterMode = TIM_COUNTERMO...

Ala by Senior
  • 2154 Views
  • 9 replies
  • 0 kudos

Configuring X-NUCLEO-GFX02Z1 using STM32CubeMX

The Data Sheet for the X-NUCLEO-GFX02Z1 indicates it is compatible with many of the NUCLEO-144 boards, and several of the 64 pin boards. I have the H7A3ZI-Q, the L4R5ZIT6P and the G071RBT6, all listed as compatible. The GFX02Z1 display uses a paralle...

BHavi.1 by Associate
  • 639 Views
  • 2 replies
  • 0 kudos

Resolved! HardFault on f_write() from FatFS

Hi to all,I'm facing with an hard fault when call f_write() or f_read() from FatFs library (R0.12c).I'm able to mount SD card, create a file in write mode, write to it using f_puts().As suggested, I use the HardFault_Handler:void HardFault_Handler(vo...

ABatt.1 by Senior
  • 1939 Views
  • 3 replies
  • 0 kudos

does not start in interactive command-line mode or script mode

When I try (as stated in the CubeMX handbook Section 3.3.2)cd "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\" java.exe -jar STM32CubeMX.exe -iorjava -jar "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\STM32CubeMX.exe" -q cube...

FS.1 by Associate III
  • 1662 Views
  • 8 replies
  • 0 kudos

STM32F723 USB Device is not detected

HISTM32F723 is used in custom electronics. USB CDC device (virtual com port) high speed.All was working reliably for the past year or so.Last CubMx update (6.4.0) broke the USB interface completely – when plugged in, the PC won’t recognize the hardwa...

0693W00000JMtT8QAL.jpg 0693W00000JMtYcQAL.jpg 0693W00000JMtYDQA1.jpg
Arnon by Associate III
  • 801 Views
  • 1 replies
  • 0 kudos

"C:\Users\Tom\STM32Cube\Repository" How do I manage folders?

I started learning ARM MCU and STM32CubeIDE last week (beginner).I chose my first MCU as STM32L152RE, and installed STM32CubeIDE.Since I was a beginner of STM32CubeIDE, I ran STM32CubeIDE and downloaded and installed several files without knowing the...

0693W00000JMvn0QAD.jpg
병강.1 by Associate
  • 1425 Views
  • 1 replies
  • 0 kudos

Resolved! STM32L152RE (Nucleo64) ADC DMA (HAL) problems

Good day!I'm trying to run ADC DMA mode on the NUCLEO-L152RE board using HAL, but it doesn't work properly. For testing, 3 channels are used: ADC_CHANNEL_6 (RANK 1), ADC_CHANNEL_VREFINT (RANK 2), ADC_CHANNEL_TEMPSENSOR (RANK 3). 2 problems were found...

vmb.sd1 by Associate II
  • 1423 Views
  • 5 replies
  • 1 kudos

Resolved! Why does Stm32CubeIDE give me "Break at address 0x1ff0b4cc with no debug information available" (right after downloading code into chip)?

Chip: STM32H750VBT6 (custom pcb)BOOT0: connected to GND with a 10k resistor.Debugger: ST-LINK v2 USB Dongle (updated to latest firmware by CubeIDE)CubeMX: 6.4.0 (updated today to latest)CubeIDE: 1.8.0 (11526_20211125_0815, updated today to latest)Ver...

MMax.3 by Associate II
  • 2423 Views
  • 2 replies
  • 0 kudos

Resolved! How to generate callback functions in STM32CubeMx?

Hi,I am configuring an IO is GPIO_EXTI. I can't figure out how to generate the callback function. I looked into example projects and I saw this function. HAL_GPIO_EXTI_Callback definitely looks like something generated by CubeMX. I would like to unde...

0693W00000JMbmqQAD.png
MK8290 by Associate II
  • 6524 Views
  • 2 replies
  • 0 kudos