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

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
  • 731 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
  • 484 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
  • 678 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
  • 1538 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

PWM+DMA STM32F103 issue

Hi everyone,I meet some issue about PWM + DMA on STM32F103 (Bluebill KIT).I generate 7 pulses with frequency 1Mhz and duty cycle of pulses is 50,30,50,50,70,50,0% sequence.But the result have some issue:On my OSC, i see 9 pulses and it more than i ne...

0693W00000FCxqjQAD.jpg 0693W00000FCxW5QAL.png 0693W00000FCxY1QAL.png 0693W00000FCxZsQAL.png
PTai by Associate
  • 1061 Views
  • 3 replies
  • 0 kudos