Hi,
I use TREK1000 to test 850K data rate, the dwt_config as below. But it not work and always report Receive SFD timeout. I tried to set sfdTO to 0, it’s same. But, if change nsSFD to 0, it work fine.
The DW1000 User Manual Table 21 recommend use non-standard 16 symbol SFD for 850K, where went wrong?
dwt_config_t config = {
.chan = 2, /* Channel number. */
.prf = DWT_PRF_16M, /* Pulse repetition frequency. */
.txPreambLength = DWT_PLEN_256, /* Preamble length. Used in TX only. */
.rxPAC = DWT_PAC16, /* Preamble acquisition chunk size. Used in RX only. */
.txCode = 3, /* TX preamble code. Used in TX only. */
.rxCode = 3, /* RX preamble code. Used in RX only. */
.nsSFD = 1, /* 0 to use standard SFD, 1 to use non-standard SFD. */
.dataRate = DWT_BR_850K, /* Data rate. */
.phrMode = DWT_PHRMODE_STD, /* PHY header mode. */
.sfdTO = (257 + 16 - 16) /* SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
};