sam7s interrupts

Hi all,

Can all PIOs (PA0-PA31) be enabled as interrupt request?

If yes, why PA30 (pin42) can be routed specially as IRQ1?

Regards,

Laurent

Hi all,

Any designer using SAM7s and interrupts ?

Can all PIOs (PA0-PA31) be enabled as interrupt request?

If yes, why PA30 (pin42) can be routed specially as IRQ1?

Thank you in advance,

Laurent

http://www.amontec.com

Yes

Why, flexibilty versus speed.

It is faster because we know exactly which pin triggered the interrupt.

If we use PIOA interrupts then it is possible to have several pins triggering this

interrupt and we must then check what the source is.

So if you want to watch only one external pin, use any one.

If you want to watch two external lines assign one to PIA and the other to IRQ1

If you want to watch many external lines use PIOA, but try to assign a signal needing special, fast, treatment, to IRQ1.

Regards,

Magnus