STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.13.0 released

We are pleased to announce to you that the release 6.13.0 of STM32CubeMX is available. What is new in 6.13.0: Added support for the following series, microcontrollers and microprocessors: STM32N6, STM32U3, STM32WL3x, STM32G411xx and STM32C0Added the ...

Resolved! Possible stm32G0 cube mx generation Error for usb

While setting up a project using cubeMx for a stm32G0, I stumbled across a possible error on the USB_device files. This error resulted in the usb reset handler stalling the machine. My project specifies the USB as full speed and looking in the genera...

TSÉNA.1 by Associate II
  • 2629 Views
  • 11 replies
  • 2 kudos

Resolved! STM32G031F4P ADC Trigger problem.

Hi everyone.I am using STM32G431F4P MCU. I am using Timer3-Channel3 PWM output. PWM frequency is 20 kHz. ADC1 is DMA mode and i want to trigger ADC1 using Timer3-Channel1 (PWM generation no output). Timer3 and ADC1 settings are as follows;This is cod...

0693W00000JPR75QAH.png 0693W00000JPR88QAH.png
ABURM by Associate III
  • 849 Views
  • 6 replies
  • 0 kudos

Resolved! PWM frequency generated using timer 1 is incorrect.

I want to generate a PWM at ~76K Hz using the TIMER1 on an STM32F401 microcontroller.To my understanding, because the timer 1 is clocked at 84 MHz, I need to configure the ARR to 1099. See the screenshot to see my detailed configuration.## The proble...

0693W00000JPWf2QAH.png 0693W00000JPWenQAH.png 0693W00000JPWesQAH.png 0693W00000JPWeTQAX.png
GBert.2 by Senior
  • 1078 Views
  • 2 replies
  • 0 kudos

Resolved! STM32Cube code generator bug for STM32G030J6

The generated code has wrong order for MX_DMA_Init() that doesn't work: MX_GPIO_Init(); MX_ADC1_Init(); MX_DMA_Init();...Correct code is: MX_GPIO_Init(); MX_DMA_Init(); MX_ADC1_Init();...note: STM32CubeIDE Version: 1.7.0 Build: 10852_20210715_0634 (U...