This is a demo using STM32F103z to convert voltages' A/D and transform basic data into spectrum using FFT algorithm
- table_fft.h (FFT表文件)
- stm32_dsp.h (调用DSP库函数的头文件,如果是自己编写的fft,则不需要此文件)
- cr4fft64_stm32.s 和 cr4fft256_stm32.s 和 cr4fft1024_stm32.s (DSP傅里叶变换的可执行函数,如果是自己完成的fft则不需要此文件)
- FFT2.c(和同一目录下FFT2) 这个是自己实现FFT的函数所在文件,其中包含简单的数据处理,滤波(如果是调用dps函数完成,则不需要此文件)
- dsp_g2.c (测试序列发生函数,fft调用函数,串口通信函数,全部封装在一个函数内,在main函数里面调用即可,这个是自己实现的FFT)
- dsp_asm.c (同上,不过这个是直接调用库函数的FFT,不推荐使用)
- table_fft.h (Fast Fourier Transform Table Files)
- stm32_dsp.h (Used to call the DSP library function header files, you do not need this file if you have prepared the Fast Fourier Transform using software algorithm already)
- cr4fft64_stm32.s and cr4fft256_stm32.s and cr4fft1024_stm32.s (Executable functions used to perform DSP's Fourier Transform, you do not need this file if you have prepared the Fast Fourier Transform using software algorithm already)
- FFT2.c(And the FFT2 library files under the same directory) This is the function of their own FFT file, which contains a simple data processing, filtering (you do not need this file if you call dsp's function to complete)
- dsp_g2.c (Test sequence generation function, Fast Fourier Transform call function, serial communication functions, all encapsulated in a function, inside the main function can be called.btw,this is their own implementation of the FFT algorithm)
- dsp_asm.c (Ibid, but this is a direct call library function FFT algorithm is not recommended)