cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

Hello all,

   

 

   

I'm using Psoc 5 LE with 68 pins (not the 100 pin chip). I read somewhere that the device has up to 32 available interrupts.

   

I want to use several edge triggered interrupts on some of my digital input pins. I understood that I only can use a single interrupt per port:

   

P0, P1, P2, P3, P12, P15.

   

Overall 7 edge triggered interrupts.

   

Am I wrong and there are other available interrupts (not talking about SPI interrupts and such) for digital inputs pins?

   

 

   

Thanks in advance,

   

Igal

0 Likes
Reply
5 Replies
Esteemed Contributor

This might help -

   

 

   

http://www.cypress.com/documentation/application-notes/an54460-psoc-3-and-psoc-5lp-interrupts     AN54460 - PSoC® 3, PSoC 4, and PSoC 5LP Interrupts

   

 

   

http://www.cypress.com/documentation/application-notes/an72382-using-psoc-3-and-psoc-5lp-gpio-pins      AN72382 - Using PSoC® 3 and PSoC 5LP GPIO Pins

   

 

   

Regards, Dana.

0 Likes
Reply
Anonymous
Not applicable

Hey Dana,

   

This surely helped.

   

Could you please clarify the reason to having contiguous pins? I've attached a quote from AN45381 document.

   

Plus, I need two different interrupts for 2 digital input pins. Does the attached picture configuration allows me to get it or I have to separate the pins so each will have it's own port?

   

 

   

Best regards,

   

Igal

0 Likes
Reply
Anonymous
Not applicable

Sorry, I meant AN72382 document

0 Likes
Reply
Esteemed Contributor

I think the contiguous issue is a limitation of the way the component was designed,

   

rather than a HW limitation.

   

 

   

If you want a different priority for interrupts you would have

   

to assign them to different ports, otherwise no reason to not place

   

them all in one port. Reading the status register in ISR and use of

   

masks  will tell you what specific pins are generating interrupts.

   

 

   

Regards, Dana.

0 Likes
Reply
Esteemed Contributor II

Additionally you may connect an isr component to the signal of a pin which then will trigger an interrupt on the desired edge.

   

 

   

Bob

0 Likes
Reply