The can2040 project is a software CAN bus implementation for Raspberry Pi rp2040 micro-controllers. It enables an rp2040 chip to implement CAN bus using a standard CAN transceiver chip.
The code supports reading and writing CAN 2.0B data frames at rates up to 1Mbit per second. See the API document for information on using can2040. The tools document contains information on developer tools that may be useful.
This is a software implementation of CAN bus. See the features document for details about the implementation.