Skip to main content
utpal kumar
Associate II
March 10, 2017
Question

PLL not working with Mul 6 of Internal 8 MHZ oscillator STM32F030x6

  • March 10, 2017
  • 2 replies
  • 742 views
Posted on March 10, 2017 at 13:35

Dear All,

I am using STM32F030x6 for one of my projects ,

PLL not working with Mul 6 of Internal 8 MHZ oscillator.

PFA code .

Share your valuable advise to resolve the issue.

Thanks,

Utpal

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 10, 2017
    Posted on March 10, 2017 at 13:42

    Define 'not working'

    The PLL doesn't lock? The frequency is unstable? You see the wrong frequency on MCO pin?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    March 10, 2017
    Posted on March 10, 2017 at 13:45

    Doesn't seem to be using MUL 6

      RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;

      RCC_OscInitStruct.HSIState = RCC_HSI_ON;

      RCC_OscInitStruct.HSICalibrationValue = 16;

      RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;

      RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI;

      RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12;

      RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1;
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..