<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>About timeslot, I want to ask something</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87949/about-timeslot-i-want-to-ask-something</link><description>Hello Nordic engineer, 
 
 I used SDK15.3.0 and nRF52811 
 
 I want to ask three questions, 
 (1) 
 
 Can a session be opened forever? 
 I will frequently use BLE+ESB in my products 
 In my products, very frequent use of BLE+ESB 
 
 (2) 
 
 After the</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 23 May 2022 11:52:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87949/about-timeslot-i-want-to-ask-something" /><item><title>RE: About timeslot, I want to ask something</title><link>https://test-devzone.nordicsemi.com/thread/369005?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 11:52:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d6c287d-5b78-4baf-a25f-8ad9e01ff4f4</guid><dc:creator>user14926</dc:creator><description>[quote user="eric_cheng"]I think I found the priority setting[/quote]
&lt;p&gt;Yes, this is the priority of the timeslot request. It can be set to normal or high.&lt;/p&gt;
[quote user="eric_cheng"]This is to set the priority of&amp;nbsp;BLE?[/quote]
&lt;p&gt;The priority levels used by the softevice is predefined, and cannot be changed. The timing-critical events in the softdevice will always get highest priority. APP_BLE_OBSERVER_PRIO is the priority of the callback in your application where the softdevice events are passed. As the comment says, you should not need to change this priority.&lt;/p&gt;
[quote user="eric_cheng"]&lt;p&gt;The smaller the number, the higher the priority?&lt;/p&gt;
&lt;p&gt;Is there a range of numbers? (maybe 0-3 or 0-5 or other ... ?)&lt;/p&gt;[/quote]
&lt;p&gt;Yes, that is correct. See the softdevice specification for details:&amp;nbsp;&lt;a title="Interrupt priority levels" href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/processor_avail_interrupt_latency/exception_mgmt_sd.html?cp=4_7_0_0_15_1"&gt;Interrupt priority levels&lt;/a&gt;.&lt;/p&gt;
[quote user="eric_cheng"]&lt;p&gt;My project will switch ESB frequently_ TX and ESB_ RX&lt;/p&gt;
&lt;p&gt;Does switching take a little processing time&lt;/p&gt;
&lt;p&gt;Cause some radio data can&amp;#39;t be received in time?&lt;/p&gt;[/quote]
&lt;p&gt;The timing of the radio is given in the RADIO peripheral documentation:&amp;nbsp;&lt;a title="Radio timing" href="https://infocenter.nordicsemi.com/topic/ps_nrf52811/radio.html?cp=4_4_0_5_13_15_7#unique_662725877"&gt;Radio timing&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About timeslot, I want to ask something</title><link>https://test-devzone.nordicsemi.com/thread/368490?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 03:42:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:233527df-921c-499e-b3f7-40d569a63362</guid><dc:creator>user115209</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your&amp;nbsp;reply&lt;/p&gt;
&lt;p&gt;I think I found the priority setting&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;m_timeslot_request.params.earliest.priority    = NRF_RADIO_PRIORITY_NORMAL; // or NRF_RADIO_PRIORITY_HIGH&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In examples \ ble_peripheral \ ble_app_uart&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define APP_BLE_OBSERVER_PRIO           3                                           /**&amp;lt; Application&amp;#39;s BLE observer priority. You shouldn&amp;#39;t need to modify this value. */&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This is to set the priority of&amp;nbsp;BLE?&lt;/p&gt;
&lt;p&gt;The smaller the number, the higher the priority?&lt;/p&gt;
&lt;p&gt;Is there a range of numbers? (maybe 0-3 or 0-5 or other ... ?)&lt;/p&gt;
&lt;p&gt;=====================================================&lt;/p&gt;
&lt;p&gt;I want to ask a question&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/8284.q1.png" /&gt;&lt;/p&gt;
&lt;p&gt;My project will switch ESB frequently_ TX and ESB_ RX&lt;/p&gt;
&lt;p&gt;Does switching take a little processing time&lt;/p&gt;
&lt;p&gt;Cause some radio data can&amp;#39;t be received in time?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank&amp;nbsp;you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About timeslot, I want to ask something</title><link>https://test-devzone.nordicsemi.com/thread/368386?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 13:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cd39f36-b546-403a-b54f-793bb4423e06</guid><dc:creator>user14926</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) Yes, the sessions are like init and uninit of the timeslots.&lt;/p&gt;
&lt;p&gt;2) Yes, the range for one request is 100us-100ms, but you can request to extend the timeslot up to 128s. See&amp;nbsp;&lt;a title="Timeslot length" href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/concurrent_multiprotocol_tsl_api/tsl_length.html?cp=4_7_0_0_8_1_2"&gt;Timeslot length&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;3) No, the SoftDevice scheduler will only grant the timeslot request if the timeslot can be scheduled between other tasks, see&amp;nbsp;&lt;a title="Scheduling" href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/concurrent_multiprotocol_tsl_api/scheduling.html?cp=4_7_0_0_8_1_3"&gt;Scheduling&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="SoftDevice timing-activities and priorities" href="https://infocenter.nordicsemi.com/topic/sds_s112/SDS/s1xx/multilink_scheduling/priorities_and_events_intro.html?cp=4_7_0_0_14_0"&gt;SoftDevice timing-activities and priorities&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>