Professional Documents
Culture Documents
Wiring
CAN bus requires two wires for CAN H and CAN L signals, It is a multi-master serial bus
standard for connecting devices known as nodes. Multiple devices can be connected to the
bus. The nodes can be a simple I/O device or a complex embedded computer. The node may
be a gateway to other standard buses like Ethernet or USB.
CAN bus physical layer is specified in ISO 11898-2:2003. It defines voltage, current and the
number of conductors. The exact voltages for a logical 0 or 1 depend on the physical layer
used, typical values are given below. Optical isolation is sometimes used
to provide protection from overvoltage transients between the CAN bus cable network and
the nodes connected to it. Isolation also eliminates ground loops in the network, reduces
signal distortion and errors, and provides protection from voltage/ground mismatches.
CAN bus must be correctly terminated. The high speed bus is terminated into a 100 ohm
load and the low speed bus into a 120 ohm load. The CAN bus has no clock line; data is
transmitted in an asynchronous format.
Logic 1 is called the Idle, or recessive state, is typically biased at +2.5 V for both CAN H and
CAN L.
Logic 0 is called the active, or dominant state, is typically driven down to +1.5 V for CAN
L and up +3.5 V for CAN H.
Signaling
Data is transferred in blocks called frames. Each message starts with an ID identification.
The ID must be unique for each node on any defined network otherwise errors will occur due
to transmission beyond the end of the arbitration field.
All nodes on a CAN network must operate at the same nominal bit rate; since no separate
clock line is provided a means of synchronizing the nodes is necessary. Synchronization is
important during arbitration since the nodes in arbitration must be able to see both their
transmitted data and the other nodes transmitted data at the same time. Synchronization
starts with the first recessive to dominant transition after a period of bus idle, this is the start
bit.
Open the PicoScope 6 application, turn on channels A and B and set both to Auto. Set the
buffer memory to 1 MS and the timebase to 10 ms/div.
Now capture some data then select stop. The display should be similar to the screenshot
here.
With the mouse, click the CAN Ch A bus decoded waveform and drag it down to a clear space
on the screen. Do the same with CAN Ch B bus to display the two decoded CAN buses (CAN L
& CAN H). The display should look like the one on the right.
Zoom into data frames using the Horizontal Zoom menu at the top of screen. Select x 10.
To see more information about each data packet, hover the mouse over the selected packet
in the decoded bus display.