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

tests: boards: nrf: qdec: Fix failing drivers.sensor.qdec.pm_runtime #80051

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

nordic-krch
Copy link
Contributor

Test was failing because after re-enabling QDEC there is an interrupt REPORTRDY coming after some time. Test had k_msleep(100) added to accomodate for that but it was added after sensor_sample_fetch and should be added before so that sample with data from REPORTRDY event is fetched so that next read is empty as expected.

Fixes #80050.

Test was failing because after re-enabling QDEC there is an interrupt
REPORTRDY coming after some time. Test had k_msleep(100) added to
accomodate for that but it was added after sensor_sample_fetch and
should be added before so that sample with data from REPORTRDY event
is fetched so that next read is empty as expected.

Signed-off-by: Krzysztof Chruściński <[email protected]>
nordic-krch added a commit to nordic-krch/fw-nrfconnect-zephyr that referenced this pull request Oct 22, 2024
…dec.pm_runtime

Test was failing because after re-enabling QDEC there is an interrupt
REPORTRDY coming after some time. Test had k_msleep(100) added to
accomodate for that but it was added after sensor_sample_fetch and
should be added before so that sample with data from REPORTRDY event
is fetched so that next read is empty as expected.

Upstream PR: zephyrproject-rtos/zephyr#80051

Signed-off-by: Krzysztof Chruściński <[email protected]>
@nashif nashif merged commit 6e653a9 into zephyrproject-rtos:main Oct 22, 2024
18 checks passed
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Oct 22, 2024
…dec.pm_runtime

Test was failing because after re-enabling QDEC there is an interrupt
REPORTRDY coming after some time. Test had k_msleep(100) added to
accomodate for that but it was added after sensor_sample_fetch and
should be added before so that sample with data from REPORTRDY event
is fetched so that next read is empty as expected.

Upstream PR: zephyrproject-rtos/zephyr#80051

Signed-off-by: Krzysztof Chruściński <[email protected]>
rlubos pushed a commit to rlubos/sdk-zephyr that referenced this pull request Oct 23, 2024
…dec.pm_runtime

Test was failing because after re-enabling QDEC there is an interrupt
REPORTRDY coming after some time. Test had k_msleep(100) added to
accomodate for that but it was added after sensor_sample_fetch and
should be added before so that sample with data from REPORTRDY event
is fetched so that next read is empty as expected.

Upstream PR: zephyrproject-rtos/zephyr#80051

Signed-off-by: Krzysztof Chruściński <[email protected]>
(cherry picked from commit 8ceab93)
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

Successfully merging this pull request may close these issues.

tests: boards: nrf: qdec: drivers.sensor.qdec.pm_runtime fails on nrf platforms
7 participants