-
Notifications
You must be signed in to change notification settings - Fork 7.5k
tests/drivers/adc/adc_api/ fails on quark platforms #12632
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
Labels
Comments
quark_se_c1000_ss_devboard:arc for commit cf94d68 has same failure. Did not check adc_read() return code |
quark_d2000_crb:x86 for commit cf94d68 has same failures |
@dcpleung you had dealt with the ADC for quark recently, can you please take a look? |
dcpleung
added a commit
to dcpleung/zephyr
that referenced
this issue
Mar 14, 2019
The logic in sampling is incorrect. The code sets up the hardware to do multiple conversions, but in reality, each call is simply one conversion. So fix it. Fixes zephyrproject-rtos#12632 Signed-off-by: Daniel Leung <[email protected]>
dcpleung
added a commit
to dcpleung/zephyr
that referenced
this issue
Mar 14, 2019
Since commit 0906a51, the driver fails the test: tests/drivers/adc/adc_api. Some of the workflow turns out to be incorrect (e.g. not doing dummy conversion after getting out of deep power down, and not clearing interrupt status bits). So take some time to overhaul the driver. Also rename the driver to adc_intel_quark_se_c1000_ss because the inner working of this driver is tied to Quark SE C1000 SoC. Fixes: zephyrproject-rtos#12632 Signed-off-by: Daniel Leung <[email protected]>
Reproduce on
for Commit ID: 96235c5 |
andrewboie
pushed a commit
that referenced
this issue
Mar 21, 2019
Since commit 0906a51, the driver fails the test: tests/drivers/adc/adc_api. Some of the workflow turns out to be incorrect (e.g. not doing dummy conversion after getting out of deep power down, and not clearing interrupt status bits). So take some time to overhaul the driver. Also rename the driver to adc_intel_quark_se_c1000_ss because the inner working of this driver is tied to Quark SE C1000 SoC. Fixes: #12632 Signed-off-by: Daniel Leung <[email protected]>
verified ok on commit [cf91f8c] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Uh oh!
There was an error while loading. Please reload this page.
The test in tests/drivers/adc/adc_api/ fails with Assertion Failure on quark platforms.
The test is failing after this commit: 0906a51
Arch: x86, ARC
Platforms: quark_se_c1000, quark_d2000
Error on console log:
quark_se_c1000:arc
On quark_d2000:x86, only 2 test cases fail - test_adc_asynchronous_call, test_adc_repeated_samplings:
The text was updated successfully, but these errors were encountered: