<?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>is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22394/is-nrf52-dk-support-3-wire-spi-interface</link><description>hello i am new to spi, i am doing project on 3 wire spi interface. I am using 3 wire interface as Sclk,ssn,MOSI pins only , I am not using MISO pin .I am tested spi example code but does not works well.so can any one tell me that nrf52 dk -spi support</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 03 Jun 2017 12:09:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22394/is-nrf52-dk-support-3-wire-spi-interface" /><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88077?ContentTypeID=1</link><pubDate>Sat, 03 Jun 2017 12:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce5769b5-cce3-4609-af2b-73a44c39d46a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Great. Well done. Thanks for following up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88079?ContentTypeID=1</link><pubDate>Sat, 03 Jun 2017 11:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:171be204-6309-4490-bfce-c41220cf3339</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;my problem was solved thanks for support&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88076?ContentTypeID=1</link><pubDate>Sat, 03 Jun 2017 11:01:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660ec3ad-bc9d-4c59-94ad-06b06c8891d1</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;my problem was solved thanks for valuable suggestions &amp;amp; information sir&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88075?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 05:31:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475ea68c-4a11-4743-9bfc-4b36262872e3</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;it doesn&amp;#39;t care - it just stops after it&amp;#39;s clocked the number of bytes on the clock line. It doesn&amp;#39;t look at the data it clocks, if you say you want to transfer 20 bytes, it clocks 160 times and then stops.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88074?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 05:29:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84ea0695-d5db-4358-aff2-e3800fcd1d05</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;are you sure the spi transfer data successfully even though I aam not using Miso pin(ie., the master was not receiving any  buffer data).In the data sheet the data is transfer when processor generates start &amp;amp; stop tasks . The processor generates start task when data is transfer from master to slave. The processor generates stop task when master receive data from slave to master.But I am not connecting MISO pin so there is no scope of  receiving the slave data to master that&amp;#39;s why there is no scope of generating stop task. Can  you please confirm the processor will generate stop task &amp;amp; data send succesful from master to slave  even though there is no data received from slave to master.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88073?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 13:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42d22529-01ef-4856-9582-db1d6dc14670</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;ok thanks for support , i will looking into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88078?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 12:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05452838-7523-417a-bce5-cab7ef06aa3c</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;slowly, slowly you add more information about what you&amp;#39;re doing. I checked the datasheet for that chip, it&amp;#39;s unidirectional SPI, data is only written to it, never read. So again, the SPI interface will work just fine, you just define the MISO pin as 0xffffffff, the driver will work, there is nothing special to do here.&lt;/p&gt;
&lt;p&gt;I said, in the link you pasted, that the 3-wire half duplex protocol was not supported. That&amp;#39;s the one where one pin does transmit and receive. This is NOT that case with the chip you are using, this is a normal SPI interface where there is no data transfer from the slave, only writes TO the slave. That is supported, so now you need to start looking for your bug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88072?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 12:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cf0b64c-f820-4730-9023-da07f70f4ec1</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I asked you earlier if it was half duplex and you said it wasn&amp;#39;t and you&amp;#39;ve said twice now that you&amp;#39;re just not connecting one pin, ie it&amp;#39;s a one-way connection only. Now you&amp;#39;ve linked to a question saying it is indeed half duplex and I said in that question, and I said earlier here, that isn&amp;#39;t going to work.&lt;/p&gt;
&lt;p&gt;If you are trying to do bi-directional SPI over one single data line, that is not supported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88071?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 10:45:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac9a9fec-721d-488e-a20b-5aef81d277bc</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;the following link contains the nrf52dk does not support nrf52dk.This was stated by you only sir.That&amp;#39;s I want clarity that is nrf52 dk support 3 wire interface or not ,because my slave module AD9837 works    3 wire spi interface only.
&lt;a href="https://devzone.nordicsemi.com/question/86918/spi-three-lines-mode/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88070?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 10:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59443d5-d947-4e5b-99a2-9354d02d0182</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Then just don&amp;#39;t connect the pin and use the same code. There is &lt;em&gt;nothing&lt;/em&gt; special about SPI with just one pin unused. You can use the same code, you can even set it to use a pin for MISO and just don&amp;#39;t connect that pin. The same example works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88069?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 10:32:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ed6d32c-fb22-4a6b-bed5-ce23b61c88ee</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;i am connecting 3 wire(Sclk,ssn,MOSI pins only) &amp;amp; i am not connecting miso pin but it does not works well.can you please give me any example code for 3 wire connection interface &amp;amp; it is a simplex version not a half duplex version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88068?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 07:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:302c5ccf-b88a-45ef-8e56-77fa6f0cf045</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Your description in your original question was just that you aren&amp;#39;t using the MISO pin. That&amp;#39;s absolutely fine. However now I wonder whether you didn&amp;#39;t explain yourself properly and you&amp;#39;re actually talking about the half-duplex version of SPI which uses one pin for MISO &lt;em&gt;and&lt;/em&gt; for MOSI. That isn&amp;#39;t supported. You can work around that with some circuitry but it&amp;#39;s not easy.&lt;/p&gt;
&lt;p&gt;So what are you actually talking about here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88067?ContentTypeID=1</link><pubDate>Mon, 29 May 2017 07:46:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67be2737-bf38-4829-9093-445d834a7cb1</guid><dc:creator>pawan_v61</dc:creator><description>&lt;p&gt;even-though  it was not working well ,are you sure  nrf52 dk supports 3 wire spi interface. can you please share any example code supported 3 wire interface.I have spi example code(nRF5_SDK_13-pca10040) but it not working well on 3 wire spi interface&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: is nrf52 dk support 3 wire spi interface</title><link>https://devzone.nordicsemi.com/thread/88066?ContentTypeID=1</link><pubDate>Sat, 27 May 2017 12:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a5fff0-90ed-4a12-a6a7-824652fbbbef</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Yes it supports it. You just set the MISO pin to -1 and even if you don&amp;#39;t and it uses a pin, you just ignore the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>