Skip to main content
Associate II
Aug 18, 2024 8:30 PM UTC
Solved

Fractional divider line missing from CubeMX generated LL library code

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.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
Dec 2, 2024 8:49 AM UTC

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.

4 replies

STTwo-32
ST Technical Moderator
Aug 18, 2024 9:23 PM UTC

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
Aug 18, 2024 9:37 PM UTC

Hi STTwo-32,

Attached .ioc file

Thanks,

Pete

STTwo-32
ST Technical Moderator
Aug 19, 2024 2:04 PM UTC

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
Dec 2, 2024 8:49 AM UTC

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.