Jump to content

Interrupts and SPI on the Core32


Digineural
 Share

Recommended Posts

I'm using the STM32 version of the Core32 and I'm getting stuck on implementing the general I/O expander MCP23S17. My goal is to use this over SPI on J19 to monitor inputs on an 8x8 switch matrix. One of the cool features of the MCP23S17, is that it has interrupts on either the row or column side (PORT A or PORT B). I'd like to be able to only cycle through the matrix only when the interrupt flag has been raised to help with performance.

I know I can always use the tried and true method of a DIO_MATRIX module, but I'm trying to reduce the component count and make a board that is single side friendly.

Any thoughts on free pins that can be used as an interrupt? I'll be using J8/J9 for a few DIN and DOUTs and J15 for LCD.

Edited by Digineural
Link to comment
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.

Loading...
 Share

×
×
  • Create New...