Skip to content
Snippets Groups Projects
Commit d0f31ccf authored by Fabian's avatar Fabian Committed by Damien George
Browse files

stmhal: Change PLL configuration for STM32F7DISC.

Changes USB clock from 50MHz to 48MHz which improves USB communication.
parent da199e44
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,11 @@
#define MICROPY_BOARD_EARLY_INIT STM32F7DISC_board_early_init
void STM32F7DISC_board_early_init(void);
// HSE is 8MHz
// HSE is 25MHz
#define MICROPY_HW_CLK_PLLM (25)
#define MICROPY_HW_CLK_PLLN (400)
#define MICROPY_HW_CLK_PLLN (336)
#define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV2)
#define MICROPY_HW_CLK_PLLQ (8)
#define MICROPY_HW_CLK_PLLQ (7)
#define MICROPY_HW_FLASH_LATENCY FLASH_LATENCY_6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment