hello,
we are using a customised module with dw,nrf52832 and accelarometer and i am using this git hub example dwm1001-examples/main.c at master · Decawave/dwm1001-examples · GitHub flasing initator code in one board and responder in other but whenever i attempt to change the preamble length to 1024 and and data rate to 110 k i could not calculate the distance ?does anyone know the reason for this problem
static dwt_config_t config = {
5, /* Channel number. /
DWT_PRF_16M, / Pulse repetition frequency. /
DWT_PLEN_1024, / Preamble length. Used in TX only. /
DWT_PAC32, / Preamble acquisition chunk size. Used in RX only. /
3, / TX preamble code. Used in TX only. /
3, / RX preamble code. Used in RX only. /
1, / 0 to use standard SFD, 1 to use non-standard SFD. /
DWT_BR_110k, / Data rate. /
DWT_PHRMODE_STD, / PHY header mode. /
(1024 + 8- 32) / SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};this configuration does not work
static dwt_config_t config = {
5, /* Channel number. /
DWT_PRF_16M, / Pulse repetition frequency. /
DWT_PLEN_128, / Preamble length. Used in TX only. /
DWT_PAC32, / Preamble acquisition chunk size. Used in RX only. /
3, / TX preamble code. Used in TX only. /
3, / RX preamble code. Used in RX only. /
1, / 0 to use standard SFD, 1 to use non-standard SFD. /
DWT_BR_6M8, / Data rate. /
DWT_PHRMODE_STD, / PHY header mode. /
(129 + 8- 32) / SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};
but this does not work
kindly help me with this
thanks and regards
manikandan v