This function allows you to connect your project to a CAN bus, such as those found in most vehicles. It is based on the TCAN332 transceiver and the MCP2515 stand-alone CAN controller, which connects to a microcontroller via a SPI interface.
“autowp” has developed an Arduino library available in his Github repository
- a DB9 connector is fitted on the board so that you can connect to the CAN/ODB2 connector of your vehicle with an adapter cable such as those sold by SparkFun.
- the MCP2515 has an interrupt that can be made available to the host – see the datasheet referenced below for more details