<?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: DSPLIB_CM3 on LPC1769 in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581291#M24902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Sep 28 10:06:08 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry that you have encountered a problem here. It looks like the CMSISv2p00_DSPLIB_CM3 we are currently shipping (including in LPCXpresso 4.1.0) is building for Cortex-M4 rather than Cortex-M3 :(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix is simple, and you can do this for yourself...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ensure that you have imported both CMSISv2p00_DSPLIB_CM3 and CMSISv2p00_DSPLIB_SRC library projectsinto your workspace from the LPCXpresso examples directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select the CMSISv2p00_DSPLIB_SRC project and change the currently selected build configuration to "CM3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Go to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; MCU C Compiler -&amp;gt; Target&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and change Architecture to "Cortex-M3".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now rebuild the CM3 build configuration of CMSISv2p00_DSPLIB_SRC. This may take several minutes. At the end of the build, the resulting library archive will be automatically copied into the CMSISv2p00_DSPLIB_CM3 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you then clean your test project and rebuild, you should then pick up the fixed DSPLIB and your code should now run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:59:40 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:59:40Z</dc:date>
    <item>
      <title>DSPLIB_CM3 on LPC1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581290#M24901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tgiacomelli on Wed Sep 28 09:37:07 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem that i can't resolve, i hope you can help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; In LPCXpresso I have created a simple project to use CMSIS DSP&amp;nbsp; function on LPC1769 board. Here is my code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;q15_t test1[] = {-32768,32767,-32768,32767}; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;q15_t test2[] = {-1000,1000,-1000,1000}; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;q15_t tmp_output[4]; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arm_mult_q15(test1, test2, tmp_output, 4u); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; However the execution fails with "UndefInstr" in the Faults register.&amp;nbsp; The faulty instruction is "smulbb" which appears to be missing on Cortex-M3. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am disappointed since I have just follow the project creation wizard&amp;nbsp; to generate it and use DSPLIB_CM3 lib as it is provided by LPCXpresso. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Could you say me if the LPC1769 support the CMSIS DSP features? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; And if somebody have already use DSPLIB_CM3 in LPCXpresso please send&amp;nbsp; me your feedback and advise. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581290#M24901</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: DSPLIB_CM3 on LPC1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581291#M24902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Sep 28 10:06:08 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry that you have encountered a problem here. It looks like the CMSISv2p00_DSPLIB_CM3 we are currently shipping (including in LPCXpresso 4.1.0) is building for Cortex-M4 rather than Cortex-M3 :(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fix is simple, and you can do this for yourself...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ensure that you have imported both CMSISv2p00_DSPLIB_CM3 and CMSISv2p00_DSPLIB_SRC library projectsinto your workspace from the LPCXpresso examples directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select the CMSISv2p00_DSPLIB_SRC project and change the currently selected build configuration to "CM3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Go to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; MCU C Compiler -&amp;gt; Target&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and change Architecture to "Cortex-M3".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now rebuild the CM3 build configuration of CMSISv2p00_DSPLIB_SRC. This may take several minutes. At the end of the build, the resulting library archive will be automatically copied into the CMSISv2p00_DSPLIB_CM3 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you then clean your test project and rebuild, you should then pick up the fixed DSPLIB and your code should now run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:59:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581291#M24902</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: DSPLIB_CM3 on LPC1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581292#M24903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tgiacomelli on Thu Sep 29 01:00:26 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have already done this test twice, but it generates the exact same instruction code and fails on smulbb.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if I have to change something in the build settings to not use these undefined instruction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:59:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581292#M24903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: DSPLIB_CM3 on LPC1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581293#M24904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Thu Sep 29 01:36:32 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Following the previously posted sequence allowed me to successfully run your test code here. I suspect that you either changed the architecture settings for the wrong build configuration, or you did not do a clean of your application project so that the updated library archive got picked up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I've uploaded a fixed version of CMSISv2p00_DSPLIB_CM3 for you to....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/CMSISprojects&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581293#M24904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: DSPLIB_CM3 on LPC1769</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581294#M24905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by tgiacomelli on Thu Sep 29 02:00:49 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The new library have solved the issue, thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my previous tests I think I built correctly the DSP lib and clean everything, maybe the problem is also in the current library source package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, now it works. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/DSPLIB-CM3-on-LPC1769/m-p/581294#M24905</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:59:42Z</dc:date>
    </item>
  </channel>
</rss>

