STM32L071 - Is explicit HSE disabling needed before entry to the Stop mode while system clock running from HSE?
In the STM32L071 reference manual, there is following statement regarding STOP mode entry with HSE as a system clock:
"If the application needs to disable the external clock before entering Stop mode, the HSEON bit must be first disabled and the system clock switched to HSI16. Otherwise, if the HSEON bit is kept enabled while external clock (external oscillator) can be removed before entering Stop mode, the clock security system (CSS) feature must be enabled to detect any external oscillator failure and avoid a malfunction behavior when entering Stop mode."
Such statements looks like that firmware must explicitly switch to HSI before entering STOP mode. Can somebody confirm the understanding of the reference manual statement is correct? It sound little weird to explicitly switch to HSI before entering STOP mode.
