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

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
  • 636 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
  • 1043 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
  • 2001 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
  • 1714 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
  • 576 Views
  • 1 replies
  • 0 kudos