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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 193 Views
  • 0 replies
  • 1 kudos

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
  • 1197 Views
  • 5 replies
  • 7 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
  • 2365 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
  • 2117 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
  • 1059 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
  • 1710 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
  • 1672 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
  • 3095 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
  • 7524 Views
  • 2 replies
  • 0 kudos