<?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 is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123989/how-is-the-period-for-channel-sounding-results-determined</link><description>Hi, 
 I have run the example in ncs 3.1.0 for CS_RAS_Initiator and compared to the older version ncs 3.0.1, there is a new flag called realtime_rd . Thanks to this, I can get new distance measurement data every 250 ms, which is great. 
 I took this example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Oct 2025 22:13:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123989/how-is-the-period-for-channel-sounding-results-determined" /><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/550641?ContentTypeID=1</link><pubDate>Sat, 04 Oct 2025 22:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21cc94bc-aabc-4daf-991e-ec853d9f03fb</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The mystery of slower response when getting new CS data in my code compared to the original is solved.&lt;br /&gt; I had different connection parameters for the BLE link &amp;ndash; that was the whole reason.&lt;/p&gt;
&lt;p&gt;I used:&lt;br /&gt; &lt;code&gt;&lt;pre class="ui-code" data-mode="text"&gt;.conn_param = BT_LE_CONN_PARAM(80, 120, 1, 100), // 50-75 ms interval, slave latency 1, timeout 1 s&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The original uses:&lt;br /&gt; &lt;code&gt;&lt;pre class="ui-code" data-mode="text"&gt;.conn_param = BT_LE_CONN_PARAM_DEFAULT&lt;/pre&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div id="gtx-anchor" style="height:13.8182px;left:8px;position:absolute;top:176.455px;width:251.716px;"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble gtx-bubble" style="left:119px;top:6px;"&gt;
&lt;div id="bubble-4" class="jfk-bubble-content-id"&gt;
&lt;div id="gtx-host" style="max-width:400px;"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowdown" style="left:126px;"&gt;
&lt;div class="jfk-bubble-arrowimplbefore"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrowimplafter"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/548028?ContentTypeID=1</link><pubDate>Mon, 08 Sep 2025 08:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19caafe5-d50b-4c80-964b-5039cbc9b9e1</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
[quote user="witc"]I am using VSCode - creating app from sample - see the picture. I am using ncs 3.1.0. Or do you suggest using a different example? Did you mean github nrfconnect/sdk-nrf?&lt;br /&gt;[/quote]
&lt;p&gt;No those are the right ones, which you can tell by them having nrf in the path names. Those are made directly from nordic, with nRFs in mind. There are &lt;a href="https://docs.zephyrproject.org/latest/samples/bluetooth/channel_sounding/README.html"&gt;other ones under &amp;#39;zephyr&amp;#39; that&lt;/a&gt; might also be made by nordic, and work for nordic devices, but might not be completely &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/channel_sounding.html#support_status"&gt;supported &lt;/a&gt;or tested.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So as this seemingly works in the default samples it might be an idea to slowly introduce your own code to see where something ends up delaying the measurements. Though I am surprised that anything would make a difference here besides longer BLE related tasks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547897?ContentTypeID=1</link><pubDate>Fri, 05 Sep 2025 11:35:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb9ca1cf-38f2-4b5a-9356-c5b86ffb4b53</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Sorry about the wait Jan&lt;/p&gt;
&lt;p&gt;Unfortunately I have to get back to you on this next week.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547814?ContentTypeID=1</link><pubDate>Thu, 04 Sep 2025 20:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75d90a85-f4b3-4afe-9e50-e57523dbe89a</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/elfving"&gt;Elfving&lt;/a&gt;&amp;nbsp; do you have any suggestion for me? &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547416?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 08:33:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9601134-fa54-4140-86ca-78a10e5260a2</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;I am using VSCode - creating app from sample - see the picture. I am using ncs 3.1.0. Or do you suggest using a different example? Did you mean github nrfconnect/sdk-nrf?&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/channel_sounding_ras_initiator"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/samples/bluetooth/channel_sounding_ras_initiator&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1756801740907v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="103347" url="~/f/nordic-q-a/123989/how-is-the-period-for-channel-sounding-results-determined/547411"]Could you check if you do see this in the default samples as well?[/quote]
&lt;p&gt;Default samples: When I edit - replace in the main &lt;em&gt;k_sleep(K_MSEC(5000))&amp;nbsp;&lt;/em&gt;by a semaphor - that signals the new ranging data are ready - I get it (new distance measurement) every 250 ms&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547411?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 08:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:708dff63-7782-4c9c-a71e-f05eb1670e81</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;That might be an idea, though let&amp;#39;s not go to that step yet. Could you check if you do see this in the default samples as well?&lt;/p&gt;
&lt;p&gt;And what samples are you referring to here? The ones from the NRF repo, or the zephyr ones?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547398?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 06:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fad7b9-3073-43df-a198-e4d4941e9d09</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Hello, right now I really do not know what could be causing it - from BLE I only use channel sounding - as it is in the ras initiator example. I will probably have to make the whole project again - start from the ras example and slowly add my code to it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How is the period for channel sounding results determined?</title><link>https://devzone.nordicsemi.com/thread/547212?ContentTypeID=1</link><pubDate>Fri, 29 Aug 2025 14:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e19d9502-89b2-47ad-b7ae-85d5cee540f2</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I know at least that previous versions of CS (not sure if this has been addressed in 3.1) where a bit vulnerable to scheduling conflicts - so even though you might be doing a lot, if you had some BLE activity at the wrong time it might be enough to block something that SDC would need to do a CS measurement. Though I find it odd that you get regular measurements every 750ms if that was the case. Is the other minimal actions you are doing the nRF semi-regular as well? Are you seeing anything on the logs, or on the thread viewer in VSC? Could be that there is something blocking that is showing up there.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>