Skip to main content

CAN-bus Expansion Card (Cananka)

The CAN-bus Expansion Card (Cananka) is a community-designed expansion card adding a CAN bus interface to any Framework laptop12. Created by Josip Medved (medo64) and first prototyped in March 2022, it uses a PIC18F25K80 microcontroller and an MCP2221A USB-to-UART bridge, supporting SLCAN and SocketCAN123.

Design

The card is based on Medved's existing Cananka USB-to-CAN adapter, shrunk to fit the expansion card form factor1. It uses a PIC18F25K80 MCU with an integrated CAN controller and an MCP2221A for USB-to-UART conversion1. The external connector is a 4-pin vertical JST PH header with GND, CAN L, CAN H, and V+ (not connected)23.

The card uses a full-size PCB (flush with the frame) and a 3D-printed case1. Two LEDs indicate UART communication and CAN bus activity2. Bus termination is software-controlled1.

The expansion card variant is non-isolated; an isolated full-size version exists in the main Cananka repository3.

Pinout

4-pin JST XH connector (pin 1 on the left, looking into the card)2:

PinSignal
1GND
2CAN L
3CAN H
4V+ (not connected)

Specifications

SpecificationDetails
MCUPIC18F25K80 (integrated CAN controller)1
USB bridgeMicrochip MCP2221A1
Bus speedUp to 1 Mbit/s (125 kbit/s default)23
InterfaceSLCAN (serial), SocketCAN (Linux)23
Serial speedUp to 460,800 baud3
IsolationNon-isolated (expansion card variant)3
TerminationSoftware-controlled1
Connector4-pin JST PH (vertical)12
Indicators2 LEDs (UART activity, CAN activity)2
PCB thickness0.8 mm1
SourceMedo64/CanankaFEC (GitHub)3
LicenseMIT3
ProjectDescription
RS-232 Expansion CardMedved's RS-232 serial card using MCP2221 + MAX232
RS-485 Expansion CardMedved's RS-485 half-duplex card using FT232RL

Footnotes

  1. Cananka for Framework Laptop — Medo's Home Page (Josip Medved, March 2022) 2 3 4 5 6 7 8 9 10 11

  2. Cananka Framework Expansion Card — Medo's Home Page 2 3 4 5 6 7 8 9

  3. Medo64/CanankaFEC — GitHub (MIT) 2 3 4 5 6 7 8 9