MikroElektronika MCP251xFD Click shields

Zephyr supports a few different MikroElektronika Click shields carrying the Microchip External CAN FD Controllers [1], either with or without integrated CAN FD Transceiver [2].

MikroElektronika MCP2517FD Click shield

Overview

The MCP2517FD Click shield has a MCP2517FD [4] CAN FD controller via a SPI interface and a high-speed ATA6563 [3] CAN transceiver.

More information about the shield can be found at Mikroe MCP2517FD click [7].

MikroElektronika MCP2517FD Click

MikroElektronika MCP2517FD Click (Credit: MikroElektronika)

MikroElektronika MCP2518FD Click shield

Overview

The MCP2518FD Click shield has a MCP2518FD [5] CAN FD controller via a SPI interface and a high-speed ATA6563 [3] CAN transceiver.

More information about the shield can be found at Mikroe MCP2518FD click [8].

MikroElektronika MCP2518FD Click

MikroElektronika MCP2518FD Click (Credit: MikroElektronika)

MikroElektronika MCP251863 Click shield

Overview

The MCP251863 Click shield has a MCP251863 [6] CAN FD controller via a SPI interface with an integrated high-speed ATA6563 [3] CAN transceiver. This CAN FD controller is software compatible with the stand-alone MCP2518FD [5] CAN FD controller.

More information about the shield can be found at Mikroe MCP251863 click [9].

MikroElektronika MCP251863 Click

MikroElektronika MCP251863 Click (Credit: MikroElektronika)

Requirements

These shields use a mikroBUS interface. The target board must define the mikrobus_spi and mikrobus_header node labels (see Shields for more details). The target board must also support level triggered interrupts and SPI clock frequency of up to 18 MHz.

Programming

Set --shield mikroe_mcp2517fd_click or --shield mikroe_mcp2518fd_click or --shield mikroe_mcp251863_click when you invoke west build, for example:

# From the root of the zephyr repository
west build -b lpcxpresso55s28 --shield mikroe_mcp2517fd_click samples/drivers/can/counter
west flash
# From the root of the zephyr repository
west build -b lpcxpresso55s28 --shield mikroe_mcp2518fd_click samples/drivers/can/counter
west flash
# From the root of the zephyr repository
west build -b lpcxpresso55s28 --shield mikroe_mcp251863_click samples/drivers/can/counter
west flash

References