|
main.c 修改如下代码
- /* Default communication configuration. We use here EVK1000's default mode (mode 3). */
- static dwt_config_t config =
- {
- 5, /* Channel number. */
- DWT_PRF_64M, /* Pulse repetition frequency. */
- DWT_PLEN_128, /* Preamble length. */
- DWT_PAC8, /* Preamble acquisition chunk size. Used in RX only. */
- 9, /* TX preamble code. Used in TX only. */
- 9, /* RX preamble code. Used in RX only. */
- 0, /* Use non-standard SFD (Boolean) */
- DWT_BR_6M8, /* Data rate. */
- DWT_PHRMODE_STD, /* PHY header mode. */
- (129 + 8 - 8) /* SFD timeout (preamble length + 1 + SFD length - PAC size). Used in RX only. */
- };
复制代码
|
|