CAN/FD Waveform Simulator/Analyzer
Frame configuration
Results
Result details · SBC 0
SBC: 0 mod 8 · 3-bit Gray code + even parity
The horizontal axis is elapsed time from SOF (μs); numbers above it are wire bit indices. Widths follow configured rates; BRS and CRC DEL use an 80% sample point in each phase.
The ACK slot is dominant 0 when a receiver acknowledges the frame.
Fields and bit indices
| Field | Wire indices | Bits | Stuff bits |
|---|---|---|---|
| SOF | 0–0 | 1 | 0 |
| ID-A | 1–11 | 11 | 0 |
| RRS | 12–12 | 1 | 0 |
| IDE | 13–13 | 1 | 0 |
| FDF | 14–14 | 1 | 0 |
| res | 15–15 | 1 | 0 |
| BRS | 16–16 | 1 | 0 |
| ESI | 17–17 | 1 | 0 |
| DLC | 18–21 | 4 | 0 |
| DATA[0] | 22–31 | 10 | 2 |
| DATA[1] | 32–40 | 9 | 1 |
| DATA[2] | 41–49 | 9 | 1 |
| DATA[3] | 50–58 | 9 | 1 |
| DATA[4] | 59–67 | 9 | 1 |
| DATA[5] | 68–76 | 9 | 1 |
| DATA[6] | 77–85 | 9 | 1 |
| DATA[7] | 86–93 | 8 | 0 |
| SBC | 94–99 | 6 | 2 |
| CRC | 100–120 | 21 | 4 |
| CRC DEL | 121–121 | 1 | 0 |
| ACK | 122–122 | 1 | 0 |
| ACK DEL | 123–123 | 1 | 0 |
| EOF | 124–130 | 7 | 0 |
| IFS | 131–133 | 3 | 0 |
Complete bitstream (including IFS)
00010010001100101010000010000011000001010000010011000001100000100101000001110000010111000010001000011011001110101011000101011111111111
Glossary
- ACK
- AcknowledgementA node that receives the frame correctly drives dominant 0 in the ACK slot. The transmitter sends recessive 1 in that slot.
- BRS
- Bit Rate SwitchWhen set to 1, the rate changes at the BRS sample point and returns to the nominal rate at the CRC delimiter sample point.
- Bus occupancy
- Bus Occupancy TimeFrame duration plus the three intermission bits at the nominal rate.
- CAN
- Controller Area NetworkClassical CAN supports up to 8 payload bytes and remote frames that request data.
- CAN FD
- CAN with Flexible Data RateSupports up to 64 payload bytes and can switch to the data bit rate within a frame.
- CAN_H
- CAN HighHigh line of the high-speed CAN bus. Typical levels are 3.5 V dominant and 2.5 V recessive.
- CAN_L
- CAN LowLow line of the high-speed CAN bus. Typical levels are 1.5 V dominant and 2.5 V recessive.
- CRC
- Cyclic Redundancy CheckDetects transmission errors. Classical CAN uses 15 bits. CAN FD uses 17 or 21 bits according to payload length.
- CSV
- Comma-Separated ValuesTabular export with one row per bit, including its value, field and stuffing type.
- DATA
- Data FieldDATA[n] identifies the payload byte at zero-based index n.
- Data bit rate
- Data Bit RateWith BRS enabled, this rate applies from the BRS sample point to the CRC delimiter sample point.
- DEL
- DelimiterCRC DEL and ACK DEL are recessive delimiters. With BRS enabled, the CRC delimiter contains the switch back to the nominal rate.
- DLC
- Data Length CodeA 4-bit wire code. In CAN FD, DLC 9–15 represent 12, 16, 20, 24, 32, 48 and 64 bytes respectively.
- Dominant
- Dominant BitLogical 0. A node driving a dominant level makes the bus read dominant.
- EOF
- End of FrameSeven recessive bits mark the end of the frame. Frame duration ends at the end of EOF.
- ESI
- Error State IndicatorA CAN FD transmitter uses 0 for error active and 1 for error passive.
- F
- Fixed Stuff BitA complementary bit inserted at a prescribed position in the ISO CAN FD CRC field.
- FDF
- FD Format IndicatorA recessive 1 in this position identifies an FD frame.
- Frame duration
- Frame DurationElapsed time from the SOF leading edge to the end of EOF at the configured rates.
- HEX
- HexadecimalBase-16 notation using 0–9 and A–F. Two hexadecimal digits represent one byte.
- ID
- IdentifierFrame identifier used in bus arbitration. Standard format has 11 bits and extended format has 29.
- ID-A / ID-B
- Base and Extended IdentifierID-A carries the base 11 identifier bits. ID-B carries the additional lower 18 bits of an extended frame.
- IDE
- Identifier Extension0 indicates standard identifier format and 1 indicates extended format.
- IFS
- Interframe SpaceThis tool includes the minimum three intermission bits after EOF in the bus occupancy time.
- ISO
- International Organization for StandardizationISO CAN FD frames include the stuff count and its parity bit.
- JSON
- JavaScript Object NotationStructured text export containing the frame configuration, results and wire bits.
- NACK
- No AcknowledgementThe ACK slot stays recessive 1 when no receiver acknowledges. Select NACK to inspect that slot level.
- Nominal bit rate
- Nominal Bit RateUsed during arbitration and the frame tail. With BRS off, it applies to the entire frame.
- Recessive
- Recessive BitLogical 1. The bus reads recessive when no node drives it dominant.
- RES
- Reserved BitReserved position labeled res, r0 or r1 in the waveform.
- RRS
- Remote Request SubstitutionCAN FD carries data frames only and transmits dominant 0 in this position.
- RTR
- Remote Transmission RequestIn Classical CAN, 0 indicates a data frame and 1 indicates a remote frame. Remote frames carry no payload.
- S
- Dynamic Stuff BitIn fields subject to dynamic stuffing, an opposite bit is inserted after five consecutive equal bits.
- Sample point
- Sample PointThe point within a bit where the controller reads the bus level. The waveform uses 80% in each phase for rate transitions.
- SBC
- Stuff Bit CountISO CAN FD encodes the dynamic stuff count modulo eight with three Gray-code bits and one even parity bit.
- SOF
- Start of FrameThe dominant start bit. The time axis starts at its leading edge.
- SRR
- Substitute Remote RequestAn extended frame sends recessive 1 after the base identifier in this position.
- SVG
- Scalable Vector GraphicsVector image export of the waveform and time axis in the current display mode.
How to Use
- Select Classical CAN or ISO CAN FD and an 11-bit or 29-bit identifier.
- Enter the hexadecimal ID, select DLC and enter payload bytes. Missing bytes are zero-padded; excess tail bytes are trimmed. Use contiguous hex pairs or space-separated complete bytes, or click “Random” to fill the entire payload.
- Inspect the automatically updated CRC, stuff counts and waveform. Select “Logic level” or “Differential level”, then click a bit or enter its index to navigate.
- Copy the complete bitstream or export CSV, JSON or SVG.
Supported Frames
| Parameter | Description |
|---|---|
| Classical CAN | 11-bit or 29-bit ID; data and RTR remote frames; CRC-15 |
| ISO CAN FD | 11-bit or 29-bit ID; BRS, ESI; CRC-17 / CRC-21 |
| Identifier | Standard 000–7FF; extended 00000000–1FFFFFFF; optional 0x prefix |
| Payload | Missing bytes are zero-padded. Increasing DLC preserves existing bytes and appends zeros. Decreasing DLC keeps the leading bytes and trims the tail; DLC 0 clears the payload. Calculations use the adjusted data immediately; it is written back when editing ends. |
| Acknowledgement | ACK renders the ACK slot as dominant 0. NACK renders it as recessive 1. |
CAN FD uses the ISO format. RTR applies only to Classical CAN: remote frames carry no payload, and DLC specifies the requested length.
DLC and Payload Length
| DLC | Classical CAN bytes | CAN FD bytes |
|---|---|---|
| 0–8 | Same as DLC | Same as DLC |
| 9 | 8 | 12 |
| 10 | 8 | 16 |
| 11 | 8 | 20 |
| 12 | 8 | 24 |
| 13 | 8 | 32 |
| 14 | 8 | 48 |
| 15 | 8 | 64 |
DLC is the 4-bit code transmitted on the wire. Classical CAN preserves selected DLC values 9–15 while carrying 8 bytes.
Waveform and Stuff Bits
Bit widths follow the inverse configured bit rates, with zero-based wire bit indices below. 0 is dominant; 1 is recessive. At 1 Mbit/s nominal and 5 Mbit/s data, an ordinary data bit is 1/5 as wide as a nominal bit. With BRS off, all bits have equal widths. The preview fits the available width by default, adjusting to frame length, bit rates and window size. Select pixels per nominal bit to zoom in manually, or choose “Fit waveform” to return to the complete-frame preview. BRS and CRC delimiter switch rates within the bit; these two widths use an 80% sample point in each phase.
Use the mouse wheel over the waveform to zoom around the pointer. When zoomed in, hold the left mouse button and drag to pan. Double-click to fit the complete frame again. A single click still selects a bit.
The time axis starts at the SOF edge (0 μs) and adjusts its ticks with zoom. Its final label gives the complete duration of the displayed waveform, including the 3-bit intermission when IFS is enabled, or ending at EOF otherwise. Select a bit to see its start and end times.
Differential level shows CAN_H and CAN_L at ideal typical levels for a 5 V high-speed CAN transceiver. Dominant 0 is CAN_H 3.5 V and CAN_L 1.5 V. Recessive 1 is 2.5 V on both lines. CAN_H is solid blue and CAN_L is solid orange. The lines overlap during recessive bits. The plot uses ideal voltage steps. Actual slew, delay and ringing depend on the transceiver and bus.
The ACK and NACK options apply to both waveform views. NACK illustrates the unacknowledged slot level, with length and duration calculated for the complete frame.
- S / Dynamic stuff: an opposite bit follows five equal bits. Classical CAN applies this from SOF through the CRC sequence; ISO FD applies dynamic stuffing through the data region.
- F / Fixed stuff: ISO FD uses fixed stuff bits in the CRC region, opposite to the preceding bit.
- SBC: dynamic stuff count modulo 8, encoded as 3-bit Gray code plus even parity.
- CRC: Classical CAN uses CRC-15. ISO FD uses CRC-17 for up to 16 bytes and CRC-21 for 20–64 bytes.
Click a bit for its field, position within the field and stuffing type. The field table shows wire ranges including stuff bits. CSV and JSON always export the complete bitstream with 3-bit IFS. SVG exports the current display mode, time axis, zoom and IFS visibility.
Length, Duration and Load
| Result | Meaning |
|---|---|
| Frame length | SOF through EOF, including all stuff bits |
| Including intermission | Frame length plus the 3-bit intermission, labelled IFS |
| Frame duration | Ideal complete-frame duration at the configured bit rates |
| Bus occupancy | Frame duration plus 3 nominal-rate intermission bits |
With BRS enabled, rate changes occur within the BRS bit and CRC delimiter. Together they contribute one nominal bit time and one data bit time. The logical waveform shows bit values and positions; durations exclude physical transceiver delays, resynchronization and retransmissions.
Related tools
Use the SocketCAN Command Generator to configure Linux CAN interfaces and build commands for sending, receiving and logging frames.