Arduino library for available MCP2515 standalone CAN controller modules.
DLK_MCP2515(spi_speed, cs_pin, hw_cs_pin = false, which_spi = SPI0_NUM);
SPIs | Ints | SW_CS | HW_CS |
---|---|---|---|
2 | 4 | many | 2 (1-each SPI port, Pi Pico only) |
- 1 SPI port with SW CS only
- 2 INT interrupt pins
- up to 2 SPI devices with interrupts (limited by INT pins)
- many SPI devices without interrupts (limited by GPIO pins for SW CS)
- 1 SPI port with SW CS only
- many GPIO interrupt pins
- up to 4 SPI devices with interrupts (total limited by DLK_MCP2515 Library)
- many SPI devices without interrupts (limited by GPIO pins for SW CS)
- 2 SPI ports optionally supporting HW CS or SW CS
- many GPIO interrupt pins
SPI0:
- up to 4 SPI devices with interrupts (total limited by DLK_MCP2515 Library)
- 1 SPI device only with HW CS
- many SPI devices without interrupts (limited by GPIO pins for SW CS)
SPI1:
- up to 4 SPI devices with interrupts (total limited by DLK_MCP2515 Library)
- 1 SPI device only with HW CS
- many SPI devices without interrupts (limited by GPIO pins for SW CS)
- 1 SPI port with SW CS only
- many GPIO interrupt pins
- up to 4 SPI devices with interrupts (total limited by DLK_MCP2515 Library)
- many SPI devices without interrupts (limited by GPIO pins for SW CS)
- 1 SPI port with SW CS only
- NO GPIO interrupt pins
- No SPI devices with interrupts
- 1 SPI device without interrupts (limited by GPIO pins for SW CS)
- 2 SPI ports with SW CS only
- NO GPIO interrupt pins
- No SPI devices with interrupts
- many SPI devices without interrupts (limited by GPIO pins for SW CS)