AnsweredAssumed Answered

why would SetSysClock enable the HSE for stm32L1x

Question asked by Martijn Jonkers on Mar 24, 2016
Latest reply on Mar 24, 2016 by Martijn Jonkers
I am developing a low power application for the stm32L151RC and after a lot of debugging noticed that the system_stm32l1xx.c file does a  

RCC->CR |= ((uint32_t)RCC_CR_HSEON);

Why would it do that. Why not just continue with the MSI at 2 MHz?
Now my application consumes to much power during sleep mode (1.64 mA instead of 150uA).

I know I can simply alter the systemInit function, but why does it do this in the first place?

Outcomes