Hello everyone, I am use DWM1000 modules with STM32L4 microprocessor in custom board.
I have followed the examples 5a and 5b for DS_TWR.
My problem it was that the dwt_starttx(DWT_START_TX_DELAYED) returns error because my resp_tx_time, it is too long.
I have disabled the HPDWARN flag and the dwt_starttx returns SUCCESS but its very slow. It makes > 7s to send the response to the initiator and obviously the RXTIMEOUT disable the rx.
Here is my resp_tx_time = (poll_rx_ts + (POLL_RX_TO_RESP_TX_DLY_UUS * UUS_TO_DWT_TIME)) >> 8;
resp_tx_time:
Also, when i disable the dwt_setrxtimeout(RESP_RX_TIMEOUT_UUS); of initiator.
the message arrive but with a huge delay
Does anyone know what is going wrong?
Thank you,
Kostas