<?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>nrf52 Preview DK SPI Master - No Slave Select Toggle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11471/nrf52-preview-dk-spi-master---no-slave-select-toggle</link><description>Hi All, 
 I&amp;#39;m working with the NRF52 Preview DK, with SDK V 0.92. 
 I&amp;#39;ve been looking at and tweaking the SPI_Master tutorial found under /examples/peripheral/spi_master/ while following the documentation for the SPI Hardware Drivers found here : </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jan 2016 02:37:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11471/nrf52-preview-dk-spi-master---no-slave-select-toggle" /><item><title>RE: nrf52 Preview DK SPI Master - No Slave Select Toggle</title><link>https://devzone.nordicsemi.com/thread/43301?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2016 02:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de66136-f75a-491a-a349-2af4db8c0995</guid><dc:creator>bvuong87</dc:creator><description>&lt;p&gt;Answered my question with a few more questions to research on my own :)&lt;/p&gt;
&lt;p&gt;It looks like this snippet of code here, where the SPI Master driver is initialized, requires a callback function instead of NULL to keep the SPI Peripheral out of &amp;quot;blocking mode&amp;quot; which I&amp;#39;m led to believe keeps the driver from releasing the SPI enable signal back to high.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = nrf_drv_spi_init(&amp;amp;m_spi_master_1, &amp;amp;config, NULL);    // NULL event handler = block
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Changing this to...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;err_code = nrf_drv_spi_init(&amp;amp;m_spi_master_1, &amp;amp;config, spi_master_1_event_handler);    
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and defining a blank spi_master_1_event_handler() like so seems to have solved the problem. See attached snips of the bus lines.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void spi_master_0_event_handler(nrf_drv_spi_event_t event){}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Screen-Shot-2016_2D00_01_2D00_21-at-6.34.58-PM.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Chalk it up to a lesson learned and hope this helps somebody!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>