<?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>Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92586/nordic-distance-measurements</link><description>Hello, 
 How much time takes the Nordic Distance Measurements in MCPD mode with IFFT on nrf52832 ? 
 Any limitaion on moving objects except that this measurement works well on short distance ? 
 Thanks 
 Franck</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jul 2023 10:28:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92586/nordic-distance-measurements" /><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/435444?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2023 10:28:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af662310-d8e6-4f03-9822-2cf5ef0869cc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Franck&lt;/p&gt;
&lt;p&gt;We haven&amp;#39;t tested doing multiple rangings back-to-back without the syncing step, but our developer suggested trying this for ranging a single device.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434983?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 12:47:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8cc17e7-e116-4b71-bd24-6e935c58b060</guid><dc:creator>franck</dc:creator><description>&lt;p&gt;Hello Simon, yes I&amp;#39;m using a nrf52832 so high precision is disabled (as not supported if I&amp;#39;m correct).&amp;nbsp;This is great that if 10 is achievable, right now haven&amp;#39;t managed to get more than 5-6/s&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;quot;One try you could probably do is to run multiple rangings back-to-back and don&amp;#39;t go via the syncing step using the advertiser/scanner, if you are interested in ranging a single device.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;-&amp;gt; this was my previous question, to get one synchronisation then call&amp;nbsp;&lt;span&gt;dm_request_add&amp;nbsp;with same parameter everytime I get the result callback&lt;/span&gt;&amp;nbsp; &amp;quot;Is this possible to call continuously&amp;nbsp;dm_request_add on both devices everytime a timeout or a sucess result is returned ??&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;Will check &lt;span&gt;nrf_dm_get_duration_us&amp;nbsp;&lt;/span&gt;api to see how long&amp;nbsp;time is returned&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Franck&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434964?ContentTypeID=1</link><pubDate>Thu, 06 Jul 2023 12:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a69b5bbb-f963-4b58-bdf1-383b24467e94</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Franck&lt;/p&gt;
&lt;p&gt;We haven&amp;#39;t tested a maximum on our end, but we think 10 should be possible to achieve. Did you disable high precision as well, as the &amp;quot;normal&amp;quot; precision mode should be much faster. You can also try to lower the advertising interval.&lt;/p&gt;
&lt;p&gt;One measurement with high precision mode disabled should take ~16ms, so getting 10 measurements should in theory be possible if the delay from advertising to measurement isn&amp;#39;t too long. Meaning you shouldn&amp;#39;t do a bunch of other stuff over BLE as well that might increase discovery time or take up time on the radio for example.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;For the measurement, there is an `nrf_dm_get_duration_us` api, that gives you the duration of the data collection for a given configuration, plus NRF_DM_PROC_EXECUTE_DURATION_OVERHEAD_US, which is the duration of the (non-high-precision) algorithms.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;One try you could probably do is to run multiple rangings back-to-back and don&amp;#39;t go via the syncing step using the advertiser/scanner, if you are interested in ranging a single device.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434780?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 16:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd2242b2-890d-4dce-a3a4-325c6f40a7f3</guid><dc:creator>franck</dc:creator><description>&lt;p&gt;I played with values but did not seem to improve a lot, managed to get 4-5/secs, not sure I understood fully the parameters&amp;nbsp;how to change the settings&lt;/p&gt;
&lt;p&gt;Could you share a Kconfig file that should increase the rate&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434628?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 08:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd1e5a25-2c61-4b12-a099-37f9404c6e4c</guid><dc:creator>franck</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer, I would need at least 10 values per seconds, and even more would be even better like 20 or so&lt;/p&gt;
&lt;p&gt;Will try the tuning of the parameters&lt;/p&gt;
&lt;p&gt;Also, power consumption is really not&amp;nbsp;important for my device&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Franck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434606?ContentTypeID=1</link><pubDate>Wed, 05 Jul 2023 07:51:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9bc8f65-ea67-430c-b9d9-9410512f2134</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi FrancK&lt;/p&gt;
[quote user="franck"]current distance measure report between 2 devices is only 2 or 3 values per seconds I would need more.[/quote]
&lt;p&gt;How many reports would you need per second?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The Kconfig options&amp;nbsp;&lt;/span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_DM_TIMESLOT_QUEUE_COUNT_SAME_PEER"&gt;&lt;code&gt;&lt;span&gt;CONFIG_DM_TIMESLOT_QUEUE_COUNT_SAME_PEER&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_DM_TIMESLOT_QUEUE_LENGTH"&gt;&lt;code&gt;&lt;span&gt;CONFIG_DM_TIMESLOT_QUEUE_LENGTH&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;define how many measurements are scheduled. The more measurements are scheduled, the more of them take place, which increases power consumption but gives more frequent rangings.&amp;nbsp;At the application runtime, the additional delay of measurement execution is configured using the&amp;nbsp;&lt;code&gt;&lt;span&gt;start_delay_us&lt;/span&gt;&lt;/code&gt;&amp;nbsp;parameter of the&amp;nbsp;&lt;a title="dm_request" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/libraries/others/dm.html#c.dm_request"&gt;&lt;code&gt;&lt;span&gt;dm_request&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&amp;nbsp;structure. This option helps in adjusting the synchronization. The&amp;nbsp;&lt;a title="(in Kconfig reference v&amp;amp;nbsp;)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_DM_INITIATOR_DELAY_US"&gt;&lt;code&gt;&lt;span&gt;CONFIG_DM_INITIATOR_DELAY_US&lt;/span&gt;&lt;/code&gt;&lt;/a&gt;&amp;nbsp;Kconfig option defines the initiator delay. Increasing the values of these parameters increases the latency and power consumption.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/434263?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 14:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a809313c-5584-4a27-97bf-8ff236828f59</guid><dc:creator>franck</dc:creator><description>&lt;p&gt;Hello Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. My concern that current distance measure report between 2 devices is only 2 or 3 values per seconds I would need more.&amp;nbsp;Consumption is not an issue. As which device are reflector and initiator are defined&amp;nbsp;as well as BT device address.&amp;nbsp;Is this possible to call continuously&amp;nbsp;dm_request_add on both devices everytime a timeout or a sucess result is returned ??&lt;/p&gt;
&lt;p&gt;What are other solution to increase the number of distance measure reported per seconds ??&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Distance Measurements</title><link>https://devzone.nordicsemi.com/thread/389413?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 12:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6618e90-1c2a-4ba8-8179-0d4484eb578f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Franck&lt;/p&gt;
&lt;p&gt;What time exactly are you looking for? The minimum time between timeslots are by default set to 8ms (8000µs) with the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/kconfig/index.html#CONFIG_DM_MIN_TIME_BETWEEN_TIMESLOTS_US"&gt;&lt;strong&gt;CONFIG_DM_MIN_TIME_BETWEEN_TIMESLOTS_US&lt;/strong&gt;&lt;/a&gt;. This time should also account for processing of ranging data after the timeslots. You can also define the time between the synchronization and ranging (request) with&amp;nbsp;&lt;strong&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_DM_RANGING_OFFSET_US"&gt;CONFIG_DM_RANGING_OFFSET_US&lt;/a&gt; &lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Increasing this allows more ranging to different nodes, but increases latency. Regarding movement, I think the limitation or offset would be however long you move it in 8ms (time between events).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>