
Harwa Limited engineering team · Last updated 2026-12-01
What is CAN bus
CAN (Controller Area Network) is a serial bus. Several controllers connect to the same two signal wires, CAN high and CAN low. Any node may start a frame when the bus is idle. There is no central master that hands out turns.
A frame carries an identifier and up to eight data bytes in Classical CAN. The identifier is also the priority. Other nodes read the identifier and decide whether the data is for them. They do not need a source address in the basic frame.
Engineers meet CAN in machines, vehicles, and lab benches because one pair of wires can replace a bundle of discrete signals. The cost is that everyone must agree the bit rate, the identifiers, and the meaning of the bytes.
On a Windows PC, CANsignal Suite can sit on that bus through a compatible USB-CAN adapter, or it can imitate the bus with Virtual CAN when the wires are not there yet.
Why CAN is used
The wiring is the first reason. Two signal wires, plus ground, reach every node. Adding a node means tapping that pair, not running a new cable back to a central controller. Stubs must stay short. The trunk is the long part.
The electrical layer is differential. CAN high rises when CAN low falls, so noise that hits both wires is largely ignored by the receiver. That is why the bus survives a factory floor better than a single-ended serial line of the same length.
Priority is in the identifier, not in a scheduler. A low identifier keeps transmitting if it collides with a higher one. A safety frame can be given a low ID and it will win without a software queue. That only works if the team actually assigns IDs that way.
The robustness people quote is mostly the error counters and the automatic retransmission, described later. None of that helps if the two terminators are missing or if two nodes are configured for different bit rates.
The CAN frame field by field
A Classical CAN data frame starts with a dominant start-of-frame bit. Then comes the identifier, 11 bits or 29 bits. Control bits say whether this is a remote frame and whether the identifier is extended. The data length code says how many data bytes follow, from 0 to 8.
The data field is those bytes and nothing else. Meaning is a private agreement, or a higher-layer protocol such as CANopen®. The CRC lets every node check the frame. A delimiter and the ACK slot follow. Every node that received the frame correctly drives the ACK slot dominant.
End of frame is seven recessive bits. Three more recessive bits are the interframe space before anyone may start the next frame. If you count a standard data frame without stuff bits, 47 bits plus 8 times the data length is the usual estimate, plus the interframe space.
Stuff bits are inserted so a run of five identical bits is broken. They are not part of the data, but they do take time on the wire. Worst-case load estimates add them. The load calculator has a switch for that allowance.
11-bit vs 29-bit IDs
An 11-bit identifier is the standard frame. It is enough for 2048 values, of which a few are reserved by practice. It is shorter on the wire, so the same payload uses less of the bus.
A 29-bit identifier is the extended frame. It exists so large systems can encode more fields into the ID itself. The frame is longer. A bus can carry both types if every node is built to accept both. A node that rejects extended frames will flag them as errors.
Do not mix them by accident. A standard ID 0x100 and an extended ID 0x100 are different frames. Trace shows which kind arrived. Filters should say which kind you meant.
CANsignal Suite in this release speaks Classical CAN only. CAN FD is planned and is not in this release.
Arbitration
When two nodes start together, they send identifier bits from the top. A dominant bit (0) overrides a recessive bit (1). The node that sees a dominant bit while it sent recessive stops and becomes a receiver. The lower numerical ID continues.
That comparison is bit by bit, and it only works if every node samples the bit at the same place. If the sample points disagree, a node can think it won when it lost. Bit timing is not a detail you leave at the default without checking.
Arbitration is not a guarantee of bandwidth. A node that always loses can be starved if a lower ID is sent too often. Count the frames. Bus utilisation, and the load calculator, tell you whether the priority scheme still leaves room.
Remote frames ask for data. Many systems never use them. If you see a remote frame you did not plan, treat it as a configuration surprise, not as normal traffic.
Bit rate and bit timing
The bit rate is the number of bits per second: 125 kbit/s, 250 kbit/s, 500 kbit/s, and 1 Mbit/s are the common Classical CAN choices. Every node on one bus uses one rate. There is no negotiation in Classical CAN.
The controller divides a bit into time quanta. One quantum is the sync segment. Then propagation plus phase segment 1, then phase segment 2. The sample point sits between the two phase segments. A later sample point tolerates a longer bus. An earlier one tolerates a sloppier clock.
The bit timing calculator searches prescaler, TSEG1, TSEG2, and SJW for a clock and a target sample point. Use it before you copy a register value from a different board.
A bus that is perfect on Virtual CAN and silent on the wire is often a rate mismatch or a sample point that is too early for the cable length. Check the rate first. It is the cheaper mistake.
Termination and wiring
A CAN bus is a transmission line. Each end of the trunk gets a 120 ohm resistor. Two of them in parallel measure about 60 ohm between CAN high and CAN low when the bus is unpowered and no third resistor is hiding in a connector.
Stubs are the short drops from the trunk to a node. Keep them short relative to the bit time. A star of long cables is not a CAN bus, even if every plug fits. The wiring guide is the measurement procedure.
Shielding and ground still matter. The differential pair rejects a lot of noise and not all of it. A shield connected at one end, and a ground that is not carrying motor current, is the usual arrangement. Follow the machine drawing rather than a generic picture if you have one.
Error frames, error counters, bus-off
A node that sees a format error, a CRC error, a bit error, a stuff error, or an acknowledgement error transmits an error frame. That frame destroys the bad data so nobody accepts it. The sender may retry.
Each node keeps a transmit error counter and a receive error counter. The node is error active, then error passive, then bus-off as the counters climb. Bus-off means the node stops talking. It is a protection, not a mystery.
The practical causes are still wiring, rate, a connector, or a node that is electrically wrong. The error guide is the checklist. Fault injection in CANsignal Suite lets you test how your own node behaves when a heartbeat or a value goes bad.
Higher-layer protocols
CAN itself does not say what a byte means. CANopen® does. It puts an Object Dictionary on each node and defines SDO, PDO, NMT, heartbeat, EMCY, and LSS. That is the higher layer this software implements screens for. The CANopen guide starts from there.
J1939 is another higher-layer protocol, common on heavy vehicles. It uses the 29-bit identifier to carry a parameter group. This release does not decode J1939. Mentioning it here is only so you do not expect that decoder in the current build.
If your specification is a private list of 11-bit IDs and byte layouts, you do not need either higher layer. Trace and Live Graphs are enough, once you tell the project which bytes are the signal.
How to simulate a CAN bus

