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.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
  • 1020 Views
  • 5 replies
  • 7 kudos

Series of measurements with ADC and DMA on STM32H743

Hi. Can you tell me, why I don't get interrupt from completed measure of ADC. I need to make 200 measeurements using DMA. I have configured settings in CubeMX. You can find them on the screenshot and the part of the code where I run and call it. The ...

DBrau.2 by Associate III
  • 2436 Views
  • 5 replies
  • 0 kudos

Resolved! .

wwgww by Associate II
  • 784 Views
  • 2 replies
  • 0 kudos

FLASH_SR CFGBSY flag is set after calling HAL_ADC_ConfigChannel() to configure internal temperature sensor on STM32G071

Im initializing my ADC peripheral using the generated MX_ADC1_Init function. At the end of the function, the following snippet is executed:sConfig.Channel = ADC_CHANNEL_TEMPSENSOR;   if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK) { Error_Hand...

CHoel.2 by Associate
  • 849 Views
  • 3 replies
  • 0 kudos

STM32H7 1.9.0 MDMA request not initialized

Specifically I've noticed it with the octospi, but it's also impacted at least software requests.For example, my MDMA config has hmdma_octospi1_fifo_th.Instance = MDMA_Channel1; hmdma_octospi1_fifo_th.Init.TransferTriggerMode = MDMA_BUFFER_TRA...

DShekter by Associate III
  • 1328 Views
  • 3 replies
  • 0 kudos

How to configure QUADSPI in stm32h747bi ?

Hi,I am using stm32h747bi chip in custom board and I want to communicate with GD25Q32C flash memory. I have generated the code for QSPI driver from cubemx. I initialised the GPIO pins as below:/* Peripheral clock enable */  __HAL_RCC_QSPI_CLK_ENABLE(...

SLuit.1 by Associate III
  • 2685 Views
  • 9 replies
  • 0 kudos