The length of SFD about the standard IEEE

DWSFD,TNSFD,RNSFD are all 0,so we take the standard SFD.the length of sfd will be automatic 8 symbol times,when the data rate is 110kbps or 6.8Mbps;the data rate is 110kbps ,the length of sfd will be 64 symbols. I do not configurate any register to determine the length of SFD,because the length of sfd will automatic change depending on the data rate. Am I Right? Thank you !

Please use API call dwt_configure(&config) to do this and pass DW1000 config to this API. Inside config structure, you can use both non-standard or stardard SFD. 8, 64 symbols is defined in 802.15.4a, but decawave provide 8, 16, 64 non-standard SFD sequence. In general, 850k and 6.8M use 8 symbol SFD sequecne, and 110K with 64 symbols SFD sequence. deca_driver has pre-deifned non-standard SFD sequence, user manual show the details.

static dwt_config_t config = {
2, /* Channel number. /
DWT_PRF_64M, /
Pulse repetition frequency. /
DWT_PLEN_1024, /
Preamble length. Used in TX only. /
DWT_PAC32, /
Preamble acquisition chunk size. Used in RX only. /
9, /
TX preamble code. Used in TX only. /
9, /
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. /
(1025 + 64 - 32) /
SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};

hello, i used the same configuration

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 you tell me correct timeout values to rectify this issue so that i can values with accuracy

thanks and regards
manikandan v