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

Resolved! CubeMX update Ubuntu responds 'Command not found'

We have CubeMX installed on Ubuntu 18, have been using it with no issues. We now need to update to 6.1.1 howver when enter SetupSTM32CubeMX-6.1.1.linux it responds with command not found. The file is the correct user with chmod to 777, we have tried ...

Darcy1 by Associate II
  • 797 Views
  • 2 replies
  • 0 kudos

How to configure 4-bit SDIO with DMA using STM32CubeMX?

How to configure 4-bit SDIO with DMA using STM32CubeMX, to write to an SD card?FW is running on an STM32F103.I am trying to set up an SDIO interface with DMA for an SD card using STM32CubeMX.The issue I am having is that I am unable to write to the S...

ard33 by Associate
  • 1742 Views
  • 2 replies
  • 0 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
  • 950 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
  • 2279 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
  • 894 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
  • 734 Views
  • 2 replies
  • 0 kudos