SDK Introduction
The KH-UCANFD Linux SDK provides a Linux driver and command-line tools for Kunhong CAN FD devices. Applications use the standard SocketCAN interface to send and receive frames.
Core Advantages
Standard Protocol Compatibility
Use the SocketCAN Command Generator to build interface configuration and status inspection commands.
Fully supports SocketCAN standard interface, seamlessly integrating with tools and libraries such as cansend, candump, and python-can.

Extreme Performance
Optimized for multi-channel high-traffic concurrent scenarios, supporting CAN FD bus full-load operation.
Broad Environment Adaptation
- Architecture: Supports x86_64, ARM32, ARM64 architectures
- Kernel: Crosses Linux 2.6.x to 6.x full versions
- Linux Real-time Extensions: Perfectly adapts to Xenomai and RTAI (RTDM)
Flexible Deployment
Released as source code, supporting local compilation and cross-compilation.
Hardware Support
Adapts to Kunhong CAN FD series hardware devices:
- KH-UCANFD-Mini Series (e.g., 6-channel high-performance interface cards)
- KH-UCANFD-PCIe/USB Series
For more supported device models, please refer to the "Product Selection Manual".
Dedicated Monitoring Tools
To facilitate developer debugging, the SDK comes with two command-line tools customized for hardware features:
- lskcan: Quickly list and configure all KH-UCAN device statuses
- kcan_monitor: Real-time monitoring of CAN bus status and data frame statistics