Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Interrupts


  • Please log in to reply
1 reply to this topic

#1 michel capua

michel capua

    Member

  • Members
  • PipPip
  • 26 posts

Posted 11 August 2013 - 07:05 AM

Is it possible use all the GPIO with a different interrupt?

 

How many interrupts are possible with NP2?



#2 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 13 August 2013 - 10:21 AM

The STM32F405xx datasheet says "Up to 140 I/O ports with interrupt capability" depending on package:

http://www.st.com/st.../DM00037051.pdf

 

They don't explicitly say that you can enable interrupts on all ports simultaneously and I strongly doubt you can.

 

The reference manual says the interrupt controller has 82 interrupt vectors:

http://www.st.com/we.../DM00031020.pdf

 

Since the interrupt vector table only has 82 entries of which many are used by peripherals, there's no way all GPIOs can be configured for external interrupts. This is confirmed in chapter 10.2.5 that says there are 16 external interrupts.

 

The NP2 has has a maximum of 22 GPIOs and it seems only any 16 of these can be used with interrupts.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.