<?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>distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95092/distance-tool-box---iq-data-and-hopping-sequence</link><description>Hi, 
 I am trying to get IQ data from nrf_dm_iq_tones_t and hopping sequence from nrf_dm_get_hopping_sequence with some clues from 
 
 I can see data but when I sort the data with frequency index, it doesn&amp;#39;t seem to be linear for both local and remote</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Mar 2025 14:42:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95092/distance-tool-box---iq-data-and-hopping-sequence" /><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/527877?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 14:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51db373d-0399-404a-b4a5-1840a17af091</guid><dc:creator>RachelK</dc:creator><description>&lt;p&gt;Thank you for your response! This makes it much more clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/527875?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 14:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d6abc7-086a-4e85-aa84-abe1aeec44c3</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;That would make sense to me.&amp;nbsp;I just checked with our NDT team, and yes - the NDT does use more than 40, 80 might be correct. NDT is a proprietary solution after all, and the HW does allow access to more than what BT SIG specifies, so there is no reason to avoid using more channels.&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: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/527866?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 14:09:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf3f6fa-1787-4f67-8052-bccda7e15f37</guid><dc:creator>RachelK</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;I did an inverse Fast Fourier Transformation both over all channels ranging from 2404 to 2478 MHz as well as over all even channels in this range (which should be the BLE channels). Strangely enough I get a significant better results if I perform an IFFT over all 80 channels. Do you have any idea why?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rachel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/527816?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 11:22:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a11355-2c66-4f25-ab5b-e40e15f7abc8</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Rachel,&lt;/p&gt;
[quote user="RachelK"] I have been able to extract the hopping sequence with&amp;nbsp;nrf_dm_get_hopping_sequence() when building the application on the network core.&amp;nbsp;[/quote]
&lt;p&gt;Glad to hear it! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
[quote user="RachelK"]&lt;p&gt;I have one more question, that might seem obvious but unclear to me, but why is the size of the IQ data 80 instead of 40, given that BLE only uses 40 frequency channels?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/111613/why-rf_test-examples-have-0-to-80-channels/486309"&gt;I think this is for the same reason mentioned in this previous case.&lt;/a&gt;&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: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/527807?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 10:37:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fae55f0-9492-49ba-a172-7c31fd93701c</guid><dc:creator>RachelK</dc:creator><description>&lt;p&gt;Hello Elfving,&lt;/p&gt;
&lt;p&gt;Thank you for your response. I have been able to extract the hopping sequence with&amp;nbsp;nrf_dm_get_hopping_sequence() when building the application on the network core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have one more question, that might seem obvious but unclear to me, but why is the size of the IQ data 80 instead of 40, given that BLE only uses 40 frequency channels?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Rachel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/521352?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 15:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:901c05aa-bfa8-4046-9879-95d58862860e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Rachel,&lt;/p&gt;
&lt;p&gt;I am not sure if we have an example of it in use, but you can atleast have a &lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/main/nrf_dm/include/nrf_dm.h#L356"&gt;look here.&lt;/a&gt;&amp;nbsp;Are you getting any errors?&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: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/520412?ContentTypeID=1</link><pubDate>Tue, 28 Jan 2025 15:21:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bbec641-3dbc-4fd9-8442-8b18e61de4b4</guid><dc:creator>RachelK</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;did you retrieve the hopping sequence? I am able to get the IQ data, but I&amp;nbsp;cannot figure out how to run the function nrf_dm_get_hopping_sequence to get the hopping sequence.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Rachel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/403323?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2023 09:10:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfcef31e-b891-4fa1-86cd-209656cac2bc</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again, and thank you for your patience over the Holidays.&lt;/p&gt;
[quote user=""]&lt;p&gt;1. The IQ data array size is 80 and the hopping sequence array size is 75 then how can I match them?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;As you&amp;#39;ve correctly deduced, channels 0-3 and 79 are not used and reported as 0.&amp;nbsp;&lt;span&gt;The IQ data is reported ordered, meaning the each entry in the array is reporting the corresponding frequency (2400 + index MHz).&amp;nbsp;&lt;/span&gt;The first measurement that is reported at index 4 corresponds to 2404 MHz and the last one that is reported at index 78 corresponds to 2478 MHz.&amp;nbsp;We used to use all of the 80 frequencies 2400, 2401, ..., 2479 MHz and is the reason for why the size of the IQ data array is 80. The data is not reported in the order of the hopping sequence but in order of ascending frequency.&lt;/p&gt;
[quote user=""]&amp;nbsp;This is one example of the hopping sequence index and it seems that each device keeps using always same sequence even after reboot.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The hopping sequence changes when the seed changes which should be the case for every ranging. We&amp;nbsp;used to have a bug in the sample where the hopping sequence was always the same, which might be what you are experiencing. This is fixed on the main branch or the latest release.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/401970?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 14:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e90569-55ed-4daa-91ed-0dc7afd9cf4c</guid><dc:creator>eleven-x_devteam</dc:creator><description>&lt;p&gt;Happy holidays! :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: distance tool box - IQ data and hopping sequence</title><link>https://devzone.nordicsemi.com/thread/401967?ContentTypeID=1</link><pubDate>Thu, 22 Dec 2022 14:23:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59965fa-f7d0-4a72-be45-cf23d8fb78c4</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Unfortunately I will have to get back to you on this after&lt;span&gt;&amp;nbsp;&lt;/span&gt;the Holidays.&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>