<?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>CSN event trigger on nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4233/csn-event-trigger-on-nrf51822</link><description>Hi,
I&amp;#39;m trying to implement a specific communication protocol using the SPI on a nRF51822. The SPI on nordic side will act as slave. When CSN line goes low, I will also need to do other processing (setup other GPIO pins to indicate specific states).</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Oct 2014 16:36:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4233/csn-event-trigger-on-nrf51822" /><item><title>RE: CSN event trigger on nRF51822</title><link>https://devzone.nordicsemi.com/thread/15124?ContentTypeID=1</link><pubDate>Thu, 30 Oct 2014 16:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:640d54c9-cdfb-4c2f-949e-f66429ec0556</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I&amp;#39;m glad it works! If you feel your question has been answered, please accept the answer so we can close the thread&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSN event trigger on nRF51822</title><link>https://devzone.nordicsemi.com/thread/15125?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2014 14:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a3e0b4-b7b3-40d1-a474-bb749acd226a</guid><dc:creator>Bogdan</dc:creator><description>&lt;p&gt;Thanks for the reply. Indeed, I&amp;#39;ve connected CSN with another GPIO and it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CSN event trigger on nRF51822</title><link>https://devzone.nordicsemi.com/thread/15123?ContentTypeID=1</link><pubDate>Wed, 29 Oct 2014 13:39:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaae3cb6-6b14-42b0-ba8c-da73c20c1d86</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Is there a way to setup CSN line to
also trigger an event by using GPIOTE?
According to the documentation, when
the pin is controlled by GPIOTE, other
operations on that pin will have no
effect.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could you just assign CSN to one pin and GPIOTE event to another pin and connect those pins together physically? So that &amp;#39;chip select&amp;#39; from master both trigger the CSN and GPIOTE event?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If the pin cannot be used like that,
is there a way for the SPIS to not use
CSN line? Act like it&amp;#39;s the only slave
on the SPI and get data on each CLK
edge (ignoring the CSN line)?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;SPIS needs the CSN line to acquire and release the semaphore that enables sharing of the RXD and TXD buffers between the SPIS and the CPU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>