How to calculate timeouts?

Hello to all,

I would like to know how to correctly calculate timeouts and delays for the DS TWR and SS TWR examples for different data rates, preamble length etc.

In the provided applications there are these values for the 110K data rate and 1024 bits preamble length.

#define POLL_TX_TO_RESP_RX_DLY_UUS 150
#define RESP_RX_TO_FINAL_TX_DLY_UUS 3100
#define RESP_RX_TIMEOUT_UUS 2700
#define PRE_TIMEOUT 8

What should be the values if I want to change the settings?

Where can I read about that?

Kind regards,
Sergey

1 Like

The best way I found is to have an oscilloscope and monitor the TX and RX signals.

Dpeinado, thanks for your reply.

Where did you monitor signals - directly on the antenna or on the SPI bus?

Hello Serguey, you can check it in the document aps022_debugging_dw1000_based_products_systems.pdf. It is on the decawave web site: https://www.decawave.com/sites/default/files/aps022_debugging_dw1000_based_products_systems.pdf