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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 724 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
  • 2151 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
  • 1936 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
  • 969 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
  • 1582 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
  • 1536 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
  • 2787 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
  • 7028 Views
  • 2 replies
  • 0 kudos