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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 818 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
  • 1826 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
  • 1000 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
  • 2404 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
  • 961 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