From 9f95ff5b6ba01db09552b84a0ab79607060a2666 Mon Sep 17 00:00:00 2001 From: Ali Labbene Date: Wed, 11 Dec 2019 08:59:21 +0100 Subject: Official ARM version: v5.4.0 Add CMSIS V5.4.0, please refer to index.html available under \docs folder. Note: content of \CMSIS\Core\Include has been copied under \Include to keep the same structure used in existing projects, and thus avoid projects mass update Note: the following components have been removed from ARM original delivery (as not used in ST packages) - CMSIS_EW2018.pdf - .gitattributes - .gitignore - \Device - \CMSIS - \CoreValidation - \DAP - \Documentation - \DoxyGen - \Driver - \Pack - \RTOS\CMSIS_RTOS_Tutorial.pdf - \RTOS\RTX - \RTOS\Template - \RTOS2\RTX - \Utilities - All ARM/GCC projects files are deleted from \DSP, \RTOS and \RTOS2 Change-Id: Ia026c3f0f0d016627a4fb5a9032852c33d24b4d3 --- docs/DSP/html/group__FrequencyBin.html | 166 +++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 docs/DSP/html/group__FrequencyBin.html (limited to 'docs/DSP/html/group__FrequencyBin.html') diff --git a/docs/DSP/html/group__FrequencyBin.html b/docs/DSP/html/group__FrequencyBin.html new file mode 100644 index 0000000..f58c0b1 --- /dev/null +++ b/docs/DSP/html/group__FrequencyBin.html @@ -0,0 +1,166 @@ + + + + + +Frequency Bin Example +CMSIS-DSP: Frequency Bin Example + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
CMSIS-DSP +  Version 1.5.2 +
+
CMSIS DSP Software Library
+
+
+ +
+
    + +
+
+ + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Frequency Bin Example
+
+
+
Description
+
Demonstrates the calculation of the maximum energy bin in the frequency domain of the input signal with the use of Complex FFT, Complex Magnitude, and Maximum functions.
+
Algorithm:
+
The input test signal contains a 10 kHz signal with uniformly distributed white noise. Calculating the FFT of the input signal will give us the maximum energy of the bin corresponding to the input frequency of 10 kHz.
+
Block Diagram:
+FFTBin.gif +
+Block Diagram
+
+
The figure below shows the time domain signal of 10 kHz signal with uniformly distributed white noise, and the next figure shows the input in the frequency domain. The bin with maximum energy corresponds to 10 kHz signal.
+
+FFTBinInput.gif +
+Input signal in Time domain
+
+FFTBinOutput.gif +
+Input signal in Frequency domain
+
+
Variables Description:
+
    +
  • testInput_f32_10khz points to the input data
  • +
  • testOutput points to the output data
  • +
  • fftSize length of FFT
  • +
  • ifftFlag flag for the selection of CFFT/CIFFT
  • +
  • doBitReverse Flag for selection of normal order or bit reversed order
  • +
  • refIndex reference index value at which maximum energy of bin ocuurs
  • +
  • testIndex calculated index value at which maximum energy of bin ocuurs
  • +
+
+
CMSIS DSP Software Library Functions Used:
+
+
+

Refer arm_fft_bin_example_f32.c

+
+
+ + + + -- cgit