Skip to content

cpu/saml21: cannot use several EXTI #6904

@dylad

Description

@dylad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions