The MCP2515 CAN is an SPI device in the LabWired part catalog. Its catalog type is mcp2515. It connects to the MCU over SPI. The catalog gives a supply range of 2.7–5.5 V. It has 9 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.
From the catalog: SPI register shell; CAN wire frames not modelled.
| Category | SPI devices |
|---|---|
| Catalog type | mcp2515 |
| Interface | SPI |
| Supply range | 2.7–5.5 V |
| Pins | 9 |
| Datasheet | Microchip MCP2515 datasheet |
Simulated device model
Built from the datasheet. Implemented from the part’s register documentation and exercised by automated tests. Nothing physical was ever placed next to it.
| Pin | Electrical type | Function |
|---|---|---|
VCC | Power input | Supply |
GND | Power input | Supply |
CS | Input | SPI chip select (CS) |
SCK | Input | SPI clock (SCK) |
SI | Input | SPI data out of the MCU (MOSI) |
SO | Output | SPI data into the MCU (MISO) |
INT | Output | — |
CANH | Passive | — |
CANL | Passive | — |
Modelled from Microchip MCP2515 datasheet.