<?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 connection interval timing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106669/how-to-know-connection-interval-timing</link><description>Hi, 
 I have some question about connection interval. 
 I am checking whether the connection interval affects the code operation time while the ble is connected. 
 
 
 
 Is there a way to generate an event every connection interval when the code is operating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Dec 2023 20:50:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106669/how-to-know-connection-interval-timing" /><item><title>RE: How to know connection interval timing?</title><link>https://devzone.nordicsemi.com/thread/460919?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 20:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c17f5ed4-79e7-4f2a-a219-1288a4b3f7b2</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;While there is no event for when the BLE stack is running, you can get events relative to when the radio is activated (and do calculations and/or decisions based on that.) See the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fgroup__ble__radio__notification.html"&gt;Radio Notification Event Handler&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To see what processor usage to expect relative to the radio usage, you can have a look at the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fprocessor_avail_interrupt_latency%2Fble_usage_patterns.html"&gt;Bluetooth Low Energy processor usage patterns&lt;/a&gt; sections of the SoftDevice Specification, and in particular (for your use case) the section on &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsds_s140%2FSDS%2Fs1xx%2Fble_processor_avail_interrupt_latency%2Fble_peripheral_connection_performance.html"&gt;Bluetooth Low Energy peripheral connection processor usage&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>