Hi,
I need to configure HSI16 oscillator and push signal from it into MCO pin. I have tried to do this, but with no positive result. The signal on the oscilloscope is unstable and does not show the 16 MHz oscillator frequency.
I put the code in the attachment. My question is what am I doing wrong, how do I fix it? In addition, I say that the signal from the MSI oscillator with a value of 2.1 MHz is correctly visible on the oscilloscope. But not for HSI16.
I use 32L0538DISCOVERY board with stm32L053C8T6 MCU.