cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate a frequency from an Oscilloscope using STM32L4

Jaimin Desai
Associate II

I am new to coding. The board used: STM32L432KCU6
I am trying to read an analog value from the OPAMP and feeding that to STM32L432KCU6 which converts this voltage to frequency using ADC. How should I go with it. I don't know where to start

3 REPLIES 3
Sarra.S
ST Employee

Hello @Jaimin Desai

Check the OPAMP-PGA example, it can be easily tailored to your application as it uses DMA and DAC

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

MasterT
Lead

ADC can't convert voltage to frequency. Timer with external input capture can.

One should begin at the start. To convert voltage to frequency, one must first achieve Blinky, then add time and experience. There are no shortcuts.