<?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>How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/314/how-to-translate-the-result-from-register-rssisample-to-the-real-rssi</link><description>Hi, Thank you for your kindly help. 
 I have get the result from the register RSSISAMPLE. The result I get from RSSISAMPLE is like this:0x00000050. As you known, the result should be a negative number. So there must be a formula or some other operation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Apr 2014 09:41:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/314/how-to-translate-the-result-from-register-rssisample-to-the-real-rssi" /><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1653?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2014 09:41:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c07bbb46-97c3-43ea-b397-53197c8ff589</guid><dc:creator>plinzler</dc:creator><description>&lt;p&gt;// Enable shortcut for RSSI Messurement&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;NRF_RADIO-&amp;gt;SHORTS = RADIO_SHORTS_ADDRESS_RSSISTART_Msk;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;...
...
...
// get the value	
rssi =NRF_RADIO-&amp;gt;RSSISAMPLE;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1652?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2013 10:30:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1c417b-9870-4338-a886-a15f5be801e9</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;No, as I said, I&amp;#39;d recommend using a shortcut, so that you don&amp;#39;t even need to start this manually from code. Look at the definition for the SHORTS register in section 16.2.1. As you can see, it&amp;#39;s possible to set a shortcut from the ADDRESS event to RSSISTART, so that the RSSI measurement will be started on every address match.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1651?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2013 02:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7eb13d7-1fd5-4838-b6f4-69629bfc8793</guid><dc:creator>Gil DePaula</dc:creator><description>&lt;p&gt;Hi Ole,&lt;/p&gt;
&lt;p&gt;Do you mean this...&lt;/p&gt;
&lt;p&gt;// Wait for RX address match
while(NRF_RADIO-&amp;gt;RXMATCH == 0U)
{
}&lt;/p&gt;
&lt;p&gt;...instead of this?&lt;/p&gt;
&lt;p&gt;// Wait for end of packet
while(NRF_RADIO-&amp;gt;EVENTS_END == 0U)
{
}&lt;/p&gt;
&lt;p&gt;Thanks,
Gil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1650?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2013 07:55:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3519996f-1c04-474d-bf78-e34265b36f69</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The way you do it now, you wait for the packet to be completely received, and then start the RSSI measurement. This will obviously not measure the RSSI while the packet is received, which is most likely what you want. To do such measurement, I&amp;#39;d recommend using the shortcut between address match and RSSI start, so that RSSI measurement is started once an address is matched.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1649?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2013 13:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:811a1582-951b-4690-a960-2cf279ca70bd</guid><dc:creator>acmarkham</dc:creator><description>&lt;p&gt;Now I have another problem.
I use the example button_radio_example to get RSSI. I write code like this in PCA10000.
NRF_RADIO-&amp;gt;EVENTS_READY = 0U;
// Enable radio and wait for ready
NRF_RADIO-&amp;gt;TASKS_RXEN = 1U;
while(NRF_RADIO-&amp;gt;EVENTS_READY == 0U)
{
}
NRF_RADIO-&amp;gt;EVENTS_END = 0U;
// Start listening and wait for address received event
NRF_RADIO-&amp;gt;TASKS_START = 1U;
// Wait for end of packet
while(NRF_RADIO-&amp;gt;EVENTS_END == 0U)
{
}&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	//get RSSI
	NRF_RADIO-&amp;gt;EVENTS_RSSIEND = 0U;
	NRF_RADIO-&amp;gt;TASKS_RSSISTART = 1U;
  while(NRF_RADIO-&amp;gt;EVENTS_RSSIEND == 0U)
	{
}
	
	rssi = NRF_RADIO-&amp;gt;RSSISAMPLE;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When the two device is so closed. The rssi result is -72dB. And sometimes  I get -82dB. I find the result is not right, it is too small.
Is my code right or not? or should I consider the clock? As you known, in this example the clock is 16MHZ.
We are doing a great project, please give your advice or solution soon.
Many thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to translate the result from register RSSISAMPLE to the real RSSI ?</title><link>https://devzone.nordicsemi.com/thread/1648?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2013 06:32:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18fd755b-7d7f-48c0-8802-2e8e13a85b96</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is pretty clearly stated in the nRF51 Reference Manual:
&amp;quot;The value of this register is read as a positive value while the actual received signal strength is a negative value. Actual received signal strength is as follows:
Received signal strength = -A [dBm]&amp;quot;&lt;/p&gt;
&lt;p&gt;This means that your 0x50 = 80, to be read as -80 dBm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>