-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
tests/kernel/common seems to fail on nrf52833dk_nrf52833 #32072
Comments
@carlescufi @anangl @pabigot I would appreciate if anyone else could test on this board and provide feedback. |
I don't have nrf52833 in my setups. I've run this test on nrf52dk_nrf52832, nrf9160dk_nrf9160 and nrf52840dk_nrf52840 and all tests passed from this suite |
@ioannisg Tested it on nrf52833dk_nrf52833 version 0.9.0 and 1.0.0, all test pass. |
Thanks @jfischer-no I think I've got board revision 0.7.1 - that might be explaining why this fails. Going to remove the blocking priority. |
@ioannisg FWIW I've just run the test on my board which is revision 0.7.0, and all test cases passed. |
@ioannisg I also don't have this board. You might try running |
Will try that, thanks @pabigot |
@pabigot this is what I getting when i run the sample on my nrf52833 board:
And this is what i get on my nrf52832 board
Could that difference explain the error I see? |
@ioannisg You should let that run for a while; the first reading doesn't have enough duration to estimate accurately. See the output in the sample README. I'd give it at least five minutes. But yes, that's unusual from my perspective, first in that the skews are negative (LFCLK runs slower than HFCLK) and in magnitude (your skews are at least twice what I see). The sign is most likely to be a problem with the test. |
I'll get back to this with new data @pabigot thanks. |
By which I mean that the test is more likely to be robust if LFCLK is faster than HFCLK, because the timer will fire and increase the count early. If LFCLK is slower the spinning wait will complete before the timer fires. Especially as your board is showing an error of 1.3% so the 1 ms slop as an upper bound is insufficient: you would have to wait for 1.12 additional ms to pass. You could test that by changing:
to
|
nrf52833 0.9.0
nrf52833 1.0.0
|
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
Describe the bug
tests/kernel/common tests variants all fail on nrf52833dk_nrf52833
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The test should not assert.
Impact
Should fix this before release.
Logs and console output
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: