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

cpu/saml21: cannot use several EXTI #6904

Closed
dylad opened this issue Apr 13, 2017 · 1 comment
Closed

cpu/saml21: cannot use several EXTI #6904

dylad opened this issue Apr 13, 2017 · 1 comment

Comments

@dylad
Copy link
Member

dylad commented Apr 13, 2017

I was playing with EXTI on SAML21 and I notice an annoying problem.
Hardware : saml21-xpro
Software : tests/periph_gpio

First I try to register a EXTI on any GPIO (PA18 for example -> EXTI 2)
Registration is ok, I attach a button to it and it works fine.
Now I try to register a second pin (PA17 -> EXTI 1)
registration is ok, I attach a second button but no IRQ trig. (First button still working).

Now I reset the board, I initialize PA17 first as EXTI, the button works fine. Then I initiliaze PA18 as EXTI and this time PA18 doesn't work.

It seems the call to isr_eic() occurred only for the first register EXTI.

@dylad
Copy link
Member Author

dylad commented Aug 28, 2017

#6932 fixes this issue so I'm closing it.

@dylad dylad closed this as completed Aug 28, 2017
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

No branches or pull requests

1 participant