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

Resolved! STM32CubeIDE generates reproducible erroneous code for the STM32L412 Nucleo-64 using ADC1 or ADC2 after a recent update to 1.7.0

STM32CubeIDEVersion: 1.7.0Build: 10852_20210715_0634 (UTC)In AL_ADC_MspInit an erroneos line is generated after a recent update of STM32CubeIDE and has to be commented out:PeriphClkInit.AdcClockSelection = ADCCLockSelection;The following error messag...

MWest.2 by Associate
  • 1472 Views
  • 5 replies
  • 0 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
  • 716 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
  • 472 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
  • 665 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
  • 1526 Views
  • 5 replies
  • 0 kudos