Digineural Posted October 23, 2012 Report Share Posted October 23, 2012 (edited) 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 October 23, 2012 by Digineural Quote Link to comment Share on other sites More sharing options...
Digineural Posted October 23, 2012 Author Report Share Posted October 23, 2012 Forget it, just RTFM. Interrupts are a complicated beast on the STM32 will likely require some work in FreeRTOS that is beyond the scope of doing something easily. I'll just scan the matrix Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.