<?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 Radio Transmitter &amp;amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39085/nrf51822-radio-transmitter-receiver-with-spi</link><description>Hello, 
 I am working on a project which requires radio transmitter and receiver to work in sync with the SPI. So the setup is as follows the Transmitter transmits a signal to the receiver and the receiver sends the RSSI(Received Signal Strength Indicator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 07:19:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39085/nrf51822-radio-transmitter-receiver-with-spi" /><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151959?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 07:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c4ddbd6-0304-40f1-82ab-a82cf41f57a3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. If you don&amp;#39;t get any radio messages as well when you enable the SPI, it sounds like the application stops. It might be an APP_ERROR_CHECK(err_code); that receives an err_code != 0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try the following:&lt;/p&gt;
&lt;p&gt;Define DEBUG in your preprocessor defines, and turn off optimization on your project. Then set a breakpoint on line 76 in app_error.c.&lt;/p&gt;
&lt;p&gt;Then debug your project. Does any of the boards stop on this line? If so, try to add error_info to watch. Can you see what .line_num, .err_code and .p_file_name that it refers to?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What function returned the err_code passed into APP_ERROR_CHECK(err_code) that is referred to?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151908?ContentTypeID=1</link><pubDate>Sat, 06 Oct 2018 22:52:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f0382a-08d5-4830-8573-199911638f35</guid><dc:creator>BeaconBLE</dc:creator><description>&lt;p&gt;&lt;span&gt;&amp;quot;When I run the two codes in two different development kits, they are transmitting and receiving the rssi&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is over the radio, so they are transmitting and receiving over the radio.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;but when I connect the two Development kits with the SPI connetcion (...) it no longer transmits and receives any signal&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is over the radio and SPI both none of them are receiving any signal.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;So you don&amp;#39;t get any messages at all through the SPI, right?&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, I am not getting any messages over the SPI at all.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;If you turn off everything regarding radio, can you then send (and receive) any SPI messages?&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How do I turn off everything regarding the radio in this code? When I run the SDK examples spi and spis, they seem to be working properly.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151798?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 10:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ee46d29-fad5-44f3-b9f7-fb0385de92d3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I will repeat my question:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;quot;When I run the two codes in two different development kits, they are transmitting and receiving the rssi&amp;quot;&lt;/p&gt;
&lt;p&gt;Is this over SPI or BLE, or both?&lt;/p&gt;
&lt;p&gt;&amp;quot;but when I connect the two Development kits with the SPI connetcion (...) it no longer transmits and receives any signal&amp;quot;&lt;/p&gt;
&lt;p&gt;Not transmitting and receiving signal over SPI, BLE or both?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So you don&amp;#39;t get any messages at all through the SPI, right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you turn off everything regarding radio, can you then send (and receive) any SPI messages?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151786?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 09:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da644086-6f48-4220-b6ea-28300032f979</guid><dc:creator>BeaconBLE</dc:creator><description>&lt;p&gt;So, My code transmits using radio, transmitter, and receiver and then it is using SPI to transmit the received RSSI from the radio to send it to the master again. I have basically combined the two codes from the SDK i.e SDK-&amp;gt;examples-&amp;gt;peripheral-&amp;gt;radio(transmitter ad receiver) and SDK-&amp;gt;examples-&amp;gt;peripheral-&amp;gt;spi &amp;amp;spis. I hope you understand my code or what i am trying to do with this.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151671?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 12:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5aab669-b189-4275-bd95-78d6b5763c4d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand exactly what you mean. Let me ask a few questions from your original text:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""] When I run the two codes in two different development kits, they are transmitting and receiving the rssi but when I connect the two Development kits with the (using male to male wires)SPI connection i.e SCK - SCK, MISO- MISO, MOSI- MOSI, SS-SS pins of the two development kit, It no longer transmits and receives any signal[/quote]
&lt;p&gt;&amp;nbsp;&amp;quot;When I run the two codes in two different development kits, they are transmitting and receiving the rssi&amp;quot;&lt;/p&gt;
&lt;p&gt;Is this over SPI or BLE, or both?&lt;/p&gt;
&lt;p&gt;&amp;quot;but when I connect the two Development kits with the SPI connetcion (...) it no longer transmits and receives any signal&amp;quot;&lt;/p&gt;
&lt;p&gt;Not transmitting and receiving signal over SPI, BLE or both?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151630?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 10:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a83d36fe-bc50-4aee-9156-ea023414646b</guid><dc:creator>BeaconBLE</dc:creator><description>&lt;p&gt;I tried connecting that but this code is still not working. if you find anything else wrong please let me know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF51822 Radio Transmitter &amp; Receiver with SPI.</title><link>https://devzone.nordicsemi.com/thread/151223?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 12:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96d4ff57-31fb-4193-acdf-cc4212d09325</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When you use SPI, you must connect MISO on one device to MOSI on the other and vice versa.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>