<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>FPU-FFT input data</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61993/fpu-fft-input-data</link><description>Hi, 
 I am measuring a frequency using the ADC (200ksps) and saving the samples into an array. I save 128 samples then move that data to the fft module to check what the signal is composed of. Here is where I am unsure if I need to change my data. The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Jun 2020 19:46:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61993/fpu-fft-input-data" /><item><title>RE: FPU-FFT input data</title><link>https://devzone.nordicsemi.com/thread/253131?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 19:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be77c092-560f-4b99-87a6-e5258edc5f89</guid><dc:creator>Phillip Jacobs</dc:creator><description>&lt;p&gt;Thank you Amanda. I think my problem is that I am just using the real number and not the imaginary number (making it 0) Will have to change that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FPU-FFT input data</title><link>https://devzone.nordicsemi.com/thread/252900?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 06:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bda3f875-c427-415c-82ea-7f345783c9b1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Do I have to change these points to polar form or leave as is and dump the data into the fft function?[/quote]
&lt;p&gt;In the &lt;a title="FPU FFT Example" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/fpu_fft_example.html?cp=7_1_4_6_12"&gt;FPU FFT Example&lt;/a&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;it processes&amp;nbsp;64 pairs of complex data (real, img). It is important to use&amp;nbsp;proper arm_cfft_sR_f32 structure associated with input/output data length.&amp;nbsp;For example:&amp;nbsp;128 numbers in input array (64 complex pairs of samples) -&amp;gt; 64 output bins power data -&amp;gt; &amp;amp;arm_cfft_sR_f32_len64. T&lt;/span&gt;&lt;span&gt;he&amp;nbsp;fft_process() will executes&amp;nbsp;&lt;a href="https://www.keil.com/pack/doc/CMSIS/DSP/html/group__ComplexFFT.html#gade0f9c4ff157b6b9c72a1eafd86ebf80"&gt;arm_cfft_f32&lt;/a&gt;() and &lt;a href="https://www.keil.com/pack/doc/CMSIS/DSP/html/group__cmplx__mag.html#gaba4e0eff7816fe80d01121fb4cf6c6bc"&gt;arm_cmplx_mag_f32&lt;/a&gt;(). Please also see the input format of&amp;nbsp;&lt;a href="https://www.keil.com/pack/doc/CMSIS/DSP/html/group__ComplexFFT.html#gade0f9c4ff157b6b9c72a1eafd86ebf80"&gt;arm_cfft_f32&lt;/a&gt;() and arm_cmplx_mag_f32().&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>