<?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: LPC55S69 PowerQuad Example in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880165#M35166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to reporting this issues, I will&amp;nbsp;check it and inform the application team about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 22:50:06 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-03-27T22:50:06Z</dc:date>
    <item>
      <title>LPC55S69 PowerQuad Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880162#M35163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I'm using the PowerQuad for FFT512 functions, and am using the example in AN12282 as a basis, however I am having some problems using the libraries that are released under the SDK as follows.&lt;/P&gt;&lt;P&gt;1) I tried to access the FFT function using the CMSIS call arm_rfft_init_q15() and arm_rfft_q15() both of which are remapped to the relevant PowerQuad function using the code in fsl_powerquad_cmsis.c. However I need to include the header file from the CMSIS code "arm_math.h" to make the structure arm_rft_instance_q15 available. This results in a compiler error because there is no FPU/DSP accelerator present. To get round this I access the PowerQuad driver functions directly.&lt;/P&gt;&lt;P&gt;2) I then need to calculate the magnitude of the complex result of the FFT. In the example this is done using arm_q31_to_float and arm_cmplx_mag_f32. However, this is not mapped to a PowerQuad function, nor does there seem to be an equivalent function in the current PowerQuad drivers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also looked at the PowerQuad driver examples in the SDK which have been very useful, but these fall short of the required magnitude calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there complete source code files for the examples in AN12282 so I can see where my error is, and are these examples based on a currently unavailable version of PowerQuad drivers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any other suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880162#M35163</guid>
      <dc:creator>andrew_lonsdale</dc:creator>
      <dc:date>2019-03-22T09:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PowerQuad Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880163#M35164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Regarding point 1. I now seem to have this working by putting #include "arm_math.h" at the end of my list of includes rather than at the beginning. The excellent powerquad_cmsis example helped here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the include as the first entry I get the following compile errors from core_cm33.h:&lt;/P&gt;&lt;P&gt;"Compiler generates FPU instructions for a device without an FPU (check __FPU_Present)"&lt;/P&gt;&lt;P&gt;"Compiler generates DSP (SIMD)&amp;nbsp; instructions for a device without a DSP extensions (check __DSP_Present)"&lt;/P&gt;&lt;P&gt;Even though these lines are excluded at compile time by the surrounding defines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried moving the #include "arm_math.h" to the top of the list in the powerquad_cmsis example, and got the same result, so it looks like something odd is happening with the tools here.&lt;/P&gt;&lt;P&gt;Does anyone else get this odd result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 11:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880163#M35164</guid>
      <dc:creator>andrew_lonsdale</dc:creator>
      <dc:date>2019-03-22T11:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PowerQuad Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880164#M35165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is some further progress on this issue, which might help some folks:&lt;/P&gt;&lt;P&gt;I have upgraded to MCUxpresso v10.3.1 Build 2233, as the SDK Builder indicated that I need this. Interestingly, I was using v10.3.0 Build 2200, but checking for updates did not inform me that there was a later version.&lt;/P&gt;&lt;P&gt;I have also unzipped the installed SDK from within the IDE which has given me some arm libraries. I added one of these libraries by following the excellent guide here: &lt;A href="https://community.nxp.com/docs/DOC-335465"&gt;https://community.nxp.com/docs/DOC-335465&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that when adding the library name you must omit the "lib" prefix and the ".a" suffix. So to add library libxyz.a, you enter "xyz" as the library.&lt;/P&gt;&lt;P&gt;I added libarm_ARMv8MMLI_math.a.&lt;/P&gt;&lt;P&gt;Sadly, I started to get VFP errors in the compilation, and I think this is because I have settings for hardabi in the tools and the library in the SDK uses softabi.&amp;nbsp; I think that this refers to whether or not floating point calculations are done in hardware or software and articles on the web suggest these shouldn't generally be mixed.&lt;/P&gt;&lt;P&gt;The SDK has only provided two arm libraries, neither of which recoginses that there is an FPU or DSP extension on core0. I think that the library I want is "arm_ARMv8MMLldfsp_math.a".&lt;/P&gt;&lt;P&gt;I have obtained this library from elsewhere, and my program compiles with a warning about 32-bit enums.&lt;/P&gt;&lt;P&gt;The code runs, but I am not seeing significant performance improvement between calculating the complex magnitude on the core and using the DSP extensions. Perhaps I'm not actually using them.&lt;/P&gt;&lt;P&gt;I'll continue to investigate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2019 16:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880164#M35165</guid>
      <dc:creator>andrew_lonsdale</dc:creator>
      <dc:date>2019-03-25T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 PowerQuad Example</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880165#M35166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to reporting this issues, I will&amp;nbsp;check it and inform the application team about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 22:50:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-PowerQuad-Example/m-p/880165#M35166</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-03-27T22:50:06Z</dc:date>
    </item>
  </channel>
</rss>

