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

STM32CubeMX Error Init ADC STM32F1xx

Posted on July 09, 2018 at 12:32 STM32Cube V1.0 / Version 4.0 It does this: LL_ADC_REG_SetSequencerRanks(ADC1, 1, LL_ADC_CHANNEL_TEMPSENSOR); Should be : LL_ADC_REG_SetSequencerRanks(ADC1, LL_ADC_REG_RANK_1, LL_ADC_CHANNEL_TEM...

Resolved! STM32F042F4P6 keeps resetting, IWDG ?

Posted on June 30, 2018 at 23:23Hello,I have a custom PCB with a STM32F042F4P6.The STM32 keeps resetting at a rate of 2.5 Hz. I measured this with a scope on the NRST pin.After a long search i found out that the IWDGRSTF flag is set after each reset...

Facing basic problems with cubemx

Posted on July 08, 2018 at 11:54Hi,i am facing some basic problem while working with cubmx. i had used cubemx earlier and it was working fine.after month i again started using it, i am facing problem.before month i configured usb, uart and adc as we...

SS.Sagar by Associate III
  • 461 Views
  • 1 replies
  • 0 kudos

bin file is not built by project generated by CubeMX 4.26

Posted on July 03, 2018 at 07:41After upgrading to STM32CubeMX 4.26 I found, that System Workbench project generated by CubeMX, doesn't produce .bin file during build. Output directory contains .elf and .hex file. In previous versions there was also...

Migrating code between STM32F4 MCUs using STM32CubeMX: exporting vs importing approach - what is preferred and when ?

Posted on July 08, 2018 at 03:39Hello, there are two approaches outlined in the UM1718 user manual using STM32CubeMX to migrate a project to another MCU of the same family:1. CH. 7.9  Importing a project to another MCU in the CubeMX by creating a ne...

eBirdman by Senior II
  • 505 Views
  • 0 replies
  • 0 kudos

How to generate center aligned pwm in stm32f030k6tx

Posted on June 06, 2018 at 07:57I want to generate center aligned pwm in stm32f030k6tx but when i am chosing the option of  center aligned in counter mode than it is converting it in edge aligned mode.So can any help me in how to generate central al...

0690X00000604fgQAA.jpg

CubeMX deleted all my custom includes and libraries :(

Posted on June 25, 2018 at 17:16I have configured CubeMX to backup files before generating any new code and now not only has it not backed up anything but it deleted all my custom libraries as well! Also all the code under the 'USER CODE' delimiters...