hello
i am using customised design with two boards one as initator and responder i am trying to achieve maximum distance between the board with 110k data rate my configuration setup is
static dwt_config_t config = {
2, /* Channel number. /
DWT_PRF_64M, / Pulse repetition frequency. /
DWT_PLEN_1024, / Preamble length. Used in TX only. /
DWT_PAC64, / Preamble acquisition chunk size. Used in RX only. /
10, / TX preamble code. Used in TX only. /
10, / RX preamble code. Used in RX only. /
0, / 0 to use standard SFD, 1 to use non-standard SFD. /
DWT_BR_110K, / Data rate. /
DWT_PHRMODE_STD, / PHY header mode. /
(1025 + 64 - 64) / SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};
static dwt_txconfig_t config1 = {
0xC0,
0x1F1F1F1F,
};
initiator side
POLL_TX_TO_RESP_RX_DLY_UUS 10000
TX_ANT_DLY 16300
RX_ANT_DLY 16456
RESP_RX_TIMEOUT_UUS 65000 maximum timeout value
responder side
POLL_RX_TO_RESP_TX_DLY_UUS 12000
RESP_TX_TO_FINAL_RX_DLY_UUS 500
my problem is i get only negative values while calculating distance can someone tell me correct timeout values to rectify this issue so that i can values with accuracy
thanks and regards
manikandan v