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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1248 Views
  • 0 replies
  • 2 kudos

What is the correct default value for RCC_HSICALIBRATION_DEFAULT for STM32L431? It is going to be corrected in the HAL libraries?

Hi,I have an accuracy problem with the HSI16 of my STM32L431. It is really outside specifications, over 10% from 16MHz.I have discovered that during the initialitation of the RCC, the value of RCC_HSICALIBRATION_DEFAULT is 0x40, like in the datasheet...

RLope.2 by Associate
  • 1715 Views
  • 1 replies
  • 0 kudos

Backup registers are cleared on reset - STM32G474

Hi all,I have a STM32G474 and data in backup registers (eg. LL_RTC_BKP_DR0) are cleared after reset or power cycle (3.3 V battery is present!).Code is generated by CubeMX with LL drivers. I enabled RTC and disabled all tampers.In the main code, I can...

Martin294 by Associate III
  • 3330 Views
  • 5 replies
  • 2 kudos

Why doesn't the ADC work when I select the prescaler ratio "HRTIM Clock Multiplied by 32" for the timer that triggers the ADC?

HelloI use a HRTIM timer (Timer B) to trigger the ADC (ADC2_IN5) internally (STM32G4).I want to increas the high-resolution clock frequency fHRCK with a prescaler ratio: 170MHz*32=5.44GHz to trigger the ADC via a compare value of 54.400.Unfortunately...

MOys.1 by Associate II
  • 1705 Views
  • 4 replies
  • 0 kudos

Resolved! ADC max clock for STM32H7(47) is wrong

Hello,STM32CubeIDE  1.5.1, latest H7 package for STM32Cube.I have STM32H747-DISC1 board, and STM32CubeMX (in IDE) let me pick max. 36 MHz clock.According to the datasheet STM32H747xI/G datasheet, ADC clock frequency get up to 50 MHz. I overriden freq...

0693W000007CsutQAC.jpg

Resolved! STM32F072RB compatible MCU's in ST

Hi,Is there any pin-to-pin compatible controller available with STM32F072RBTx MCU in ST. Compatible controllers can be with Higher FLASH & RAM size.

LRPS_92 by Associate II
  • 1658 Views
  • 2 replies
  • 0 kudos

Malloc returns NULL Pointer in FreeRTOS task.

Hello Community, I'm using an ST Nucleo-F767ZI and I create my project, for Atollic True Studio, with Cube32MX.In my project I included FreeRTOS v10.I'm in troubled with the malloc function, because this function return a NULL pointer.I have several ...

FedeRico1 by Associate II
  • 11423 Views
  • 14 replies
  • 1 kudos