AnsweredAssumed Answered

SOLVED: STM32L151 MCO/PLL doesn't configure after reset

Question asked by G on Aug 20, 2015
Latest reply on Aug 21, 2015 by Nesrine M
I want to avoid using a 12MHz external crystal for another IC, so I set the MCO to the PLL, with the HSI feeding the PLL.  It works great when I flash the chip, but after a reset, it doesn't work.  Everything else in the program functions fine.  If I re-flash the STM, it works again until reset.

EDIT: It was a pin config problem. I moved the function that setup the MCO to the beginning of the code without moving the GPIO clock init with it.  

This thread can be closed.