Protocol analysis
R&S
®
RTO6
591
User Manual 1801.6687.02 ─ 05
Data setup: DLC, NDB, Transfer, Condition, Data min, Data max
The data setup consists of the transfer direction, the number of bytes, the condition,
and one or two data patterns.
To trigger only on data, set the "ID type" of the identifier setup to "Any".
"Transfer"
CAN only:
Sets the byte order (endianness) of the data transfer. With "Big
endian", the data is analyzed and evaluated in the order of reception.
With "Little endian", the instrument reads the complete data, reverses
the byte order of the data, and compares it with the specified data
word.
"DLC, NDB"
"DLC" sets the Data Length Code, which defines the number of data
bytes to be found.
"NDB" shows the number of data bytes that is set by the DLC. DLC
and NDB are different in CAN FD for DLCs
>
8.
CAN:
For Big Endian transfer direction, you can trigger on a number of
bytes less than the data length of the frame, that means, on the first
bytes that are transmitted. For Little Endian transfer direction, the
exact number of data bytes in the frame must be set.
Example: The data word to be sent is
12 34 56
, and it is sent little
endian by the LIN node. With Data length ≥ 2 and Transfer = Big
endian, you trigger on the data of the first two bytes, that is
56 34
.
With Data length = 3 and Transfer = Little endian, you trigger on the
required data word
12 34 56
.
CAN FD:
The data field can have up to 64 bytes, the DLC is defined in the
standard. For example, DLC = 9 defines that the data field has 12
bytes, and DLC = 15 sets a 64 byte data field.
"Condition"
Sets the operator to set a specific data pattern ("Equal" or "Not
equal") or a data range.
"Data min"
Defines the data pattern. The pattern length is adjusted to the DLC
setting (and vice versa). Enter the pattern MSB first and with big
endian byte order.
In binary format, use the following characters: 1; 0; or X (do not care).
To enter the pattern in other formats use the bit pattern editor, see
Chapter 13.1.7, "Bit pattern editor"
"Data max"
The second data pattern is required to specify a range with conditions
"In range" and "Out of range".
Remote command:
CAN and CAN FD (option R&S
RTO6-K520)