Distance measurement with DWM1000

Hi,

I am using the DMW1000 module for RTLS, using the single-sided two way ranging method.

We have developed our own hardware and I see that in my case, it is necessary to configure antenna delay in order to adjust the distance. In my case I have seen that I need to do these for each communication between every node in the network. I don’t know if this is neccesary or if I am doing something wrong.

Thanks!

This is my configuration:

static dwt_config_t config = {
2, /* Channel number. /
DWT_PRF_64M, /
Pulse repetition frequency. /
DWT_PLEN_128, /
Preamble length. Used in TX only. /
DWT_PAC8, /
Preamble acquisition chunk size. Used in RX only. /
9, /
TX preamble code. Used in TX only. /
9, /
RX preamble code. Used in RX only. /
0, /
0 to use standard SFD, 1 to use non-standard SFD. /
DWT_BR_6M8, /
Data rate. /
DWT_PHRMODE_STD, /
PHY header mode. /
(129 + 8 - 8) /
SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */ //129
};
static dwt_txconfig_t configTx = {
0xc2, //Delay
0x07274767 //Power
};