What are the factors that influence the duration for which distance measurement will occur (Using nrf_dm sample).

Hello, guys,

I am working on distance measurement project using two nRF5340DK (nrf_dm sample application). I found duration for which the distance measurement between two DKs happens is random, so can I please know the factors effect this duration and also can we control this duration in code.

Also, can we control interval time between two distance measurements in code.

Regards,
Madan

Parents
  • Hi

    Do you refer to the interval between the distance measurements or the time that the distance measurement itself takes here? The nrf_dm_get_duration_us API should give you the duration of the data collection for a given configuration, and NRF_DM_PROC_EXECUTRE_DURATION_OVERHEAD_US is the duration of a given (not high-precision) algorithm. Other than that the only random part here should be the advertising interval, which (per Bluetooth spec) has a randomized delay between 0 and 10 ms added to the advertising interval itself.

    If you're referring to some other random interval here, please be more specific. What range of measurement interval do you see occurring exactly?

    Best regards,

    Simon

Reply
  • Hi

    Do you refer to the interval between the distance measurements or the time that the distance measurement itself takes here? The nrf_dm_get_duration_us API should give you the duration of the data collection for a given configuration, and NRF_DM_PROC_EXECUTRE_DURATION_OVERHEAD_US is the duration of a given (not high-precision) algorithm. Other than that the only random part here should be the advertising interval, which (per Bluetooth spec) has a randomized delay between 0 and 10 ms added to the advertising interval itself.

    If you're referring to some other random interval here, please be more specific. What range of measurement interval do you see occurring exactly?

    Best regards,

    Simon

Children
No Data
Related