|
可以修改基本配置参数
- static dwt_config_t config =
- {
- 2, /* Channel number. */
- DWT_PRF_64M, /* Pulse repetition frequency. */
- DWT_PLEN_1024, /* Preamble length. */
- 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, /* Use non-standard SFD (Boolean) */
- 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. */
- };
复制代码 可以将DWT_BR_110K, /* Data rate. */
修改为:#define DWT_BR_6M8 2 //!< UWB bit rate 6.8 Mbits/s一套用110K定位,一套用6M8跟随
|
|