File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 *-----------------------------------------------------------------------------
5555 * APB2 Prescaler | 2
5656 *-----------------------------------------------------------------------------
57- * HSE Frequency(Hz) | 8000000 changed dpgeorge
57+ * HSE Frequency(Hz) | HSE_VALUE
5858 *-----------------------------------------------------------------------------
59- * PLL_M | 8 changed dpgeorge
59+ * PLL_M | (HSE_VALUE/1000000)
6060 *-----------------------------------------------------------------------------
6161 * PLL_N | 336
6262 *-----------------------------------------------------------------------------
251251
252252/************************* PLL Parameters *************************************/
253253/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N */
254- #define PLL_M 8
254+ #define PLL_M (HSE_VALUE/1000000)
255255/* USB OTG FS, SDIO and RNG Clock = PLL_VCO / PLLQ */
256256#define PLL_Q 7
257257
You can’t perform that action at this time.
0 commit comments