How to properly change sysclk frequency in STM32L0
Hi,
I'm trying to dynamically change sysclk frequency in STM32L011xx. It's quite easy for STM32L4. All steps are described in detail in RM for L4 (here is what I extracted from RM: https://pastebin.com/KcCZNGAr) - my implementation here: https://github.com/msemegen/CML/blob/master/lib/hal/stm32l452xx/mcu.cpp.
Is there any detailed description for L0?
I found description how to change flash latency in the same voltage (RM 3.3.3, page 68) and how to change voltage range (RM 6.1.7, page 138). But no idea how change frequency, flash latency and voltage range together.
