This is a plugin for Saleae logic Analyzers, built with Saleae Analyzer SDK.
For building the plugin, see [https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk/build] (https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk/build)
For installing the plugin, see https://support.saleae.com/faq/technical-faq/setting-up-developer-directory
The analyzer Name is CAN 2.0B (Molinaro)
.
Usual CAN bit rates settings are 1000000
(1 Mbit/s), 500000
(500 kbit/s), 250000
(250 kbit/s), 125000
(125 kbit/s), 62500
(62.5 kbit/s). But you can use any custom setting (maximum is 1 Mbit/s).
Usually, CAN Dominant level is LOW
logic level. This setting enables selecting HIGH
as dominant level.
This setting is only used be the simulator. The simulator is enabled when no device is connected the analyzer.
The ACK SLOT
field of a CAN 2.0B frame is sent recessive, and set dominant by any receiver that gets the frame without any error.
Three settings are available:
Dominant
: the simulator generates frames with the ACK SLOT bit dominant;Recessive
: the simulator generates frames with the ACK SLOT bit recessive;Random
: the simulator generates frames with the ACK SLOT bit randomly dominant or recessive.
This setting is only used be the simulator. The simulator is enabled when no device is connected the analyzer.
You can set the format (standard / extended) and the the type (data / remote) that the simulator generates:
All Types
: the simulator randomly generates standard / extended, data / remote frames;Only Standard Data Frames
: the simulator randomly generates standard data frames;Only Extended Data Frames
: the simulator randomly generates extended data frames;Only Standard Remote Frames
: the simulator randomly generates standard remote frames;Only Extended Remote Frames
: the simulator randomly generates extended remote frames.
##Capture Display
This is the capture of a Standard data frame, identifier 0x7B1
, one data byte (0xF1
), with ACK SLOT
dominant.
By default, the center of a bit is indicated with a white dot.
The green dot is the SOF
(Start Of Frame) field.
A white X
is a Stuff Bit.
A fixed form bit is denoted by a 0
(for a dominant bit) or a 1
(recessive bit). Note the level inversion does not change the annotation.
The RTR
and the SRR
bits are denoted by an up arrow
(if recessive), or a down arrow
(if dominant).
Errors are in red color: a red X
is a Stuff Error, and following bits are tagget with red dots until the bus returns free (11 consecutive recessive bits).
The bubble text is the text over the capture.
All CAN frames fields are reported, but:
- the
SOF
field that is denoted by a green dot. - the
CRC DEL
field, a fixed form recessive bit after theCRC
field.
If a CRC error is detected, the text is CRC: xxx (error)
.
For each frame, the tabular text contains:
- the identifier;
- the data bytes;
- if there is a CRC error, the CRC field;
- the frame bit length, its duration, and the number of stuff bits.