<?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>NRF51822 SPI slave semaphore tasks acquire and release</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13315/nrf51822-spi-slave-semaphore-tasks-acquire-and-release</link><description>Hello, 
 I wish to communicate with the chip via SPI NRF51822. 
 The NRF chip is configured as a slave. Based on the SPi_slave_example code, I can&amp;#39;t set to 1 the semaphore task release and task ACQUIRE . 
 Those tasks are always equal to 0 
 Is there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 May 2016 08:01:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13315/nrf51822-spi-slave-semaphore-tasks-acquire-and-release" /><item><title>RE: NRF51822 SPI slave semaphore tasks acquire and release</title><link>https://devzone.nordicsemi.com/thread/50762?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 08:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca5f7b5c-f753-4a93-b905-dc05fe658675</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry, I misread your question.&lt;/p&gt;
&lt;p&gt;When you write 1 to any TASK in the nordic chip, it will still read as 0. If you want to see if it has worked or not, you have to look at the events. For example if you write SPI-&amp;gt;TASKS_ACQUIRE = 1; Then to see if it worked you have to check if EVENTS_ACQUIRED == 1. If it is set to 1 then do your logic and clear the event by doing EVENTS_ACQUIRED = 0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 SPI slave semaphore tasks acquire and release</title><link>https://devzone.nordicsemi.com/thread/50761?ContentTypeID=1</link><pubDate>Tue, 03 May 2016 07:12:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa13d9b1-fb69-4e2a-a4dc-0fc93851985b</guid><dc:creator>User2</dc:creator><description>&lt;p&gt;Yes I still have the probleme, could we use function as assertparam?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 SPI slave semaphore tasks acquire and release</title><link>https://devzone.nordicsemi.com/thread/50760?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2016 07:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f1acd26-34d4-4093-88f6-5c73cd4406cf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi User2, sorry for late response, do you still have this problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>