<?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>Channel Sounding with Two Antennas: Data Dropouts after Adding Second Path (2 antenna)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123409/channel-sounding-with-two-antennas-data-dropouts-after-adding-second-path-2-antenna</link><description>Hi, can you please help me with configuring ras_initiator for channel sounding when using two antennas on the initiator and one antenna on the reflector ? I am starting from the basic ras example, where only one antenna path (A1_B1) is used by default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Aug 2025 16:20:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123409/channel-sounding-with-two-antennas-data-dropouts-after-adding-second-path-2-antenna" /><item><title>RE: Channel Sounding with Two Antennas: Data Dropouts after Adding Second Path (2 antenna)</title><link>https://devzone.nordicsemi.com/thread/544829?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 16:20:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4864f8ce-a4c5-4e4b-955d-066a6b045b12</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;There is a ring buffer in the ranging service that contains step data. If it gets new data locally, it overwrites the old and can produce this log message. This is all open source in the SDK, and if you want to look more closely at what&amp;#39;s going on, you can simply enable debug logs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems you are clearly not using the samples out of the box since you&amp;#39;ve made all the modifications. So I recommend you start by trying the things I suggested above.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Channel Sounding with Two Antennas: Data Dropouts after Adding Second Path (2 antenna)</title><link>https://devzone.nordicsemi.com/thread/544737?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 08:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a4b45fa-111d-4c9c-8c8b-f8cc86f842a6</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;br /&gt;&lt;br /&gt;Thank you.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/123409/channel-sounding-with-two-antennas-data-dropouts-after-adding-second-path-2-antenna/544468"]Is it possible to test with the nRF54L15DK?[/quote]
&lt;p&gt;If I know there is only 1 antenna, but for comparison it would be OK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/123409/channel-sounding-with-two-antennas-data-dropouts-after-adding-second-path-2-antenna/544468"] If there isn&amp;#39;t enough time to transfer the data before more data is produced, the new data will overwrite the old.[/quote]
&lt;p&gt;What do you mean?&amp;nbsp;Isn&amp;#39;t it more likely that due to e.g. bad RF conditions (interference, high latency, poorly designed HW..), it is not possible to read the step data from the reflector? Or I don&amp;#39;t understand what you mean by short time - because my code is practically the same as your example ras_initiator - it doesn&amp;#39;t do anything extra, so the CPU can&amp;#39;t be extra busy because of me.&lt;br /&gt;&lt;br /&gt;...but it is quite possible that the problem is with the custom HW, and the RF conditions are not completely ensured correctly&lt;br /&gt;&lt;br /&gt;Thanks for now, I&amp;#39;ll keep testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Channel Sounding with Two Antennas: Data Dropouts after Adding Second Path (2 antenna)</title><link>https://devzone.nordicsemi.com/thread/544468?ContentTypeID=1</link><pubDate>Mon, 04 Aug 2025 13:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7115b80e-9290-4143-9379-b82ddd9eb9c0</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you share the rest of your parameters? Adding multiple antenna paths to channel sounding means the controller produces more data, which in turn means the devices need to exchange more data over GATT to produce distance estimates. If there isn&amp;#39;t enough time to transfer the data before more data is produced, the new data will overwrite the old.&lt;/p&gt;
&lt;p&gt;Here are two things to try:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;increasing the procedure interval&lt;/li&gt;
&lt;li&gt;increasing CONFIG_BT_RAS_RRSP_RD_BUFFERS_PER_CONN&lt;/li&gt;
&lt;/ul&gt;
[quote user=""]but not sure how it works - could not find the source code where the RF switch is swithed, is that correct?[/quote]
&lt;p&gt;&lt;span&gt;We&amp;#39;ve decided to make this part of the controller open-source, here: &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/95a5a55be764e2dc756a43ce7b485ac3a978d65e/subsys/bluetooth/controller/cs_antenna_switch.c#l4" href="https://github.com/nrfconnect/sdk-nrf/blob/95a5a55be764e2dc756a43ce7b485ac3a978d65e/subsys/bluetooth/controller/cs_antenna_switch.c#L4" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/95a5a55be764e2dc756a43ce7b485ac3a978d65e/subsys/bluetooth/controller/cs_antenna_switch.c#L4&lt;/a&gt;,&amp;nbsp;but it looks like you&amp;#39;re already using it correctly, so no need to look at the code.&lt;/span&gt;&lt;/p&gt;
[quote user="witc"]My hardware is a custom board and HOLYIOT-24005 with nRF54L15 – both behave almost the same.[/quote]
&lt;p&gt;Is it possible to test with the nRF54L15DK?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Channel Sounding with Two Antennas: Data Dropouts after Adding Second Path (2 antenna)</title><link>https://devzone.nordicsemi.com/thread/544353?ContentTypeID=1</link><pubDate>Fri, 01 Aug 2025 14:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:691ed6ee-20ed-4919-ad21-963b9ea991e9</guid><dc:creator>witc</dc:creator><description>&lt;p&gt;Actually, the results do not come in a regular interval &amp;ndash; sometimes there are long gaps and it is not stable at all. &lt;strong&gt;Even with only one antenna&lt;/strong&gt;, it maybe works a bit better at the start, but after a few seconds the results become even more unstable. Even though I think my hardware is good, at a distance of 1 meter the results often drop out and are not stable. I set the CS parameters mostly by guessing, because I do not know how to make it more robust, but I did not see any big improvement compared to the default settings. My hardware is a custom board and HOLYIOT-24005 with nRF54L15 &amp;ndash; both behave almost the same.&lt;br /&gt;I use ncs 3.0.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>