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

Resolved! Bug Report on Code Generation for STM32H745 using STM32CubeMX V6.4.0

The PB7 pin is set as GPIO_EXTI7 and TIM17 is enabled for PWM output. In the generated code, the IRQ routine is generated wrongly as follow:void EXTI9_5_IRQHandler(void) { /* USER CODE BEGIN EXTI9_5_IRQn 0 */   /* USER CODE END EXTI9_5_IRQn 0 */ ...

PX by Associate II
  • 1129 Views
  • 2 replies
  • 0 kudos

Resolved! Dear all, I use Cube Mx to generate code for good start and I made a project with STM32F745VETx. PD8 is set as EXTI8 and interrupt is activated. PE8 is defined as normal input.

When I generate the code, Cube MX generates interrupt handler for EXTI9_5 and it is like that: /* USER CODE END EXTI9_5_IRQn 0 */ HAL_GPIO_EXTI_IRQHandler(DIN2_Pin); /* USER CODE BEGIN EXTI9_5_IRQn 1 */DIN2_Pin actually corresponds to PE8 and it is n...

TA1 by Associate III
  • 1469 Views
  • 6 replies
  • 0 kudos

Resolved! STM32CubeMx Code generation inconvenient

STM32CubeMx will generate the code as below.HAL_GPIO_EXTI_IRQHandler (GPIO_OUTPUT_PA0_Pin);But I want it to be generated as follows:HAL_GPIO_EXTI_IRQHandler (PB0_EXTI0_Pin);orHAL_GPIO_EXTI_IRQHandler (GPIO_PIN_0);The user label of the pin assigned to...

tsuna by Associate II
  • 895 Views
  • 2 replies
  • 0 kudos

STM32CubeMX 6.5.0 released

What is new in STM32CubeMX V6.5.0? • Added the support for new part numbers in the STM32U5 Series: STM32U599NJHxQ, STM32U599BJYxQ, STM32U595ZJTxQ, STM32U5A9NJHxQ, STM32U5A9BJYxQ, STM32U5A5ZJTxQ and STM32U599NIHxQ. • Added the support for new part num...

Resolved! STM32U5x GPDMA+USART Code Generation bug in STMCubeMX v6.4.0.

When I generate the code for a simple STM32U5x project with a USART configured and GPDMA configure for the USART TX and/or RX, the initialization code in MX_GPDMA1_Init() will be properly generated if I have my project to generate all the initializat...

cBroadbo by Associate II
  • 1534 Views
  • 5 replies
  • 0 kudos