Hello,
Any help would be appreciated.
I am using the MDEK1001 which contains the DWM1001.
Im trying to do 2 way ranging from Person to Person but the problem with this is that is - what if they have the device in their back pocket? then the range is reduced. I’m not too bothered about accuracy as long as its ±1m
Ive done a lot of reading though the application notes but honestly its quite overwhelming and i cant absorb it all over a short timeframe.
Im trying to implement the optimised settings for the NLOS config based on the APS006 Part2 document
When i change the setting on the ss_twr_init/ss_twi_resp examples it then stops receiving the messages, i believe its something to do with my timeout settings.
With the config on Init being:
static dwt_config_t config = {
5, /* Channel number. */
DWT_PRF_16M, /* Pulse repetition frequency. */
DWT_PLEN_1024, /* Preamble length. Used in TX only. */
DWT_PAC64, /* Preamble acquisition chunk size. Used in RX only. */
3, /* TX preamble code. Used in TX only. */
3, /* RX preamble code. Used in RX only. */
0, /* 0 to use standard SFD, 1 to use non-standard SFD. */
DWT_BR_850K, /* Data rate. */
DWT_PHRMODE_STD, /* PHY header mode. */
(1024+ 1 + 16 - 64) /* SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};
and config on the resp being:
static dwt_config_t config = {
5, /* Channel number. */
DWT_PRF_16M, /* Pulse repetition frequency. */
DWT_PLEN_256, /* Preamble length. Used in TX only. */
DWT_PAC16, /* Preamble acquisition chunk size. Used in RX only. */
3, /* TX preamble code. Used in TX only. */
3, /* RX preamble code. Used in RX only. */
0, /* 0 to use standard SFD, 1 to use non-standard SFD. */
DWT_BR_850K, /* Data rate. */
DWT_PHRMODE_STD, /* PHY header mode. */
(1024+ 1 + 16 - 16) /* SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};
I receive messages. but when i copy the config from init to resp it then stops receiving.
If it is to do with the timeouts how do I calculate them?
Thank you,
Mike