<?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>Chip Select pin in SDK 11.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15063/chip-select-pin-in-sdk-11-0</link><description>In NRF52-DK, I am currently working on NRF5 SDK 11.0. 
 In examples/peripheral/spi/pca10040/,
The master spi device is continuously sending &amp;quot;Nordic&amp;quot; string every 200msec to the slave. 
 My question is are you making Chip Select (CS) pin low every 200</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2016 12:06:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15063/chip-select-pin-in-sdk-11-0" /><item><title>RE: Chip Select pin in SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/57492?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 12:06:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8ed475e-e6a2-457d-93b8-2124dad49df8</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SPI master example (examples\peripheral\spi) uses the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fgroup__nrf__drv__spi__master.html&amp;amp;cp=6_0_0_6_7_29_1_2"&gt;SPI master driver&lt;/a&gt;. Slave select is handled by the driver, i.e. SPI_CS_PIN is set low right before the transfer starts and set back high when transfer is done.&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chip Select pin in SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/57491?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 04:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a8e5016-80c0-4699-8393-51740c1cf3aa</guid><dc:creator>Pradeep Chl</dc:creator><description>&lt;p&gt;CS pin is not set high in spi_event_handler(), It is a small function that is called after data is transferred from m_tx_buf. Please correct me.&lt;/p&gt;
&lt;p&gt;At line no: 540 in nrf_drv_spi.c, the function nrf_gpio_pin_clear(p_cb-&amp;gt;ss_pin) clears the CS pin.&lt;/p&gt;
&lt;p&gt;Without EasyDMA: At line no: 415 in nrf_drv_spi.c, the function nrf_gpio_pin_set(p_cb-&amp;gt;ss_pin) sets the CS pin.&lt;/p&gt;
&lt;p&gt;With EasyDMA: At line no: 502 in nrf_drv_spi.c, the function nrf_gpio_pin_set(p_cb-&amp;gt;ss_pin) sets the CS pin.&lt;/p&gt;
&lt;p&gt;Clearing CS and Setting CS pin happens in the same function nrf_drv_spi_transfer() ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Chip Select pin in SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/57490?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 17:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35643356-71f9-4858-8d0d-87b9b3c9a760</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;The CS pin is pulled low on &lt;code&gt;nrf_drv_spi_transfer()&lt;/code&gt; and set high on &lt;code&gt;spi_event_handler()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>