<?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 know when radio is active without interrupts</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13142/how-to-know-when-radio-is-active-without-interrupts</link><description>Hi, 
 I&amp;#39;m using the nrf52 and in my application I need to sample a sensor after applying an IR pulse; the pulse length influences the sampling thus cannot be disturbed by the radio. 
 I know there is the &amp;quot;radio notification&amp;quot; feature that informs the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Apr 2016 12:42:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13142/how-to-know-when-radio-is-active-without-interrupts" /><item><title>RE: How to know when radio is active without interrupts</title><link>https://devzone.nordicsemi.com/thread/50098?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2016 12:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26dff394-4a9d-407f-b361-6f0d90e614ec</guid><dc:creator>stefano</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;actually the pulse has to be done at 30 Hz, as much precise as possible.&lt;/p&gt;
&lt;p&gt;As I said I tried with radio notifications, but the problem is that the interrupt could happen in the middle of the pulse, thus making the pulse longer with a consequently &amp;quot;outlier&amp;quot; sampled value.&lt;/p&gt;
&lt;p&gt;Now I implemented the timeslot API, but I get a jitter of about 3-4 ms when the timeslot cannot be given and this is a bit too much but I would accept this solution at the moment.&lt;/p&gt;
&lt;p&gt;Anyway if someone has some better solution it is welcome.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to know when radio is active without interrupts</title><link>https://devzone.nordicsemi.com/thread/50097?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 09:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68b6b256-0e69-430b-bd4e-f28c32a686e1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Stefano,&lt;/p&gt;
&lt;p&gt;Is there any timing requirement for the IR pulse ? Like it has to be executed at a specific time ?&lt;/p&gt;
&lt;p&gt;If not, you can either use the radio notification to set a flag. And in the mainloop or in the scheduler you can check the flag if it telling that the radio is switched from active from inactive, then you know that you have sometime to do IR pulse before the radio is active again.
Or you can use the timeslot API to request the Softdevice to give the application a timeslot that there will be no Radio activity in that period.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>