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

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
  • 1081 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
  • 2207 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...

Resolved! Found a bug in the CubeMX Code Generation

There is a bug in the CubeMX Code Generation in STM32CubeIDE Code Generation (Version 1.7.0 updated to 1.8.0) for the STM32F767ZI. (STM32Cube FW_F7 V1.16.2)The bug was found by debugging a not working auto generated code that is using a DMA circular ...

PKrem.1 by Associate II
  • 732 Views
  • 2 replies
  • 1 kudos

Resolved! Cube32MX_IDE and STM32L562VET6Q FMC does not support SRAM, nor properly support LCD memory mapped controller. Data sheet says yes, FMC mode in IDE says no. Which is right?

Working on a hardware design for the STM32L562VET6Q (because that's all that's left with enough memory!)Want to add an S1D13517 (Epson) display controller. Said controller is memory mapped, 16 data bits, needs CS, etc, and one address line to select...

Resolved! STM32L151:HAL_UART_RxCpltCallback called only one time

HiI want to use a program i made before with the new IDE 1.8. It should reveive som data with the UART2 until EOL is received. It works on time and after it throws an interrupt (loops in the void USART2_IRQHandler(void)) but doesn't call the HAL_UART...

packmers by Associate II
  • 2407 Views
  • 9 replies
  • 0 kudos

CubeIDE/CubeMX Timer Configuration (Slave Mode / Gated Mode)

I am trying to test Slave Mode / Gated Mode on TIM10 on my NUCLEO-STM32F401RE EVK.RM0368 describes this mode as:"Slave mode: Gated mode The counter can be enabled depending on the level of a selected input."I am trying to use CubeIDE to generate the ...

0693W00000JMFGsQAP.png
SS13 by Associate II
  • 1628 Views
  • 4 replies
  • 0 kudos