<?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 data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124809/channel-data-is-zero-in-pct-iq-data-extraction-distance-estimation</link><description>0 28 28.000000 23.000000 26.000000 -8.000000 
 
 
 0 29 22.500000 16.500000 14.000000 -15.500000 
 
 
 0 30 0.000000 0.000000 0.000000 0.000000 
 
 
 
 0 31 0.000000 0.000000 0.000000 0.000000 
 
 
 
 0 32 -10.000000 23.000000 -12.000000 16.000000 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Oct 2025 14:43:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124809/channel-data-is-zero-in-pct-iq-data-extraction-distance-estimation" /><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/551465?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 14:43:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be43832-f013-432d-ae83-8bcdc92e90eb</guid><dc:creator>parvez</dc:creator><description>&lt;p&gt;Thank you Amanda For your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/551429?ContentTypeID=1</link><pubDate>Tue, 14 Oct 2025 12:31:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f5685e-19a8-468c-8dc2-1351a299f6e6</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;1.&amp;nbsp;&lt;span&gt;procedure_count=0 indicates that CS procedures shall continue to be invoked until&amp;nbsp;terminated.&lt;br /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a. Not sure what you mean by &lt;i&gt;subset&lt;/i&gt; here, the core spec defines CS steps, subevents, events, and procedures. Please check out the section on Time Division here &lt;a title="https://www.bluetooth.com/channel-sounding-tech-overview/" href="https://www.bluetooth.com/channel-sounding-tech-overview/" rel="noopener noreferrer" target="_blank"&gt;https://www.bluetooth.com/channel-sounding-tech-overview/&lt;/a&gt;. The default configuration in the rreq sample is to use 1 event and 1 subevent per procedure (at least on ncs-main), and each procedure will contain 72 main mode (mode 2) steps, and a somewhat random number of sub mode (mode 1 steps). The number of sub mode steps depends on this configuration &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/src/main.c#l706-l707" href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/src/main.c#L706-L707" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/sr…&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;&lt;span&gt;The initiator sample produces one new distance estimate per procedure. Note that a median filter with a moving window of 9 distance estimates is applied before the estimate is logged. If there is more than one IQ measurement on the same channel in the same procedure, the IQs are averaged here &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/cs_de/cs_de.c#l306-l315" href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/cs_de/cs_de.c#L306-L315" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/bluetooth/cs_de/cs_de.c#L306-L315&lt;/a&gt;. But not that this will not happen in the default configuration of the sample since we use channel_map_repetition=1 here &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/src/main.c#l713" href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/src/main.c#L713" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/samples/bluetooth/channel_sounding_ras_initiator/sr…&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;5.&amp;nbsp;&lt;span&gt;The initiator sample uses one procedure with IQ measurements (step mode 2 data) from all 72 allowed CS channels to calculate one distance estimate. It is possible that more samples per channel could yield better accuracy per estimate, but it would be at the cost of reduced frequency of new estimates.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;6.&amp;nbsp;&lt;span&gt;Each mode-2 (or mode-3) step would take measurements on all of the enabled antenna paths, in a different random sequence for each step. This random sequence is given by the CS-DRBG. Some information can be found in the tech overview &lt;a title="https://www.bluetooth.com/channel-sounding-tech-overview/" href="https://www.bluetooth.com/channel-sounding-tech-overview/" rel="noopener noreferrer" target="_blank"&gt;https://www.bluetooth.com/channel-sounding-tech-overview/&lt;/a&gt;, section 3.5.3.3 Mode-2. And of course, all the details are in Bluetooth Core Spec &amp;gt;= 6.0.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/551241?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2025 09:33:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:352bca9e-3f59-4d73-8655-9d8326c1fd5b</guid><dc:creator>parvez</dc:creator><description>&lt;p&gt;Thank you Amanda. CAn I get the answers for the rest of the questions:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Procedure Count = 0 Behaviour: When the Procedure Count is set to zero (which typically implies an internal/default count):
