Canis Labs CANPico Shield

Overview

The Canis Labs CANPico shield supports the Microchip MCP2517FD or MCP2518FD stand-alone CAN controller and Microchip MCP2562FD high-speed CAN FD transceiver. The CANPico is a carrier board in a ‘sock’ format for a Raspberry Pi Pico family.

Canis_Labs_CANPico_SHIELD

Hardware

  • MCP2517/2518FD

    • External CAN FD Controller with Serial Peripheral Interface (SPI)

    • Arbitration Bit Rate up to 1 Mbps

    • Data Bit Rate up to 8 Mbps

    • CAN FD Controller modes: CAN 2.0B Mode or Mixed CAN 2.0B and CAN FD Mode

    • Conforms to ISO 11898-1:2015

  • MCP2562FD

    • Optimized for CAN FD (Flexible Data rate) at 2, 5 and 8 Mbps Operation

    • Maximum Propagation Delay: 120 ns

    • Implements ISO-11898-2 and ISO-11898-5 Standard Physical Layer Requirements

    • Very Low Standby Current (5 µA, typical)

    • VIO Supply Pin to Interface Directly to CAN Controllers and Microcontrollers with 1.8V to 5.5V I/O

  • Connectivity

    • Jumper header to enable a 120W CAN bus termination resistor

    • Jumper header to enable the CAN TX line to the transceiver

    • Screw terminal connector to CAN bus

    • CAN controller interrupt and Start-of-Frame inputs to GPIO pins

    • Direct access via GPIO pins to the CAN transceiver Tx and Rx pins

    • Test instrument header (for an oscilloscope or logic analyzer)

Name

Function

Usage

GP0

None

GP1

None

GP2

TRIG

Programmable trigger

GP3

STBY

Transceiver standby

GP4

SOF

Clock/SOF

GP5

IRQ

Transceiver interrupt

GP6

None

SPI CS

GP7

None

GP8

SPI1_Rx

SPI Rx

GP9

None

GP10

SPI1_SCK

SPI clock

GP11

SPI1_Tx

SPI Tx

GP12

None

GP13

None

GP14

None

GP15

None

GP16

None

GP17

None

GP18

None

GP19

None

GP20

None

GP21

Rx

CAN Rx data

GP22

Tx

CAN Tx data

GP23

None

GP24

None

GP25

None

GP26

None

GP27

None

GP28

None

  • Test header

    • TRIG: Programmable trigger output

    • Tx: Logic-level CAN Tx data

    • Rx: Logic-level CAN Rx data

    • H: Raw CAN-Hi signal

    • L: Raw CAN-Low signal

  • Power Supply

    • 3.3V ~ 5V

  • Components

    • Tx Enable jumper

    • 120 ohm terminator jumper

For more information about the Canis Labs CANPico shield:

Programming

Set --shield canis-canpico when you invoke west build or cmake in your Zephyr application. For example:

Using west:

# From the root of the zephyr repository
west build -b rpi_pico --shield canpico samples/drivers/can/counter
west flash

Using CMake and ninja:

# From the root of the zephyr repository
# Use cmake to configure a Ninja-based buildsystem:
cmake -Bbuild -GNinja -DBOARD=rpi_pico -DSHIELD="canpico" samples/drivers/can/counter

# Now run the build tool on the generated build system:
ninja -Cbuild
ninja -Cbuild flash