<?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>nRf52 communication problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17828/nrf52-communication-problem</link><description>Hi, 
 I working on nRF52 series development boards communication. I am using ESB library for data transfer. I am able to transfer the data between two microcontrollers. Now I am using internal temperature sensor so that I can transfer the temperature</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Nov 2016 10:29:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17828/nrf52-communication-problem" /><item><title>RE: nRf52 communication problem</title><link>https://devzone.nordicsemi.com/thread/68692?ContentTypeID=1</link><pubDate>Mon, 21 Nov 2016 10:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c912c23-bb77-4c66-b1c6-d5b3ce3aee04</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In &lt;code&gt;NRF_ESB_CREATE_PAYLOAD(..)&lt;/code&gt; the first argument needs to be the pipe. You are using pipe 0, so you need NRF_ESB_CREATE_PAYLOAD(0,0x31);&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You are not starting the temperature measurement again after you stop it. You need to place the &lt;code&gt;NRF_TEMP-&amp;gt;TASKS_START=1;&lt;/code&gt; at the start of the first while-loop in main.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to send the temperature every 15 seconds, I recommend you to use a app timer instead of the RTC directly. Take a look at e.g. the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/nrf_dev_timer_example.html?cp=4_0_0_4_5_35"&gt;Timer example&lt;/a&gt;. Here you can set the &lt;code&gt;time_ms&lt;/code&gt; in main.c to 15000 to get the interrupt to trigger every 15 second. Then place the &lt;code&gt;nrf_esb_write_payload(&amp;amp;tx_payload)&lt;/code&gt; in the interrupt handler.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>