&lt;ol&gt;
&lt;li&gt;&amp;nbsp;On what basis does the system determine that 6, 7, or 8 subsets of 72 channel data will be collected?&lt;/li&gt;
&lt;li&gt;Can we modify this behaviour (while keeping the Procedure Count at 0) to collect a specific, user-defined number of 72-channel subsets?&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="4"&gt;
&lt;li&gt;Distance Estimation with Procedure Count = 0: Given the random collection of 6, 7, or 8 subsets of 72 channels when Procedure Count = 0:
&lt;ol&gt;
&lt;li&gt;Averaging Method: Is the distance estimated from each individual I/Q subset and then those distance estimates are averaged?&lt;/li&gt;
&lt;li&gt;. I/Q Averaging: Or are the I/Q values themselves averaged across all collected subsets, and then the final distance is calculated from the single resulting average I/Q set?&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="5"&gt;
&lt;li&gt;What is the minimum number of 72-channel I/Q data sets typically required to achieve a specified level of accuracy for the estimated distance?&lt;/li&gt;
&lt;li&gt;Antenna Switching Data Acquisition: In a multiple antenna setup using antenna switching (e.g., an antenna array):
&lt;ol&gt;
&lt;li&gt;Please describe the data collection sequence in terms of steps and sub-events.&lt;/li&gt;
&lt;li&gt;Specifically, is the full 72-channel I/Q data set collected for Antenna Path 1 before switching to Antenna Path 2, or is the I/Q data collected for different antenna paths simultaneously or interleaved during the sub-events?&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/551011?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 12:32:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72620277-5890-43da-8e7f-037f1a908a3f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;If you are looking at the IQ values in the cs_de_report_t, our guess is that you are hitting this condition &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/v3.1.0/subsys/bluetooth/cs_de/cs_de.c#l315-l320" href="https://github.com/nrfconnect/sdk-nrf/blob/v3.1.0/subsys/bluetooth/cs_de/cs_de.c#L315-L320" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v3.1.0/subsys/bluetooth/cs_de/cs_de.c#L315-L320&lt;/a&gt; for some channels. This means that the controller believes the measurement on that channel was not of good quality, due to e.g. interference, and the current solution in cs_de.c is to ignore the measurement on that channel, leaving the IQ value at 0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can remove the above linked condition if you think that would suit your needs better, &amp;nbsp;at your own risk. &amp;nbsp;&lt;/p&gt;
[quote user="parvez"]For a multiple antenna&amp;nbsp; setup by using&amp;nbsp;&lt;span&gt;unmodified samples I was uanbel toestablish the connection. I used to get the errors like.&lt;/span&gt;[/quote]
&lt;p&gt;Check out&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/123045/channel-sounding---2-antennas-configuration/542914"&gt;this post.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/550928?ContentTypeID=1</link><pubDate>Wed, 08 Oct 2025 14:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98b0e2b6-2441-45ed-8ac7-f799c71966f0</guid><dc:creator>parvez</dc:creator><description>&lt;p&gt;Hi Amanda, I am using&amp;nbsp; ncs - v3.1.0, toolchain also 3.1.0 for multiple antenna setup and 3.0.0 for single antenna setup,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;for 1 antennas at transmitter and 1 antenna at the reflector, i used the unmodified samples.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759921489373v1.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759921505879v2.png" /&gt;&lt;br /&gt;&lt;br /&gt;I had perfromed experiment with 1 meter cable and I observed the data missing as shown below&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759932052259v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I performed the same experiment with external antenna with 1m distance between initiator and rerflector. I observed some missed samples in PCT data.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759932445414v5.png" /&gt;&lt;br /&gt;&lt;br /&gt;In every case of external antenna use, I used to get zero PCT values.&lt;br /&gt;&lt;br /&gt;I tried with in built PCB antennas, I observed the same behavior. You can see channel 6 data is completely zero. The same set of unmodified samples and the configuration which is provided in the SDK samples. I used NCS version 3.0.0&lt;br /&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/pastedimage1760003378039v1.png" alt=" " /&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/pastedimage1760003471962v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;1. For a multiple antenna&amp;nbsp; setup by using&amp;nbsp;&lt;span&gt;unmodified samples I was uanbel toestablish the connection. I used to get the errors like. &lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1759932623920v8.png" /&gt;&lt;br /&gt;submodes mismatch and consecutive series of all zeros etc. Hence I tried play with the parameters to draw the PCT values with estimated distance.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: channel data is zero in PCT IQ data extraction, distance estimation,</title><link>https://devzone.nordicsemi.com/thread/550831?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 15:11:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e75a7903-7408-461f-926a-f4a36cd8ea46</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What NCS version are you using?&lt;/p&gt;
&lt;p&gt;What do you modify in the samples, only the parameters of&amp;nbsp;procedure_params and&amp;nbsp;config_params?&lt;/p&gt;
&lt;p&gt;Are you able to get the expected results of the unmodified samples?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>