WMT-GmbH / mcp25xx

no_std library for the MCP2510, MCP2515 and MCP25625 CAN controller chips
Apache License 2.0
4 stars 5 forks source link

Compatibility with MCP2518FD #1

Closed tpimh closed 1 year ago

tpimh commented 1 year ago

MCP2510, MCP2515 and MCP25625 are marked as "Not Recommended for new designs" on Microchip's website. Suggested replacement is MCP2518FD which seems mostly compatible while also adding CAN FD support. Has anyone tested it with this driver? Does it work?

dimpolo commented 1 year ago

seems mostly compatible

Do you mean the registers?

Unless I'm misunderstanding something the MCP2518FD seems to have a very different interface.

tpimh commented 1 year ago

You are correct. My first impression was that MCP2518FD was meant almost as a drop-in replacement for MCP2515 with additional extra features, however upon closer examination, it is very different. The drivers that support both MCP251x and MCP251xFD usually have two separate implementations for both families. Since I don't need CAN FD, it's much easier to stick with MCP2515.

dimpolo commented 1 year ago

Alright :) Thanks for clarifying!