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

STM32Cube MX Version Compatibility

I previously had STM32CubeMX V6.2.1 installed on my machine. I then tried to work on another project that my colleague made and my machine said I would need to “Continue�? or “Migrate�? because I didn’t have STM32CubeMX V6.5.0 installed. So then I up...

_legacyfs_online_stmicro_images_0693W00000bj7M7QAI.png _legacyfs_online_stmicro_images_0693W00000bj7MHQAY.png
JKova.3 by Associate II
  • 2644 Views
  • 4 replies
  • 0 kudos

Resolved! When I used NUCLEO-F446RE to debug the STM32 program, I found that the program execution was stuck for a long time in the "LL_PWR_IsActiveFlagVOS()" function. How can I solve this problem?

The clock initialization code is generated by STM32CubeIDEvoid SystemClock_Config(void) { LL_FLASH_SetLatency(LL_FLASH_LATENCY_5); while(LL_FLASH_GetLatency()!= LL_FLASH_LATENCY_5) { } LL_PWR_SetRegulVoltageScaling(LL_PWR_REGU_VOLTAGE_SCALE...

YLi.13 by Associate II
  • 2067 Views
  • 6 replies
  • 0 kudos

Support HiDPI screens

On laptops with 4k displays it is often necessary to use 2x scaling in order to enlarge text for legibility. Most modern software behaves well in this HiDPI environment.Unfortunately ST's apps (such as CubeProgrammer) do not. Text in those apps is ve...

miles f by Associate II
  • 2323 Views
  • 2 replies
  • 2 kudos

Lockup in I2C driver with STM32Cube_FW_H7_V1.11.0

This is more of a notice than a question.I just spend the past week looking into an issue we had with reads from an I2C connected EEPROM. We noticed that our system started hanging after some time; sometimes after over 5h.After a lot of searching we ...

Arno1 by Senior
  • 3342 Views
  • 9 replies
  • 1 kudos

STM32 USB HS DMA stuck

Hello.I try to setup CDC USB HS with DMA but it blocks after few samples sent.Here is the minimal code that replicate the problemint main(void) { /* USER CODE BEGIN 1 */   /* USER CODE END 1 */   /* MCU Configuration----------------------------...

0693W00000UnWheQAF.png 0693W00000UnWhtQAF.png 0693W00000UnWjpQAF.png 0693W00000UnWirQAF.png
VSerb.1 by Associate
  • 1333 Views
  • 2 replies
  • 0 kudos

CubeMX define "USE_HAL_USART_REGISTER_CALLBACKS"

Hello,The CubeMX and the ST HAL has in the files "stm32XXxx_hal_conf.h" the#define USE_HAL_USART_REGISTER_CALLBACKSWhen I looking in the source code, there is no position to find where is this define used:Searching for 'USE_HAL_USART_REGISTER_CALLBAC...

_legacyfs_online_stmicro_images_0693W00000biiOIQAY.png
MMüll.6 by Associate III
  • 1662 Views
  • 3 replies
  • 0 kudos