<?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>CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78150/cmsis-dsp-apis-not-working-with-nrf52840-nrf-connect-sdk-v1-5-0</link><description>Hi, 
 I have been trying to use CMSIS DSP library over nRF52840. I added appropriate CONFIGs in prj.conf file, and cmake file. However, whenever I try to use function from &amp;lt;arm_math.h&amp;gt; I receive &amp;quot;undefined reference&amp;quot; error to the function that I am trying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Aug 2021 07:10:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78150/cmsis-dsp-apis-not-working-with-nrf52840-nrf-connect-sdk-v1-5-0" /><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323222?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 07:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:373ca933-bdd1-4d1a-b8e0-5abd215177e1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sure. I searched the list here (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index-zephyr.html"&gt;link&lt;/a&gt;) for &amp;quot;CMSIS_DSP&amp;quot; to find the configuration settings related to CMSIS DSP. The kernel configuration tool can be open with &amp;quot;west build -t guiconfig&amp;quot; if you build from the command line. SES has it&amp;#39;s own Kconfig tool that you can open like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/11504.Untitled.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323148?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 14:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:324084e1-1e74-4315-b684-71e012bed18a</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;For the sake of completeness could you please share what CONFGs are required in prj.conf file to enable other DSP functionalities shown in the list of GUI that you shared? Second, can you please also share with me where I can find this Zephyr&amp;nbsp; kernel configuration tool?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323142?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 14:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b70f133-a7c7-4f74-b841-3a4d55148ded</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Omer,&lt;/p&gt;
&lt;p&gt;Thanks for the clarification. Turns out you need to add &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/CONFIG_CMSIS_DSP_TRANSFORM.html?cmdoption-arg-CONFIG_CMSIS_DSP_TRANSFORM"&gt;CONFIG_CMSIS_DSP_TRANSFORM=y&lt;/a&gt; as well.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1627999839541v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323136?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 13:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eaa2a8d-d3bc-40cf-a7bc-c0049fcf4905</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;That works fine for me as well because in the program there is no arm_cfft_ function. If you notice the screenshot that you shared with me you can see that it only includes &amp;quot;modules/cmsis/CMSIS/DSP/Sources/BasicMarhFunctions/...&amp;quot;. However, transform functions and other DSP related functions are in other directories inside &lt;span&gt;modules/cmsis/CMSIS/DSP/Sources/. I think because the IDE is not pulling them into the project, hence there is a problem. One way to pull them all is to customize CMakelist, however I suspect there will be more elegant and straight forward way to pull them in the project. Please try the example code that I shared before, and you will definitely&amp;nbsp;see the error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Omer&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323125?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 13:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feced785-c0b1-4270-bc72-33e0ec1d4961</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have not been able to replicate the issue here. I even tried with your prj.conf file.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1627996639429v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The project I used for testing (not performing any actual math operations, just checking that the DSP libraries got linked into the project)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0207.hello_5F00_world.zip"&gt;devzone.nordicsemi.com/.../0207.hello_5F00_world.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Can you try and see if you get the same error if you build my project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323120?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 13:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc694806-4e0b-4141-856b-7b5c46dc6a3e</guid><dc:creator>Omer Farooq</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;I did try that before and just now, but it does not make any difference. The prj.conf file that I used just now is given below.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Omer&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_GPIO=y&lt;br /&gt;CONFIG_FPU=y&lt;br /&gt;CONFIG_NEWLIB_LIBC=y&lt;br /&gt;CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y&lt;br /&gt;CONFIG_CMSIS_DSP=y&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6371.prj.conf"&gt;devzone.nordicsemi.com/.../6371.prj.conf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMSIS DSP APIs not working with nrf52840 (nrf Connect SDK v1.5.0)</title><link>https://devzone.nordicsemi.com/thread/323113?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 12:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e0e474-cdcf-4613-8d1b-52bb6d30bee3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looks like you are missing CONFIG_NEWLIB_LIBC=y from your configuration. Please add it to your prj.conf file and try again.&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>