foldedtoad / dwm3000

Port of Qorvo/Decawave's DWM3000 Module on the DWS3000 Arduino Shield
GNU General Public License v3.0
83 stars 16 forks source link

ex_05b_ds_twr_resp always returns DWT_ERROR #5

Closed higherkuo closed 2 years ago

higherkuo commented 2 years ago

I'm testing ex_05a_ds_twr_init and ex_05b_ds_twr_resp with nRF52840DK. However, the 05b always returns DWT_ERROR. I'm using Ubuntu with zephyr 2.7. Any thoughts? Thanks!

higherkuo commented 2 years ago

dig deeper and I found the issue is my board cannot process fast enough, so it always times out. Changing POLL_RX_TO_RESP_TX_DLY_UUS resolves timeout issue. In addition, ex_05a_ds_twr_init needs to be changed accordingly.