This manual introduces the functions and usage methods of the JetBox 8152 Linux CANBus card, mainly including hardware configuration, software configuration and library function reference
This manual provides instructions for configuring and programming the JetBox 8152's CANBUS interface. It covers hardware setup including DB9 pin assignments and termination resistors, and software installation using Linux tools like GCC and OpenSSL. The guide also explains how to use the Korenix CANbus library, including functions for initializing, sending, and receiving CAN messages, with details on baud rate settings and error handling.
The document includes technical references to the SJA1000 CAN controller chip, memory mapping, and interrupt handling, along with tables for baud rates and error codes. It is intended for developers and engineers working with industrial automation systems using CANBUS communication.
| CANBUS Port | DB9 connector |
|---|---|
| Termination Resistor | 120 Ω |
| Minimum Speed | 20 kbps |
| Maximum Speed | 1 Mbps |
| CAN Controller Chip | SJA1000 |
The default baud rate is 125K bps, but can be configured using the Baud Rate Table.
Use the Can_Chip_Reset() function to reset the CAN controller to default state.
GCC, OpenSSL, and OpenSSL-devel must be installed using 'yum install' commands.