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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 358 Views
  • 0 replies
  • 1 kudos

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
  • 1375 Views
  • 5 replies
  • 7 kudos

Resolved! Makefile project for STM32G431 fail to build

Hi all,I am trying to create simple makefile project in CubeMX for stm32g431. After executing makefile I get error:/home/pawel/STM32Cube/Repository/STM32Cube_FW_G4_V1.1.0/Drivers/CMSIS/Include/cmsis_gcc.h: In function '__get_CONTROL': /home/pawel/STM...

PHryn by Associate III
  • 3336 Views
  • 10 replies
  • 0 kudos

Using STM32F407 timer

According to STMCube, one may use channels 1,2 as encoder, and channels 3,4 as PWM output simultaneously.I doubt that.The moment the SMCR register bit 0 is activated, PWM disappeaars.This makes sense, as there is only one counter register.Best Regard...

JSmit.51 by Associate
  • 925 Views
  • 3 replies
  • 0 kudos

STM32F1 V1.8.0: ADC and DMA in continuous mode

I updated the software package for the STM32F1 MCU from the 1.6.0 version to 1.8.0 and I then felt in trouble with the ADC acquisition with the DMA in continuous mode : the data sound to be shifting in the buffer.I read 3 signals (actually RGB LED). ...

TPier by Associate III
  • 1212 Views
  • 4 replies
  • 0 kudos

Resolved! HAL_Delay is offset by 2ms on the scope

The scope is showing the following code takes 602ms (I'm using the external crystal, so no jitter) this 2ms can be seen on top of any delay I set.  while (1) { HAL_GPIO_WritePin(GPIOB, profilingPin_Pin, GPIO_PIN_SET); HAL_Delay(300); H...

CLH by Associate II
  • 1260 Views
  • 1 replies
  • 0 kudos

Multichannel ADC accuracy problem.

I am Samet, an electrical and electronics engineering first-year student. I and my team are designing a hydrogen car and taking part in the races. We make the electronic cards of our vehicle and the design of these cards. I am writing to you because ...

S??z? by Associate
  • 789 Views
  • 1 replies
  • 0 kudos