diff options
| author | Damien George <damien@micropython.org> | 2022-01-31 16:47:03 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-01-31 18:26:55 +1100 |
| commit | c8c229b96c892ceb8ca1cf72e4a87096617ede64 (patch) | |
| tree | 3a8e8c234ff8ec9e4ae1c402051620c36f85d8c6 /docs/esp8266/tutorial | |
| parent | c99ed8d6fa9d4429bf78bcd965ce60ee747e67c3 (diff) | |
stm32/mboot: Use PLL3 for USB clock source on H7 MCUs.
PLL3-Q is more reliable than PLL1-Q for the USB clock source when entering
mboot from various reset states (eg power on vs MCU reset). (It was found
that if the main application used PLL3-Q then sometimes the USB clock
source would stay stuck on PLL3-Q and not switch to PLL1-Q after a reset.)
Other related changes:
- SystemCoreClockUpdate() should be called on H7 because the calculation
can be involved in some cases.
- __set_PRIMASK(0) should be called because on H7 the built-in ST DFU
bootloader exits with IRQs disabled.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp8266/tutorial')
0 files changed, 0 insertions, 0 deletions
