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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 940 Views
  • 0 replies
  • 1 kudos

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 1767 Views
  • 5 replies
  • 7 kudos

Tim12 TGRO is missing in cubemx.

In cubemx, the config of Tim12 TGRO is missing.Where in tim1, i can config it under Trigger Out Parameter. This feature is required by DMA request generator.I tried manually add some code to init this, but none of them work./* USER CODE BEGIN TIM12_I...

0693W00000D0YEiQAN.png
LLuca.1 by Associate II
  • 1311 Views
  • 4 replies
  • 0 kudos

Resolved! STM32L4 USB BCD Bug

Hello, I use SensorTile.box with Stm32L4R9 MCU, CubeMx 6.1.1, Cube FW L4 V1.16.0I want to configure USB like a Virtual Com Port and it work's nice.But, when I set USB_OTG_FS->Parameter Settings->Battery Charging to Enabled CubeMX generate's such code...

qqAnton by Senior
  • 1549 Views
  • 2 replies
  • 1 kudos

HAL �?��?�브러리 버전 최신버전�?서 �?�전 버전으로 변경하고 싶어요

HAL �?��?�브러리 LPTIM 소스 보는�?� �?�전�?는 없었는�?� 최신 HAL �?��?�브러리�? 소스가 새로 �?겨서 ENABLE 하는 부분�?서 TIME_OUT 걸려서 return �?�어서 빠져나가는�?� �?�전 버전�?서는 그 부분�?� 없어서 잘 �?�작했는�?� cubeMX�?서 Firmware Package Name and Version�?서 수정하려고 해�?� 강제로 막혀있어서 수정�?� 불가능 합니다. 해결 방법...

SPark.34 by Associate
  • 6823 Views
  • 2 replies
  • 0 kudos

Resolved! BUG: CubeMX/CubeIDE ignores changes in initialization order.

Using Project Manager -> Advanced Settings -> Generated Function Calls you can change the initialization order. However this setting is ignored when writing the code.You have to manually change the order in the .ioc file in this line:ProjectManager.f...

Herm by Associate III
  • 1370 Views
  • 2 replies
  • 0 kudos

Cant enable low power run mode at STM32L1

Hi,​my STM32L151RC-A running at 65,536 khz with the MSI.​I´ve created the basic code with STMCubeMX.​i´ve tried to use this command to use the low power run mode:HAL_PWREx_EnableLowPowerRunMode();But this does nothing :\Same power comsumption at 168µ...

GMeiy.1 by Associate
  • 811 Views
  • 1 replies
  • 0 kudos