Skip to main content
Associate II
August 18, 2024
Solved

Fractional divider line missing from CubeMX generated LL library code

  • August 18, 2024
  • 4 replies
  • 1204 views

Hi

I’m using CubeMX 6.12.0 with a STM32U5G7VJT6Q project.
When using a fractional divider setting for PLL3 (in the RCC System Clock configuration), CubeMX generates the below LL library code.
The LL_RCC_PLL3FRACN_Enable() is correctly included, but it seems the fractional divider line (e.g. LL_RCC_PLL3_SetFRACN(1024)) is missing from the generated code.
When switching to HAL it is included correctly.

void PeriphCommonClock_Config(void)
{
 LL_RCC_PLL3_ConfigDomain_HSPI_LTDC(LL_RCC_PLL3SOURCE_HSE, 1, 9, 5);
 LL_RCC_PLL3_EnableDomain_HSPI_LTDC();
 LL_RCC_PLL3_SetVCOInputRange(LL_RCC_PLLINPUTRANGE_8_16);
 LL_RCC_PLL3_Enable();
 /* Wait till PLL3 is ready */
 while(LL_RCC_PLL3_IsReady() != 1)
 {
 }
 LL_RCC_PLL3FRACN_Enable();
}

 

This topic has been closed for replies.
Best answer by STTwo-32

Hello @decalvus 

This behavior has been solved on the last version of the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32

4 replies

STTwo-32
ST Technical Moderator
August 18, 2024

Hello @decalvus 

Could you please add your .ioc file so we can be able to test you case.

Best Regards.

STTwo-32 

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.
decalvusAuthor
Associate II
August 18, 2024

Hi STTwo-32,

Attached .ioc file

Thanks,

Pete

STTwo-32
ST Technical Moderator
August 19, 2024

Hello @decalvus 

Sorry for my late replay. I've been able to reproduce that issue and I've escalated to the concerned team for correction (under internal ticket number 188916).

Best Regards.

STTwo-32

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.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
December 2, 2024

Hello @decalvus 

This behavior has been solved on the last version of the STM32CubeMX V6.13.0.

Best Regards.

STTwo-32

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.