2022-01-05 09:21 AM
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.
Solved! Go to Solution.
2022-01-05 02:42 PM
Set the GPIO output in high speed with GPIOx_OSPEEDR register ?
2022-01-05 02:42 PM
Set the GPIO output in high speed with GPIOx_OSPEEDR register ?
2022-01-06 02:53 AM
Hi,
Hmm ... Thanks a lot. It works. I'm a beginner and that's my stupid mistake. You actually had to configure GPIO output speed as High Speed.