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

mec15xxevb_assy6853: tests/drivers/gpio/gpio_basic_api/ failed #33371

Closed
s-kelvin opened this issue Mar 16, 2021 · 2 comments · Fixed by #33445
Closed

mec15xxevb_assy6853: tests/drivers/gpio/gpio_basic_api/ failed #33371

s-kelvin opened this issue Mar 16, 2021 · 2 comments · Fixed by #33445
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@s-kelvin
Copy link
Collaborator

Describe the bug
drivers.gpio.2pin.gpio_port in tests/drivers/gpio/gpio_basic_api/ failed.

To Reproduce
Steps to reproduce the behavior:

  1. west build -b mec15xxevb_assy6853 -p auto tests/drivers/gpio/gpio_basic_api/
  2. west flash
  3. see error

Expected behavior
Test suite should pass.

Logs and console output

*** Booting Zephyr OS build zephyr-v2.5.0-1160-gb8b8e8cd6b1a  ***
Running test suite gpio_basic_test
===================================================================
START - test_gpio_port
Validate device GPIO140_176
Check GPIO140_176 output 15 connected to input 14
FATAL output pin not wired to input pin? (out high => in low)

Environment (please complete the following information):

  • Linux Ubuntu 18.04.4 LTS
  • zephyr-v2.5.0-1160-gb8b8e8cd6b1a
  • Toolchain zephyr-sdk-0.12.3
@s-kelvin s-kelvin added the bug The issue is a bug, or the PR is fixing a bug label Mar 16, 2021
@galak galak added the priority: low Low impact/importance bug label Mar 16, 2021
@scottwcpg
Copy link
Collaborator

Assume jumper placed on EVB JP41 1-3 to connect GPIO 0156 and 157.
Root cause is a bug in the GPIO driver. Test asks driver to disconnect GPIO 0157. Test then asks driver to set GPIO 0157 to output high. Driver does not clear GPIO control register power gate field leaving the pin powered off (disconnected).

@scottwcpg
Copy link
Collaborator

I submitted a fix in PR#33445

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants