Skip to main content
Associate
August 2, 2023
Question

How to calculate a frequency from an Oscilloscope using STM32L4

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

    This topic has been closed for replies.

    3 replies

    ST Employee
    August 4, 2023

    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 II
    August 4, 2023

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

    Andrei Chichak
    Lead
    August 8, 2023

    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.