DWM3000 receiver timeout during debugging in ses

Hello
I am implementing TWR on DWM3000 and nrF2833, while debugging I am able to get the initiator poll on the responder side, but the delayed transmission from responder gives error and stops. Could someone help me with this?

Thanking in advance
seb

Hi @Seb
HW debugging is always tricky. What kind of error do you see?

Cheers
JK

Hi
I am getting a response timeout error,
I am getting the initiator poll at the responder but when the data is transmitted back (tx delayed) the RXCFG_BIT_MASK bit is not set.

With regards
Seb

Hi @Seb
are you sure that the responder sent back the response?

Cheers
JK

Hi
As in the code below, ret returns success, then the value of temp is set to 2, during hardware debugging between two devices.

With regards
seb

Hi @Seb
are you sure that your RX timeout is long enough to capture the receiving frame?

Cheers
JK

hello,
I am listing the values below

on the initiator side:

POLL_TX_TO_RESP_RX_DLY_UUS 700
RESP_RX_TO_FINAL_TX_DLY_UUS 700
RESP_RX_TIMEOUT_UUS 300

Responder side:
POLL_RX_TO_RESP_TX_DLY_UUS 900
RESP_TX_TO_FINAL_RX_DLY_UUS 500
FINAL_RX_TIMEOUT_UUS 320

Also, while debugging the status reg, SYS_STATUS_RXFTO_BIT_MASK bit is set on the initiator side before transmission. I am not sure why that is so,
Thanking in advance
seb

Hi @Seb
what I think is happening on your side it that the CPU gets slow down because of debugging (more stuff to do) try to increase the RX delay.

Cheers
JK

1 Like

hi @Jk
Thank you for the help, I adjusted the delays accordingly, and I am getting the distance values

with regards
seb