> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SLCAN adapters

> Monitor classic CAN and send test frames through a USB serial adapter running SLCAN (Lawicel-style) firmware.

Use the SLCAN path for an adapter running compatible Lawicel-style serial firmware, such as SLCAN firmware on a CANable, CANtact, or CANUSB. The firmware matters: a product name alone doesn't mean the adapter speaks this protocol.

SLCAN handles classic CAN with standard or extended IDs and up to eight payload bytes. For CAN-FD, use [fdcanusb](/docs/debug-mode/fdcanusb.md).

## Prepare

1. Install the adapter's serial driver if your operating system needs one, and confirm its USB serial port appears in **Port**.
2. Connect CAN H, CAN L, and the required reference ground. Follow the adapter and bus requirements for termination and voltage.
3. Close any other serial program that has the port open.
4. In a **Serial Monitor** tab, select the port chip at the start of the toolbar, choose the adapter under **Port**, and set **Mode** to **CAN**.
5. Set **Bitrate** to the bus's actual bitrate, then select **Connect**.

**Bitrate** offers 10, 20, 50, 100, 125, 250, 500, and 800 kbit/s, and 1 Mbit/s. The default is 500 kbit/s.

The serial baud rate and the CAN bus bitrate are separate settings. In **CAN** mode the tab doesn't show **Baud** and doesn't detect it. If your adapter needs a particular USB serial baud rate, set **Baud** in **UART** mode first, then switch to **CAN**.

Connecting closes the adapter's CAN channel, sets the selected bitrate, and opens the channel again. Disconnecting closes the channel. Both change the adapter's configuration, even if you only plan to read frames.

## Read frames

```text theme={"theme":"css-variables"}
Open the selected SLCAN-compatible CANable in CAN mode at 500 kbit/s.
Read for five seconds without sending test frames. Report IDs, payloads,
and any adapter errors or bus status messages.
```

The tab shows each frame's ID, payload length, and bytes, and marks remote requests. It also shows messages the adapter reports:

| Message | Meaning |
| - | - |
| `[CAN adapter rejected command]` | The adapter refused a command, such as the bitrate or a frame. |
| `[CAN status: ...]` | Bus status flags the adapter reported: `RX FIFO full`, `TX FIFO full`, `error warning`, `data overrun`, `error passive`, `arbitration lost`, or `bus error`. |

No traffic can mean the bus is idle. Confirm bus activity before you change settings.

Use [CAN Monitor decoding](/docs/debug-mode/can.md#decode-signals) 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 hexadecimal `id#data` form in the send box:

```text theme={"theme":"css-variables"}
123#DEADBEEF
```

This example is ID `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:

```text theme={"theme":"css-variables"}
123#R8
```

After you send, check the observed response and the bus status. A submitted frame doesn't prove the receiving application acted on it.

## 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](/docs/debug-mode/fdcanusb.md) for CAN-FD.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.