<?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>Time from power on to connect with master / slave</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4451/time-from-power-on-to-connect-with-master-slave</link><description>Hello,
I am new to nRF51822, and trying to make a simple application for master - slave data transfer.
I want to know how Much time passes from the start of the device until the connection to the master \ slave. 
 What are possible solutions to this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Nov 2014 15:30:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4451/time-from-power-on-to-connect-with-master-slave" /><item><title>RE: Time from power on to connect with master / slave</title><link>https://devzone.nordicsemi.com/thread/15818?ContentTypeID=1</link><pubDate>Thu, 13 Nov 2014 15:30:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97428419-9535-4276-9e2f-e82c268a4fa2</guid><dc:creator>John</dc:creator><description>&lt;p&gt;If I am understanding your question properly, you want to know how much time elapses from the time the slave starts running to when a master connects to it. One way to do it would be to start the Real Time Counter (RTC) when the slave initializes, set a breakpoint where a connection occurs and check the counter value in the RTC in the debugger.&lt;/p&gt;
&lt;p&gt;Even with no prescaler it takes 512 seconds for the COUNTER to roll over if I recall correctly. The only tricky thing would be if the RTC continues to run when a breakpoint is hit. In which case, stash the counter into a global variable and check that with the debugger instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>