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

Resolved! .

wwgww by Associate II
  • 772 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
  • 837 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
  • 1305 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
  • 2632 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