<?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 arm_cmplx_mag_q31() equivalent in PowerQuad? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/arm-cmplx-mag-q31-equivalent-in-PowerQuad/m-p/1194147#M43154</link>
    <description>&lt;P&gt;Goeiedag Almal!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a PowerQuad instruction equivalent to the CMSIS-DSP&amp;nbsp;&lt;SPAN&gt;arm_cmplx_mag_q31() function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like&amp;nbsp; PQ_TransformRFFT() is equivalent to the CMSIS-DSP function&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;arm_rfft_q15()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gert&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2020 05:49:55 GMT</pubDate>
    <dc:creator>gertvb</dc:creator>
    <dc:date>2020-12-05T05:49:55Z</dc:date>
    <item>
      <title>arm_cmplx_mag_q31() equivalent in PowerQuad?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/arm-cmplx-mag-q31-equivalent-in-PowerQuad/m-p/1194147#M43154</link>
      <description>&lt;P&gt;Goeiedag Almal!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a PowerQuad instruction equivalent to the CMSIS-DSP&amp;nbsp;&lt;SPAN&gt;arm_cmplx_mag_q31() function?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like&amp;nbsp; PQ_TransformRFFT() is equivalent to the CMSIS-DSP function&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;arm_rfft_q15()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gert&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2020 05:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/arm-cmplx-mag-q31-equivalent-in-PowerQuad/m-p/1194147#M43154</guid>
      <dc:creator>gertvb</dc:creator>
      <dc:date>2020-12-05T05:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: arm_cmplx_mag_q31() equivalent in PowerQuad?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/arm-cmplx-mag-q31-equivalent-in-PowerQuad/m-p/1194375#M43160</link>
      <description>&lt;P&gt;Hi, Gert Van Biljon,&lt;/P&gt;
&lt;P&gt;As you know that the arm_cmplx_mag_q31() function provided by CMSIS platform can compute the power spectrum after FFT.&lt;/P&gt;
&lt;P&gt;But I do not think the powerquad library provides the similar function to compute the power spectrum, the powerquad library provides FFT.&lt;/P&gt;
&lt;P&gt;After FFT, you can get the real[i]/image[i] array, you can call the matrix product function and addition to compute power spectrum. for example,&amp;nbsp; after FFT, you get the FFT result FFTResutArrayA, which is 1*512 array for 128 points FFT, clone the FFTResutArrayA to another array FFTResutArrayB, then you can call the matric product function and add the real[i]**2+image[i]**2 yourself.&lt;/P&gt;
&lt;P&gt;FFT based on powerquad module&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com.cn/docs/en/application-note/AN12282.pdf" target="_blank"&gt;https://www.nxp.com.cn/docs/en/application-note/AN12282.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 04:03:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/arm-cmplx-mag-q31-equivalent-in-PowerQuad/m-p/1194375#M43160</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-12-07T04:03:09Z</dc:date>
    </item>
  </channel>
</rss>

