|
|
@ -54,9 +54,9 @@ |
|
|
|
*----------------------------------------------------------------------------- |
|
|
|
* APB2 Prescaler | 2 |
|
|
|
*----------------------------------------------------------------------------- |
|
|
|
* HSE Frequency(Hz) | 8000000 changed dpgeorge |
|
|
|
* HSE Frequency(Hz) | HSE_VALUE |
|
|
|
*----------------------------------------------------------------------------- |
|
|
|
* PLL_M | 8 changed dpgeorge |
|
|
|
* PLL_M | (HSE_VALUE/1000000) |
|
|
|
*----------------------------------------------------------------------------- |
|
|
|
* PLL_N | 336 |
|
|
|
*----------------------------------------------------------------------------- |
|
|
@ -251,7 +251,7 @@ |
|
|
|
|
|
|
|
/************************* PLL Parameters *************************************/ |
|
|
|
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */ |
|
|
|
#define PLL_M 8 |
|
|
|
#define PLL_M (HSE_VALUE/1000000) |
|
|
|
/* USB OTG FS, SDIO and RNG Clock = PLL_VCO / PLLQ */ |
|
|
|
#define PLL_Q 7 |
|
|
|
|
|
|
|