Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, ds_twr_responder doesn't work #11

Open
ycpiglet opened this issue May 13, 2022 · 3 comments
Open

Hi, ds_twr_responder doesn't work #11

ycpiglet opened this issue May 13, 2022 · 3 comments

Comments

@ycpiglet
Copy link

I'm using PCA10056 board and the basic example worked.
But when I flashed ds_twr_responder, it didn't work.

Where I found the error is the below part.

if (ret == DWT_ERROR) { LOG_INF("Error"); continue; }

I also read the Note 11 which you wrote but I don't understand what I do.
Please let me know. My address is 'ycpiglet@gmail.com'

@foldedtoad
Copy link
Owner

foldedtoad commented May 20, 2022

I am looking into this issue... will get back when I have further information.
This appears to be the only usage of dwt_starttx(DWT_START_TX_DELAYED | DWT_RESPONSE_EXPECTED);

@ycpiglet
Copy link
Author

ycpiglet commented May 26, 2022

Oh, I solved the problem by modifying the values of DELAY such as POLL_RX_TO_RESP_TX_DLY_UUS.

However, I still don't know why it happens even though it is correct mathematically.

So it is quite tough to change manually and successively until it's fine.
I'd rather use ss_twr than ds_twr cause the former is more simple(the less number of values to modify).

@Gary-zzy
Copy link

Oh, I solved the problem by modifying the values of DELAY such as POLL_RX_TO_RESP_TX_DLY_UUS.

However, I still don't know why it happens even though it is correct mathematically.

So it is quite tough to change manually and successively until it's fine. I'd rather use ss_twr than ds_twr cause the former is more simple(the less number of values to modify).

Hi, I am also doing with this sample and stuck in these delay issue. If it is possible, could you please share me with the delay you have set? Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants