STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

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
  • 1097 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
  • 1485 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
  • 5107 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
  • 807 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX: ADC and DMA initialized in the wrong order

STM32L010C6TxSTM32CubeMX V 5.4.0FW_L0 V1.11.2When creating a new project that used the ADC with the DMA and some unrelated peripherals, cubeMX will generate the following initialization list in main: /* Initialize all configured peripherals */ MX_...

DWann by Associate III
  • 1608 Views
  • 8 replies
  • 0 kudos

Would like to understand why, when CubeMX is used to configure the USART2 the project is set up to ENABLE the UART module as set in the conf.h and not the USART.

CubeMX version 6.3.0CubeIDE version 1.7.0STM32Cube_FW_H7_V1.9.0The code section in the conf.h file to enable the USART (line 79) is block commented out and line 78 is not commented out which reads:#define HAL_UART_MODULE_ENABLEDAlso I have ENABLED th...