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

STM32H750 DMA cannot generate PWM

I am trying to use the DMA of the STM32H750 to generate a specific PWM, but it does not output any waves.HAL_TIM_PWM_Start(&htim2,TIM_CHANNEL_4); __HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_4,50);This is the code that usually generates pwm, it works, I ...

0690X00000AAEG0QAP.png 0690X00000AAEG5QAP.png 0690X00000AAEGAQA5.png 0690X00000AAEGFQA5.png
Ray G by Associate
  • 822 Views
  • 3 replies
  • 0 kudos

Resolved! USB VCP not working (Code 10) STM32H7 / Cube V 5.3

I have a new project on an STM32H743 and thought it is a good idea to start this one with the latest version of CubeMX (5.3.0.) and the latest HAL library (1.5.).As I already have several systems running with USB VCP (STM32F746 and STM32H743) which w...

GS1 by Senior III
  • 703 Views
  • 2 replies
  • 0 kudos

BUG: Incorrect HSE clock (STM32G474)

When using an external crystal in the MXcube for the STM32G474 mcu.conditions:Change High Speed Clock (HSE) to Crystal/Ceramic Resonator in the pinout & Configuration tab pageChange the input frequency to 16Mhz in the Clock configuration tab pageAfte...

OGhis by Senior
  • 664 Views
  • 2 replies
  • 1 kudos

How to change ADC channel with STM32L010

Hello,i am struggling with ADC conversion with STM32L010 because every new conversion overide the other channels. So i got on each channel the same result when i change the resistance on PA6. On PA4 and PA5 there is a 100k NTC connected.I use PA4 (AD...

ledi001 by Senior
  • 1804 Views
  • 1 replies
  • 0 kudos

STM32H7 - Not all initialization code generated

After starting a new project for STM32H745ZI, i have had a lot of issues with code that is generated incompletely:GPIO initialization is missingFreeRTOS initialization is missing (depending on code generation settings)HAL_IncTick() is sometimes not c...

JDesm by Associate
  • 718 Views
  • 2 replies
  • 0 kudos