Just wanted to start the conversation to see if anyone has incorporated any multi-instance driver for the MCP2515 or MCP2518FD with the OI platform.
I've been poking around on the bench with several chips, but haven't dedicated much time towards it as of late.
Been hoping to expand Zombie (or other OI based VCUs) with a few more CAN channels.
I understand the downsides to the MCP2515 execution within the Zombie - as whatever is coded has to be tailored to those can commands, rather than the OI commands.
MCP2515 - Driver for Multiple channels?
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1484 times
- Contact:
Re: MCP2515 - Driver for Multiple channels?
This could be resolved by having the mcp2515 driver implement the CanHardware interface. Anyone?

Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: MCP2515 - Driver for Multiple channels?
That would be ideal,
I wasn't quite sure how to differentiate the calls for message send to be split between stm32_can and whatever SPIcan driver is used, though I've been trying to not touch any of the core libraries.
It would be a good solution looking ahead to the expandability of the system.
I wasn't quite sure how to differentiate the calls for message send to be split between stm32_can and whatever SPIcan driver is used, though I've been trying to not touch any of the core libraries.
It would be a good solution looking ahead to the expandability of the system.