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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 462 Views
  • 0 replies
  • 1 kudos

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
  • 1447 Views
  • 5 replies
  • 7 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
  • 860 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
  • 1340 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
  • 2737 Views
  • 9 replies
  • 0 kudos

Resolved! Clock source for ADC of The STM32H7 CPU

In former CubeMX versions an Clock to ADC of 400MHz was possibleNow I am working on CubeMX V 6.3.0 with STM32Cube FW_H7 V1.9.0.The maximum Clock frequency I can adjust is now 79MHz (selected clock source is the PLL2) What is the meaning of the "79 to...

0693W00000DmOGpQAN.jpg 0693W00000DmOH4QAN.jpg 0693W00000DmODcQAN.jpg 0693W00000DmOMJQA3.jpg

STM32H745 EXTI with STM32CubeMX issue

Hello,I have a question regarding the external interrupt on a GPIO input pint which is triggered each falling edge (EXTI)According to the CubeMX autogenerated code, it looks straight forward. I am using a discovery board with pin PE3 which is config...

PButc.1 by Associate II
  • 2160 Views
  • 5 replies
  • 0 kudos

Interrupt not triggering on NUCLEO-F413ZH

Hi,I have a single PDM mic connected to DFSDM2, channel 0 on the NUCLEO. I have configured the peripheral for 16kHz and I have verified that the clock generated is 1MhZ and the mic sends PDM data when clocked.I have checked the signals going to the u...

0693W00000DmcFbQAJ.png 0693W00000DmcFRQAZ.png 0693W00000DmcFCQAZ.png 0693W00000DmcF7QAJ.png
NKara.3 by Associate II
  • 763 Views
  • 1 replies
  • 0 kudos