<?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>Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39931/radio-notification-and-tprep-time</link><description>Hello, 
 I want to use Radio Notification before connection event (ACTIVE signal). My routine takes 4 ms but Tprep time have huge range - from 167 us up to 1550 us, so even Tndist = 5500 us can be insufficient. Processed data need to be send in incoming</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Nov 2018 14:20:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39931/radio-notification-and-tprep-time" /><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/157120?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 14:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d781c00-3ac0-4d2c-b163-c159bb3dbc91</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;Clear now. Thank you :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/157113?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 14:06:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c42c026f-5d0b-4795-b4ab-06f7dab73706</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I was told it was relevant for older versions of the SD and that is should have been updated. Also I think the wording is a bit wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/157101?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 13:49:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7987bff-4c21-40c0-8c83-2045ec7beacd</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;So why Nordic has placed this information in SDS file? It&amp;#39;s for future use and forward compatibility? When it plays a role?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/157099?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 13:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a5dbc58-fd1c-499e-adef-07bf0665e8df</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;As far as I know the 165 µs of processing will happen just before the connection event, not at 1542µs, even if you get interrupted at this time. Data should be sent in the following event as long as it is placed in the buffers before 167µs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/156477?ContentTypeID=1</link><pubDate>Thu, 08 Nov 2018 11:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec7ef2b-3d7f-40b6-926c-c249268ff1b8</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;Thank you for link. I was looking for SD in SDK package.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s clear but in the worst case P activity will interrupt processing 42 us before end (5500 signal distance minus 4000 processing time minus 1542 worst P activity start time), after 165 us processing will end but data will be send in the next connection event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/155971?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 13:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:403654ab-6a18-4eef-b6bd-7f84ffb933c4</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You can find s132 v4.0.5 on the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832"&gt;nRF52832 product page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Most likely you can use the active event. As you see the time the sd uses in the higher priority interrupt is 165 µs (Tp). The note that says: &lt;em&gt;&amp;quot;&lt;span&gt;Note:&lt;/span&gt; All packet data to send in an event should be sent to the stack t&lt;sub&gt;prep&lt;/sub&gt; before the Radio Event starts.&amp;quot;&lt;/em&gt; is valid if Tprep is 167µs, but the SD will not block the application for 1550 µs before the event. So you should be able to finish processing and place the packet in the tx buffers in your case.&lt;/p&gt;
&lt;p&gt;Note that if you decide to use the nActive event the connection event length could vary, depending on the number of packets being sent and if you use Connection event length extension, so you probably should use the active event in addition check the length of the connection event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/155724?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 10:54:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c81fd5b5-3f93-42e4-8895-821cf3281c5e</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My device is measuring in real time user activity. Connection interval is 200 ms and I need to sample analog signal just before connection event to minimize input lag. Measured data are visualized on the LCD panel and 200 ms delay is noticeable. Using nActive and timer is solution. &lt;br /&gt;Where I can find sd 4.0.5? SDK 13.1.0 comes with 4.0.2, SDK 14 comes with sd 5.0.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Notification and Tprep time.</title><link>https://devzone.nordicsemi.com/thread/155617?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 15:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8e429e9-6eb3-419b-b15a-f10e42b6aa53</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First I would recommend updating to sd 4.0.5. I am still waiting for feedback on weather Tprep can be estimated. While waiting, I assume you are aware you can also get an nActive event after the connection event and use that to prepare for the next event? is that something that could work for you? Worst case you could also start a timer on the active that you use to run your routine a bit earlier than what you can achive using only the active signal. Just use the connection interval minus the time needed to run your routine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>