cancel
Showing results for 
Search instead for 
Did you mean: 

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

utpal kumar
Associate II
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

2 REPLIES 2
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
Up vote any posts that you find helpful, it shows what's working..
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
Up vote any posts that you find helpful, it shows what's working..