<?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 Module RX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/723/nrf51822-spi-module-rx</link><description>Hello, 
 I&amp;#39;ve been working on the SPI module for the nRF51822. I used the sample spi .c file as a starting point, but I got rid of the timeout (not sure why there is a timeout in a SPI module). I&amp;#39;m sending out the data just fine, and I&amp;#39;m waiting for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jan 2014 14:36:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/723/nrf51822-spi-module-rx" /><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3694?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 14:36:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e7f691b-1f24-41a4-bc35-2fd360840c44</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Modern Advice: P0.22 is physically pin 41 on the QFN chip and B5 on the WLCSP chip. You can find the pin assignment in the nRF51822 Product Specification document at Section 2.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3695?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 18:35:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17a172dc-6aac-4c3a-83a6-bcf1f2b101e1</guid><dc:creator>Charles Horkin</dc:creator><description>&lt;p&gt;I mean that pin number 22 is not the same as P0.22. The P0.x pins that the firmware refrences are mapped to different physical pins with other numbers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3693?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 04:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7678e787-8b64-4fd7-9e9f-4ae2e68e0d88</guid><dc:creator>Cagdas Ogut</dc:creator><description>&lt;p&gt;I am stuck and SPI as well. What do you mean by P0.22 != P22 ?&lt;/p&gt;
&lt;p&gt;I cannot even see SPI clock on my oscilloscope.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3691?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2013 18:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91472202-94e3-4fb0-afe6-0d342f383d28</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Balaji, Could you please upload your project files ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3692?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2013 17:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bb6120d-1320-461e-ba64-00a87585f8a2</guid><dc:creator>Charles Horkin</dc:creator><description>&lt;p&gt;What about if you short 21 and 23 together?  Also, are you shorting pin 20, or P0.21 to pin 22, or P0.22?  Note that P0.22 != P22.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3690?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2013 07:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ee15dc8-a6b5-48ab-b72c-b6a8c921a621</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;I have pca10001 board eva board.&lt;/p&gt;
&lt;p&gt;i tried spi communication by spi_master_example in nrf6310 source code.&lt;/p&gt;
&lt;p&gt;i shorted 20(MOSI) to  22 pin(MISO) . i change ERROR_PIN_SPI0 =18 ERROR_PIN_SPI1=19.&lt;/p&gt;
&lt;p&gt;But for every byte i am sending ,i am receiving data byte as 0xFF.&lt;/p&gt;
&lt;p&gt;Kindly suggest me.&lt;/p&gt;
&lt;p&gt;Regards
Balaji&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3689?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2013 14:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82bb88a1-9a12-4d5c-bb4f-99dad794dde9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Charles: If you don&amp;#39;t read the byte out, you will be able to send maximum 2 bytes since the SPI RX buffer is only 2 bytes. The figure in the Reference Manual showed that the first byte was clocked out before the third one came.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3688?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 19:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa527bbd-66a7-49b9-a630-0ccd6919111e</guid><dc:creator>Charles Horkin</dc:creator><description>&lt;p&gt;Follow-up: The Reference manual shows 3 TXd bytes followed by a pause followed by more...but when I do it, I get 2, then 2, then more....am I missing something?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3687?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 18:09:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:917ea8ea-9447-4e3f-be63-026d0f59ab02</guid><dc:creator>Charles Horkin</dc:creator><description>&lt;p&gt;That fixed it.  I guess I failed to see that the crystal was there....thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3686?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 10:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b13689e2-22e7-4ef2-8055-663e8a17fe25</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Charles,&lt;/p&gt;
&lt;p&gt;Have you tried spi_master_example in folder nRF6310 ?
It was made for the Dev Kit, You would need to modify the source code a little bit for the PCA10001. Mainly the LEDs configuration.&lt;/p&gt;
&lt;p&gt;Note that on the PCA10001 P0.08-&amp;gt;P0.11 are used for UART and P0.26 and P0.27 are connected to 32kHz crystal. If you want to use these pins, you would need to cut the solder bridges.&lt;/p&gt;
&lt;p&gt;If SPI1 and SPI0 working properly and be looped back properly (connected MOSI and MISO), ERROR_PIN_SPI0 and ERROR_PIN_SPI1 should be low (both LEDs are off).&lt;/p&gt;
&lt;p&gt;Please upload your source code if you still experience the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 SPI Module RX</title><link>https://devzone.nordicsemi.com/thread/3685?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2013 00:29:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fcd17d9-1402-470e-9f83-83a5042b2114</guid><dc:creator>guillermo</dc:creator><description>&lt;p&gt;Hi Charles, I&amp;#39;m shooting in the dark here because I haven&amp;#39;t dive into hardware configurations yet, but it seems like a signal conditioning issue. Are you sure that your input pin is correctly configured as High Z or open collector with a pull up? is an enable signal to allow the pin to connect to the internal bus?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>