summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2020-05-06 14:34:40 +0200
committerJerzy Kasenberg <[email protected]>2020-05-06 15:13:55 +0200
commit615369a6eb28c9203d33549c8b944d35539de1b9 (patch)
tree6304b5b0b6e1db79b17da8dcb99e1a32dc1f71ef /src
parentd9e534f6f274d0d8b02a6258a55d6178517bd5fa (diff)
stm32l476disco: Fix system clock setup
Code suggested that PLL with MSI is used resulting in 80MHz clock. When in fact PLL was not configured and system clock was left at MSI 48MHz. This happens because PLL configuration requires that SysTick interrupt has interrupt priority level configured correctly. As it seems ST code intentionally setups variable uwTickPrio to invalid value and later when it is not setup by user code configuration of oscillator will fail before PLL is configured. This simple changes systick priority to some valid value that allows clock to use PLL.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions