Skip to main content
Explorer
June 25, 2025
Question

LL_RCC_PLL_ConfigDomain_XXX functions

  • June 25, 2025
  • 1 reply
  • 258 views

Can anybody explain me what it the sense of having such functions separate for any peripheral that can choose the PLL as the source clock ?

I mean... There is no independent "domains" for SYSCLK, ADC, I2S, etc.... There is only one instance of PLL and for me this is very confusing to have

  • LL_RCC_PLL_ConfigDomain_SYS
  • LL_RCC_PLL_ConfigDomain_ADC
  •  LL_RCC_PLL_ConfigDomain_I2S1
  • etc..
 in ...ll_rcc.h file
Each of them reconfigures PLL which have nothing to do with peripherals that use it...
 
Why there is no one function to set up dividers / multipliers for PLL generally and the source clock selection should be the API of particular peripheral driver? Is there any explanation why the LL drivers are designed this way ?
 
 

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    June 27, 2025

    Hello @MKowalski 

    Please specify the MCU series you are working on ?