A compact USB to dual isolated CAN-FD interface featuring high-speed communication and isolation for robotics and industrial applications.
- Dual CAN-FD Channels: Independent channels supporting up to 8 Mbit/s
- USB High-Speed: 480 Mbps
- Galvanic Isolation: 3kV
- Software-Controlled Termination: Split-type termination with PhotoMOS isolation
- Status Indicators: Green link/activity and orange termination LEDs per channel
- Compact Design: 57mm × 18mm × 59mm aluminum enclosure
- Linux SocketCAN Compatible: Firmware based on CANnectivity project
- Dimensions: 57mm (W) × 18mm (H) × 59mm (L)
- Material: Aluminum enclosure
- 3D Model: STEP file included (
shell.stp)
- MCU: HPM5321
- USB: Type-C connector, USB 2.0 High-Speed
- Isolation: CA-IS3721HS digital isolators
- Protection: Low capacitance ESD diodes
- Channels: 2 independent CAN-FD channels
- Data Rate: Up to 8 Mbit/s (CAN-FD)
- Termination: Software-controllable split termination per channel
- Connectors: Spring-type push-in PCB terminal blocks
- Complete Altium Designer project files
- Schematic PDF
- 3D enclosure model (STEP)
- PCB renders and enclosure images
The device firmware is based on the CANnectivity project, providing native Linux SocketCAN support for seamless integration with existing CAN tools and applications.
The firmware source code is available in our repository: https://github.com/cck56/cannectivity-hpm5321
Method 1: USB ISP Mode
- Enter ISP Mode: Press the BOOT button, then plug in the USB cable.
- Flash: Use the HPMicro Manufacturing Tool to download the firmware.
Method 2: JTAG/SWD
- Direct Flash: Use a J-Link or similar debugger to flash the
firmware/dualcanfd_hpm53_1223.hexfile directly.
Configure the CAN interface on Linux:
sudo ip link set can0 type can bitrate 1000000 dbitrate 5000000 fd on termination 120This sets up can0 with 1 Mbps nominal bitrate, 5 Mbps data bitrate, CAN-FD enabled, and 120Ω termination.

