Jump to content
43oh

How many external interrupts can be enabled at once on the LM4F


Recommended Posts

Hi all,

  Not sure if this is an Energia issue or a Arm limitation or a .... But I'm trying to enable interrupts on 7 pins. Im using Energia's attachInterrupt and everything works almost...when I test things out one pin always seems to not cause an interrupt. It seems the last pin I enable an interrupt on will not work. Which pin is immaterial, I can change the order and its always the last pin. The other thing that happens is after a bit, it does not mater which pin that causes the interrupt it always goes to the same handler.

 

I figure maybe there is a limitation on how many interrupts can be enabled at once maybe?

Link to post
Share on other sites

Hi,

It is very important what pin is used, since there are pins with some default settings for other purposes, and to make them work needs some special configurations. Take care also there are two pin categories: ports with per-pin interrupts and ports with a single interrupt per port.

To give you an answer - at least 16, since there are two ports with per-pin interrupts.

The above statements are for the micro controller itself, attachInterrupt is ignored.

Lyon 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...