I sent you a private message with a few notes.
What pin are you planning on using for the SPI chip select? And what processor chip does your control boards use? I can put a #ifdef in my code for the change.
If you are short of pins for chip select, it's possible to use the overcurrent clear line for that purpose, and run a wire back from a MCP2515 output. It would only be a two line rewrite of the clear_oc() function.
|