<?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>Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103599/cancelled-timeslots-in-mpsl-since-upgrade-to-nrf-connect-sdk-v2-4-2</link><description>Hello, 
 previously I was using the nRF Connect SDK v2.3.0. I have an application that is using the MPSL library where I am requesting a new earliest timeslot (with a duration of 3 ms) about every 250 ms. As the used BLE connection interval is 20 ms I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Sep 2023 06:13:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103599/cancelled-timeslots-in-mpsl-since-upgrade-to-nrf-connect-sdk-v2-4-2" /><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/446178?ContentTypeID=1</link><pubDate>Fri, 15 Sep 2023 06:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d615155-21a7-468e-ad57-67138215764b</guid><dc:creator>B3rni</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Hieu,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks for your further investigation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The&amp;nbsp;behavior is for my application not 100% as intended. My plan was to stick to the low priority and probably just switch to the higher priority when I detect several cancelled or blocked timeslots in the application (in case of such a high throughput&amp;nbsp;scenario). But in general it is fine for me. At least I now know which behavior to expect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is just a pity that (at least from my opinion) the low priority timeslots are not that useful anymore when most of them are likely to being cancelled even when just one BLE connection is used where there would be enough room for the timeslots and the timeout&amp;nbsp;also being set high enough too reach such a spot in between BLE events.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bernhard&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/445901?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2023 15:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:808129b8-3b8b-47b4-bd8e-89165a10515d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Bernhard,&lt;/p&gt;
&lt;p&gt;A SoftDevice Controller engineer confirm that there was a change in the way connections are scheduled in order to make them more cooperative with other roles. This resulted in the&amp;nbsp;change in timeslot request behavior you observed.&lt;/p&gt;
&lt;p&gt;The BLE packets critical to maintaining the BLE link should still have a higher priority, so the reliability of the connection shouldn&amp;#39;t be a concern. &lt;br /&gt;However, during large data transfer scenario, non-critical packets will have to share the time slots with the ones the application requested, and you might see a lower throughput.&lt;/p&gt;
&lt;p&gt;That should be the only impact towards BLE when you request timeslot with high priority. I hope that isn&amp;#39;t a concern for you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/445640?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 12:54:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6877ffdc-4204-488f-bfff-ae26805ff131</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello Bernhard,&lt;/p&gt;
[quote user="B3rni"]Or&amp;nbsp;does the order of the list elements also indicate some kind of sub priority within one priority group?[/quote]
&lt;p&gt;No there is no sub priority within each group. However, you can see that BLE events critical for maintaining a BLE connections are all already put in higher priority than that.&lt;/p&gt;
&lt;p&gt;I will check with our&amp;nbsp;SoftDevice Controller team and let me know if they can think of any&amp;nbsp;cause for your issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/445516?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2023 06:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfad259e-51fa-44dd-b6f2-65d40b80870c</guid><dc:creator>B3rni</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Hieu,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks for your reply and your link, this is good to know how the scheduling&amp;nbsp;priorities are. As indicated in the table the high priority timeslot has the same priority as normal BLE activity. So, if possible I would prefer using the normal priority timeslot. Or&amp;nbsp;does the order of the list elements also indicate some kind of sub priority within one priority group?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;I am just using one BLE connection, no other features. The timeout of the timeslot is set to 1 second, so I guess this value also should be high enough.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bernhard&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/445401?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 11:49:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d531b4e3-8b3a-4132-bbe3-714fd6829aca</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello B3rni,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please also let me know:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are you using any BLE features&amp;nbsp;besides the connection?&lt;/li&gt;
&lt;li&gt;What timeout did you use with your MPSL Timeslot request?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cancelled Timeslots in MPSL since upgrade to nRF Connect SDK v2.4.2</title><link>https://devzone.nordicsemi.com/thread/445353?ContentTypeID=1</link><pubDate>Mon, 11 Sep 2023 09:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:695ab177-477b-4dcd-80af-91aa1a30aa0b</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello B3rni,&lt;/p&gt;
[quote user=""]And whether it is correct as derived from my experiments that the SoftDevice still has a higher priority over my high priority timeslot?[/quote]
&lt;p&gt;BLE activities scheduled by the SoftDevice Controller generally always have higher priority than timeslot requested by the application. You can see the priority documented here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.2/nrfxlib/softdevice_controller/doc/scheduling.html#timing-activities-and-priorities"&gt;Scheduling — nrfxlib 2.4.2 documentation (nordicsemi.com)&lt;/a&gt;.&lt;/p&gt;
[quote user=""]Even though using the high priority timeslot seems to fix my problem, I still want to ask whether there has been an (intentional) change to the functionality of the MPSL that causes the described behavior? (I at least did not&amp;nbsp;find&amp;nbsp;something in the release notes.)[/quote]
&lt;p&gt;From the Release Notes, between 2.3.0 and 2.4.2, I can see &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/releases_and_maturity/releases/release-notes-2.4.0.html#bluetooth-le"&gt;a few changes in 2.4.0 regarding BLE&lt;/a&gt;. Is your system just running BLE and your timeslot activities?&amp;nbsp;Let me check internally to see if the changes in 2.4.0 is the reason for your observation.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>