Skip to main content
srana
Visitor II
March 27, 2019
Question

how I implement fast Fourier transform on stm32f303vc discovery board and if i have to give sine wave as a input for fft calculation how it is possible?

  • March 27, 2019
  • 1 reply
  • 828 views

my project is based on energy optimization of stm32f303. so for that how i supply different input voltage (because i use dynamic voltage scaling) and i how i measure the current value?

    This topic has been closed for replies.

    1 reply

    AvaTar
    Senior III
    March 27, 2019

    Download the F30x DSP Peripheral Library from ST's site, which contains a FFT example.

    This example progam uses a constant data array as input. Replace this constant array with your own data, which you get from the ADC.

    Said peripheral library also contains ADC examples you can use for a start. They will need some tweaking, because the ADC channel might not match, and the generally used ADC mode (continuous mode) is not appropriate for Fourier analysis.