Replies: 1 comment 5 replies
-
Proposed code is doing the following:
Please note (see ref man) that there is only one interrupt line for all GPIO ports. Note, I'm converting this to discussion. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I was trying to use two GPIO interrupts, different port but same pin number. Second pin gpio_pin_interrupt_configure
fails: failed to configure interrupt gpio_e, ret:-16
Interrupts are working, tested separately but if port number is same then second always gives -16, EBUSY.
Is this a bug or platform limitation or user error ?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error prints and both interrupts should work
Impact
Limits pin usage
Logs and console output
*** Booting Zephyr OS build zephyr-v3.3.0-4047-g49389b546a4a ***
gpio_d intr init done
failed to configure interrupt gpio_e, ret:-16
gpio_e intr init done
Environment (please complete the following information):
Additional context
Add any other context that could be relevant to your issue, such as pin setting,
target configuration, ...
main.c.txt
Beta Was this translation helpful? Give feedback.
All reactions