<?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>Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91604/problem-with-freertos-spi</link><description>Hi 
 We have a freeRTOS project using nRF52840, I found that if I put SPI transfer API before running task is OK, but it has a problem if I put in the task, 
 Does anyone know how to use SPI(easyDMA) in freeRTOS? 
 
 
 thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Sep 2022 01:19:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91604/problem-with-freertos-spi" /><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384668?ContentTypeID=1</link><pubDate>Tue, 06 Sep 2022 01:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b01ff73-5764-4ee6-9c20-5227e238eac1</guid><dc:creator>RHO</dc:creator><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;thank you so much&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;BR&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384636?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 15:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d341c3ec-d868-45d0-9d58-0b1bde1c06e1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I am not able to give a good answer based on the limited information available here, if you have made a RF protocol in the nRF5 SDK, and now plan to switch to the nRF Connect SDK, then you (or whoevever made the RF protocol for you) must to an assesment/study of the resources used, and how they can be modified. For instance your RF protocol may be relying on application timers that was implemented in the nRF5 SDK that is different in the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384623?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 14:10:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0c350a-e9c8-4b9e-9d81-1b80c27182f1</guid><dc:creator>RHO</dc:creator><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;Hi&amp;nbsp;Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;It looks possible coexist these two sdk, right?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;BR&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384607?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 13:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a3294e-ce03-44df-9679-d3f13fb041ef</guid><dc:creator>Kenneth</dc:creator><description>[quote user="RHO"]thank you,&amp;nbsp;I think is our PCBA problem, it is workable on DK.[/quote]
&lt;p&gt;Okey.&lt;/p&gt;
[quote user="RHO"]According to your second statement, can we use the pure NCS project and integrate the third party RF protocol which is develop by nRF 17.0.x sdk?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;If you don&amp;#39;t need to use any other radio protocol concurrently then I expect you should be able to make this work:&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_memory.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_memory.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/minimal/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/minimal/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: The above links don&amp;#39;t really answer your question, but show zephyr rtos can be used without any dependency of protocol.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384599?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 13:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3efa0bc-6e49-497b-8f33-be9d9278db40</guid><dc:creator>RHO</dc:creator><description>&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;Hi&amp;nbsp;Kenneth&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;thank you,&amp;nbsp;I think is our PCBA problem, it is workable on DK.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;&lt;strong&gt;According to your second statement, can we use the pure NCS project and integrate the third party RF protocol which is develop by nRF 17.0.x sdk?&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with freeRTOS + SPI</title><link>https://devzone.nordicsemi.com/thread/384590?ContentTypeID=1</link><pubDate>Mon, 05 Sep 2022 13:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ae02c68-876b-49a7-bc4b-c3e0f4d30c1d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried searching a bit and could find this thread that discuss possible issues in general:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/29883/nrf52840---spim-blocking-mode-with-sd-and-freertos"&gt;nRF52840 - SPIM Blocking mode with SD and FreeRTOS&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are starting a new project I recommend to check out the nRF Connect SDK instead (using the zephyr RTOS):&lt;br /&gt;&lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there is no luck I guess you need to provide a simplified project we can run on an nRF52840-DK, but make sure it compiles on a fresh installation of an nRF5 SDK before providing the project and where to unzip it in the latest nRF5 SDK.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>