Skip to main content
Associate III
September 10, 2026
Solved

CubeMX does not generate all required driver files for LPTIM with LL

  • September 10, 2026
  • 2 replies
  • 40 views

LL_LPTIM_Disable calls LL_RCC_GetSystemClocksFreq, but CubeMX does not generate stm32u5xx_ll_rcc.c

This causes a linker error due to undefined reference.

A minimal reproduction .ioc file is attached.

Best answer by Ghofrane GSOURI

Hello ​@SamMiddleton 

This issue has been detected also in the following Link [Bug]: FW V1.9.0 regression in LPTIM setup · Issue #77 · STMicroelectronics/STM32CubeU5  

and escalated to dev team under the following internal ticket ID #0065292 and it will be fixed as soon as possible.

I will keep you posted with updates.

 

THX

Ghofrane

2 replies

Associate III
September 10, 2026

This was working before I updated to CubeMX 6.18.1 and U5 firmware package 1.9.0

Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
September 10, 2026

Hello ​@SamMiddleton 

This issue has been detected also in the following Link [Bug]: FW V1.9.0 regression in LPTIM setup · Issue #77 · STMicroelectronics/STM32CubeU5  

and escalated to dev team under the following internal ticket ID #0065292 and it will be fixed as soon as possible.

I will keep you posted with updates.

 

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.