<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FFT example on MCUXpresso please in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1358906#M16792</link>
    <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;BR /&gt;Hope you are well. I will gladly answer your questions:&lt;/P&gt;
&lt;P&gt;1. Yes, I suggest you use the init function before using the FFT operation.&lt;/P&gt;
&lt;P&gt;2. You can add the library in the project wizard while you are creating your project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_1-1634759638410.png" style="width: 497px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159677i9AD62CE728F14745/image-dimensions/497x264?v=v2" width="497" height="264" role="button" title="Omar_Anguiano_1-1634759638410.png" alt="Omar_Anguiano_1-1634759638410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If your project is already created, you can add it in the SDK management(&lt;STRONG&gt;right-click project -&amp;gt; SDK Management -&amp;gt; Manage SDK Components&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;3. You can create a new project including the CMSIS DSP library and copy the source code from the examples listed in the documentation: &lt;A href="https://www.keil.com/pack/doc/CMSIS/DSP/html/group__groupExamples.html" target="_blank"&gt;https://www.keil.com/pack/doc/CMSIS/DSP/html/group__groupExamples.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 19:54:56 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2021-10-20T19:54:56Z</dc:date>
    <item>
      <title>FFT example on MCUXpresso please</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1354854#M16696</link>
      <description>&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;Read this post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-RT/FFT-Fast-Fourier-Transform-operations-on-i-MXRT-platforms/m-p/1348398" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/FFT-Fast-Fourier-Transform-operations-on-i-MXRT-platforms/m-p/1348398&lt;/A&gt;&amp;nbsp;here and try to do an FFT with arm_rfft_fast_f32.c, I am using RT1024. Read the example for Keil project too for some SDK (not included for SDK RT1024) and noticed it doesn't call the init function, so I am a bit confused on the procedure to let the library work, please help .&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Do I need to call the&amp;nbsp;arm_rfft_fast_init_f32 function first?&amp;nbsp; if so, when ?&lt;/P&gt;&lt;P&gt;2. What is the way to link the library, I put it by link the libarm_cortexM7lfsp_math.a file, I hope that is the correct file for RT1024, please confirm.&lt;/P&gt;&lt;P&gt;3. Any example for MCUXpresso IDE?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 09:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1354854#M16696</guid>
      <dc:creator>ping1</dc:creator>
      <dc:date>2021-10-13T09:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: FFT example on MCUXpresso please</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1358906#M16792</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&lt;BR /&gt;Hope you are well. I will gladly answer your questions:&lt;/P&gt;
&lt;P&gt;1. Yes, I suggest you use the init function before using the FFT operation.&lt;/P&gt;
&lt;P&gt;2. You can add the library in the project wizard while you are creating your project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_1-1634759638410.png" style="width: 497px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159677i9AD62CE728F14745/image-dimensions/497x264?v=v2" width="497" height="264" role="button" title="Omar_Anguiano_1-1634759638410.png" alt="Omar_Anguiano_1-1634759638410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If your project is already created, you can add it in the SDK management(&lt;STRONG&gt;right-click project -&amp;gt; SDK Management -&amp;gt; Manage SDK Components&lt;/STRONG&gt;)&lt;/P&gt;
&lt;P&gt;3. You can create a new project including the CMSIS DSP library and copy the source code from the examples listed in the documentation: &lt;A href="https://www.keil.com/pack/doc/CMSIS/DSP/html/group__groupExamples.html" target="_blank"&gt;https://www.keil.com/pack/doc/CMSIS/DSP/html/group__groupExamples.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Let me know if this is helpful, if you have more questions do not hesitate to ask me.&lt;BR /&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 19:54:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1358906#M16792</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2021-10-20T19:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: FFT example on MCUXpresso please</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1359342#M16804</link>
      <description>&lt;P&gt;Hi, Omar&lt;/P&gt;&lt;P&gt;Thanks for answering me!&lt;/P&gt;&lt;P&gt;I got the precompiled libarm_cortexM7lfdp.a file from SDK RT1024 shown as below and linked the library into project, I hope that is ok too?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ping1_0-1634804438922.png" style="width: 507px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/159740i1BE7B9A3DCF734E3/image-dimensions/507x126?v=v2" width="507" height="126" role="button" title="ping1_0-1634804438922.png" alt="ping1_0-1634804438922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the complex example provided for Keil uVision in MCUXpresso, and it works there - same index is resulted using the same data set. however, when input my own data, the result is not in agree with what I input.&amp;nbsp; I am not sure whether I should use complex FFT or real FFT, the input data set is real anyway in both cases. I am interested in getting power FFT only. So I tried to use fast real one, and it ends up hard fault and also modified some variables has nothing to do with the input ot output of FFT. I wonder whether the real fast FFT function there works. Here is some test sample for a short 128 data FFT, it is 400Hz signal, I get close FFT result from Matlab.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;float&lt;/STRONG&gt; FLCdata[128] = {&lt;/P&gt;&lt;P&gt;148,94,7,7,129,148,148,7,7,7,&lt;/P&gt;&lt;P&gt;148,148,107,7,7,116,148,147,7,7,&lt;/P&gt;&lt;P&gt;7,148,148,119,7,7,104,148,148,7,&lt;/P&gt;&lt;P&gt;7,7,148,148,132,7,7,91,148,148,&lt;/P&gt;&lt;P&gt;7,7,7,148,148,146,7,7,79,148,&lt;/P&gt;&lt;P&gt;148,7,7,7,148,148,148,7,7,66,&lt;/P&gt;&lt;P&gt;148,148,17,7,7,148,148,148,7,7,&lt;/P&gt;&lt;P&gt;54,148,148,29,7,7,148,148,148,7,&lt;/P&gt;&lt;P&gt;7,42,148,148,42,7,7,148,148,148,&lt;/P&gt;&lt;P&gt;7,7,29,148,148,54,7,7,148,148,&lt;/P&gt;&lt;P&gt;0,0,0,0,0,0,0,0,0,0,&lt;/P&gt;&lt;P&gt;0,0,0,0,0,0,0,0,0,0,&lt;/P&gt;&lt;P&gt;0,0,0,0,0,0,0,0,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;But I cannot get it from the library using complex function. Try to use the real fast f32 type, cannot get it initialised&amp;nbsp; - failure. Advice please?&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;P&gt;Ping&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 08:40:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FFT-example-on-MCUXpresso-please/m-p/1359342#M16804</guid>
      <dc:creator>ping1</dc:creator>
      <dc:date>2021-10-21T08:40:55Z</dc:date>
    </item>
  </channel>
</rss>

