<?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>The control of executing radio notifications on nrf51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14447/the-control-of-executing-radio-notifications-on-nrf51822</link><description>Hi, 
 I would like to make some measurements via I2C in radio_notification_evt_handler. Unfortunately, after executing a random number of measurements, the advertising stops, as well as the measurements. I suspect that the reason for this could be a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jun 2016 13:50:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14447/the-control-of-executing-radio-notifications-on-nrf51822" /><item><title>RE: The control of executing radio notifications on nrf51822</title><link>https://devzone.nordicsemi.com/thread/55183?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 13:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b7169f2-680b-4269-9fd6-a30b81a29689</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Do your I2C functions in the topmost code example use the HFCLK? I am having a hard time seeing how you would be able to time an event that is a maximum of 5500 µs ~= 5.5 ms long by eye. Either way if the measurements take that long to complete they cannot be finished wholly in one radio notification, could you provide more information about your sensor?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The control of executing radio notifications on nrf51822</title><link>https://devzone.nordicsemi.com/thread/55182?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 13:27:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d13ca0b-0f77-4c50-b151-0b5fe84994a8</guid><dc:creator>AndrzejB</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I use radio notifications because additional timer will have a negative impact on the energy efficiency.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I timed the code only in organoleptic way, without any dedicated equipment (only stopwatch)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I2C in main is executing in similar time as in timer_timeout_handler, that is short blink of LED.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Sorry for non professional description of the time period, as soon as I have access to logic analyzer I will precise this. But even now it is obvious that execution times of code in radio notification are changing between next cycles and in some of them this times are longer than 1 second, even without i2c measurements&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The control of executing radio notifications on nrf51822</title><link>https://devzone.nordicsemi.com/thread/55181?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2016 12:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d44c162d-8c08-48da-9de1-c0c3a24c9b01</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you timed the code by probing the LED with an oscilloscope or signal analyzer? How does the I2C measurement perform when run from main?&lt;/p&gt;
&lt;p&gt;Is there any reason you have to use notifications, is regular measurements with a timer an alternative?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>