stm32/boards/NUCLEO_F429ZI: Incr CPU freq to 168MHz to get USB working.

At the original frequency of 90MHz there's no way to get a 48MHz USB clock.
These new setting mirror those of the STM32F429DISC board.
This commit is contained in:
Damien George 2017-11-15 12:23:29 +11:00
parent 1871a924c9
commit 2cafef857e
1 changed files with 2 additions and 2 deletions

View File

@ -16,9 +16,9 @@
// HSE is 8MHz
#define MICROPY_HW_CLK_PLLM (8)
#define MICROPY_HW_CLK_PLLN (180)
#define MICROPY_HW_CLK_PLLN (336)
#define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV2)
#define MICROPY_HW_CLK_PLLQ (4)
#define MICROPY_HW_CLK_PLLQ (7)
// From the reference manual, for 2.7V to 3.6V
// 151-180 MHz => 5 wait states