Virtual CAN is a software bus. Connect it, add the nodes that are missing on the bench, and run signal generators. The other nodes in the project see the frames. A controller that only exists on a connector does not.
The simulation guide is the click path. The simulator page is the product description. Start there if the hardware is late and the test should not be.
Keep the bit rate honest even on Virtual CAN. A project saved at 250 kbit/s will be wrong on a 500 kbit/s bench later, and the frames will look fine until that day.
How to monitor and diagnose a CAN bus

Connect a compatible USB-CAN adapter at the right rate. Open Trace before any summary. If Trace is empty, the problem is rate, wiring, power, or a node that is bus-off. A summary screen will not invent frames.
Live Graphs shows a signal over time. Bus utilisation splits traffic. Heartbeat Monitor and Network Diagnostics are the CANopen® views and they name a node when they can. The monitoring page and the diagnostic tool are the product pages.
Write down the identifier, the period, and the data before you change a terminator or a setting. The next person, including you tomorrow, needs that note more than a theory.
Questions engineers ask
Does CAN need a master?
No. Any node may transmit when the bus is idle. The identifier decides who wins a collision.
How many data bytes are in a Classical CAN frame?
Zero to eight. Longer payloads are a CAN FD feature, and CAN FD is not in this release.
What should termination measure?
About 60 ohm between CAN high and CAN low, bus unpowered, with two 120 ohm resistors fitted.
Can I try this without hardware?
Yes. Virtual CAN in CANsignal Suite needs no adapter. The trial is 28 days.