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.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
  • 360 Views
  • 4 replies
  • 5 kudos

STM32L4 toggle pin issue.

I am using STM32 for the first time. I have Atollic and STM32CubeMX installed. The controller I am using is STM32L475VG. I am trying to toggle the LED pin and am using HAL_GPIO_TogglePin to do it. But the compiler is throwing up an error 'undefined r...

ARai by Associate II
  • 1189 Views
  • 4 replies
  • 0 kudos

Start PWM with DMA (HAL_TIM_PWM_Start_DMA) results in Hardfault

Hello,I want to create a simple PWM with changing duty cycle. To do so, I have created a PWM with fixed frequency. With the DMA, I change pulses which will result in a modification of duty cycle.To create something clean, I have configured STM32CubeM...

0690X000006CyCKQA0.png 0690X000006CyCPQA0.png
Geo En by Associate III
  • 14072 Views
  • 10 replies
  • 0 kudos

STMCubeMX 5.3.0 USB mouse code not working

I have custom board with a STM32F446 processor I am trying to testusing cubeMX (v5.3.0) generated code for a USB human interface (mouse).Unfortunately, I have had very sporadic results with getting the computerto recognize it as a USB mouse. The comp...

0690X000009joLoQAI.png 0690X000009joLjQAI.png

STM32H745 dual core communication

Hello​Since the MCU is relatively new and there are few references related to it I would like to ask if you are familiar of and could recommend any application note/tutorial/examples which clearly explain communication between CM7 and CM4 cores, shar...

MMatu by Associate III
  • 1005 Views
  • 2 replies
  • 1 kudos

Resolved! STM32G070CB: STM32CubeMX V5.3.0 with STM32Cube_FW_G0_V1.3.0 fails to configure SYSCLK above 16MHz via the PLL

The following statement inside HAL_InitTick() is not dividing SystemCoreClock by 1000, as it should be. It's dividing by 1. So later, in SysTick_Config(), when argument ticks=64,000,000 which exceeds SysTick_LOAD_RELOAD_Msk of 0xFF'FFFF, a HAL_ERROR ...

DBroo.1 by Associate III
  • 1011 Views
  • 4 replies
  • 0 kudos