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

Updated MX to latest and get incorrect code generated...

I updated to the latest 1.7.0 for IDE and 6.3.0 for MX and when I regenerate configuration code using MX I get the following for ADC clock configuration.   PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;   PeriphClkInit.AdcClockSelection = AD...

C Austin by Associate II
  • 1125 Views
  • 4 replies
  • 1 kudos

STM32L4(96) Sample code needed for SDMMC+FATFS+DMA

I have spent a couple weeks trying to get this working, reading many ST threads about many quickfixes to get this to work on various stm32 chip versions. Ive had no real luck other than seeing some details about the SD Card like its size. Stm32CubeMX...

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
  • 1132 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
  • 1308 Views
  • 2 replies
  • 1 kudos

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

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

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