Prepare
- Install the adapter’s serial driver if your operating system needs one, and confirm its USB serial port appears in Port.
- Connect CAN H, CAN L, and the required reference ground. Follow the adapter and bus requirements for termination and voltage.
- Close any other serial program that has the port open.
- In a Serial Monitor tab, select the adapter’s Port and set Mode to CAN.
- Set Bitrate to the bus’s actual bitrate, then select Connect.
Read frames
No traffic can mean the bus is idle. Confirm bus activity before you change settings.
Use CAN Monitor decoding to apply a database profile and interpret payloads.
Send a deliberate test frame
Identify the receiver, expected effect, and safe test conditions before you send. Type the frame in hexadecimalid#data form in the send box:
0x123 with four payload bytes. Replace the ID and data with the reviewed test frame for your bus. You can separate byte pairs with spaces or periods. The payload can’t exceed eight bytes.
An ID longer than three hex digits, or above 0x7FF, is sent as an extended frame. The maximum ID is 0x1FFFFFFF. For example, 00000123#DEADBEEF sends an extended frame with ID 0x123.
For a remote request, follow # with R and a requested length from 0 to 8:
Troubleshoot
- No port: check the USB cable, serial driver, and host permissions.
[CAN adapter rejected command]on connect: confirm that the adapter’s firmware implements SLCAN and supports the selected bitrate.- No frames or repeated bus errors: check the bitrate, wiring, termination, and bus activity.
[CAN send failed: ...]: use hexadecimal byte pairs, no more than eight bytes, and an ID within 29 bits.- Unexpected extended ID: remove leading zeros that make a standard ID longer than three digits.
- CAN-FD required: SLCAN carries classic CAN only. Use the fdcanusb path for CAN-FD.