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

Does the M4 core in STM32H745 support DMA interrupts ?

Hi,In Cubemx configuration, there is no option in NVIC2 (which is an interrupt controller for M4 core) for enabling or disabling DMA global interrupt. There is an option for only the M7 core in NVIC1. Are there any ways to use DMA transfer complete o...

EOzde.1 by Associate III
  • 893 Views
  • 1 replies
  • 1 kudos

stm32h7xx_hal_eth.c V1.9.0 interrupt handling in polling mode

Even in case of not using interrupts the Function ETH_Prepare_Tx_Descriptors() line 2993 of stm32h7xx_hal_eth.c does globally enable interrupts before it exits. I would suggest using a conditional interrupt handling there (check if enabled e.g. if ne...

JRS by Associate III
  • 595 Views
  • 1 replies
  • 0 kudos

USB HS on H730 is temperamental, constant error_handler()

I am using the H730, with the USB High Speed enabled on my own PCB setup. On some occasions, the USB will work as expected. However, most of of the time, it would enter the Error_Handler Loop. I used the CUBEIDE and ioc gui to enable the usb hsThe tr...

RAnge.1 by Associate
  • 799 Views
  • 1 replies
  • 0 kudos

Resolved! How many endpoints does STM32F105RBT6 USB have?

The STM32F105RBT6 manual shows that there are 1 control endpoint, 3 IN endpoints, 3 OUT endpoints, but the USB driver code generated by CubeMX now shows hpcd_USB_OTG_FS.Init.dev_endpoints = 4; are these 3 IN and OUT endpoints shared? 4 endpoints and ...

0693W00000FCSvnQAH.png
arilink by Associate III
  • 1861 Views
  • 5 replies
  • 0 kudos

Resolved! TIM2->CCR2 Value Always Zero

Hi,I am running Capture Mode at TIM2 channel 1. My CubeMx configuration below. I am getting CCR1 value correctly but i checked at debugger mode, CCR2 value is always 0. Thus i can't measure duty. What's the problem ?

0693W00000FCv5qQAD.jpg