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

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
  • 1774 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
  • 834 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
  • 1491 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
  • 1458 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
  • 2538 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
  • 6687 Views
  • 2 replies
  • 0 kudos

Resolved! STM32G474 DAC with DMA doesnt work

I have trying DAC with DMA from STM32G474 eval board. I can see the values being updated to the DOR register and the DAC EN is set to 1. However, the output of the DAC is stuck at 0.I have attached the cubeide settings.

0693W00000JMOdcQAH.png 0693W00000JMP2lQAH.png 0693W00000JMP2gQAH.png 0693W00000JMP0lQAH.png
JHari.1 by Associate II
  • 1102 Views
  • 2 replies
  • 0 kudos