Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
d0f31ccf
Commit
d0f31ccf
authored
Dec 18, 2015
by
Fabian
Committed by
Damien George
Dec 18, 2015
Browse files
stmhal: Change PLL configuration for STM32F7DISC.
Changes USB clock from 50MHz to 48MHz which improves USB communication.
parent
da199e44
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/boards/STM32F7DISC/mpconfigboard.h
View file @
d0f31ccf
...
...
@@ -18,11 +18,11 @@
#define MICROPY_BOARD_EARLY_INIT STM32F7DISC_board_early_init
void
STM32F7DISC_board_early_init
(
void
);
// HSE is
8
MHz
// HSE is
25
MHz
#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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment