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

Is fADC=48MHz actually possible?

I tried using STM32CubeMX to configure an STM32H725 LQFP-100 device to get fADC=48MHz by getting the ADC Clock Mux output to 96 MHz, and using a /2 prescaler on the ADC1 peripheral but the drop-down for "ADC Clock Prescaler" only allows /4 or higher ...

0693W000006FtpNQAS.png 0693W000006FtpSQAS.png

Resolved! I am having an issue with the latest version of Cube MX when generating the code. Would appreciate if anyone can help. I suspected it was where I was storing it I tried dropbox/onedrive/documents and even downloads and still getting the same issue.

Please see the images attached:Project Manager.Error Message after project generation.STM32 Cube MX logfile with Error Message.CUBE MX Version: STM32Cube MCU Package for STM32F4 Series 1.25.2Keil version: 5.27Thanks for your time.Best Regards,Luke

LMyle.1 by Associate III
  • 2143 Views
  • 6 replies
  • 0 kudos

STM32CubeMX couldn't be found error on Keil

Hello,I am trying to create a simple project on Keil and add some components via "Run Time Environment". I select necessary components then it tries to run STM32CubeMX which is also checked under "Device" tab. Anyhow, I get an instant error says that...

0690X000009Yp6yQAC.png
BDans by Associate
  • 3220 Views
  • 1 replies
  • 1 kudos

Resolved! Bug in RTC CubeMX code generate

static void MX_RTC_Init(void)   {       /* USER CODE BEGIN RTC_Init 0 */       /* USER CODE END RTC_Init 0 */       LL_RTC_InitTypeDef RTC_InitStruct = {0};   LL_RTC_TimeTypeDef RTC_TimeStruct = {0};   LL_RTC_DateTypeDef RTC_DateStruct = {0};   ...

EDuat.1 by Associate III
  • 975 Views
  • 4 replies
  • 0 kudos

Resolved! How to update MCU package in CubeMX from download?

I am trying to update STM32CubeL4 package from v 1.14.0 to 1.16.0. Refreshing packages in manager does not show new versions. I downloaded zip from STM site and tried to add it using "From local" button. The integrity check and unpacking went withou...

maple by Associate II
  • 1171 Views
  • 3 replies
  • 0 kudos

Resolved! CAN and two UARTs in 20 pin TSSOP STM32F042?

Hello, can the pin configuration shown below possible?We need one bidirectional UART and a CAN along with a UART TX for debugging. Questions are:It says "Pin pair PA11/12 can be remapped in place of pin pair PA9/10 using the SYSCFG_CFGR1 register" So...

0693W000006FXukQAG.png
PNare by Associate III
  • 1225 Views
  • 5 replies
  • 0 kudos

Resolved! Most peripherals are inactivated in CubeMx.

Hi,I m working on STM32F769-DISCO board. I m using on STM32CubeIDE(vers. 1.5.0) and internally CubeMx(vers. 6.1.0). When I create new project, CubeMX interface is opening as you see on attached screen shot.I can not activate USB_OTG_FS as "Device Mod...

AK47 by Associate II
  • 1130 Views
  • 3 replies
  • 0 kudos

Resolved! Watchdog Feeding Issues with FreeRTOS

Hello All, Working with an STM32F4 processor and having issues with feeding the independent watchdog. Code is CubeMX generated. FreeRTOS v10.2.1 and CMSIS-RTOS V1.02. Watchdog resets if not fed every 512ms. Watchdog is fed in its own task and the pri...

Pain by Associate II
  • 2576 Views
  • 3 replies
  • 0 kudos