100BASE-T1 SPY 12 Port
User Manual
34
4
STRUCTURE OF AN ETHERNET 100BASE-T1_SPY
RAW FRAME.
4.1
Structure of Header
In
Switch Status
, when the user selects a Gigabit Port in the
Output To
field, the packet
received in the selected BroadR-Reach, CAN, LIN of FlexRay port will be logged through
the selected Gigabit Port into an Ethernet RAW frame. The following picture shows the
structure of an Ethernet 100BASET1_SPY RAW frame, in the case that the Header is
enabled in the
Spy Multiplexer
page (see Chapter 5.4.2.), but with the
Keep original
VLANs in Header
option disabled.
Destination
MAC
(6 bytes)
Source
MAC
(6
bytes)
Ethernet
Type
(2
bytes)
Direction
(1 byte)
Time
Stamp
(6 bytes)
Type
(1
byte)
Port
(1
byte)
Extra
(1
byte)
Length
(2
bytes)
Payload
(BR, CAN, LIN,FR
packet)
CRC
(4
bytes)
Ethernet
100BASE-T1_SPY_12_Port
frame header
Figure 4-1: Structure of Ethernet 100BASE-T1 SPY_12_Port Raw Frame
Field Name
N
º
of Bytes
Value
Destination Mac Adress
6
FF:FF:FF:FF:FF:FF
Source Mac Address
6
MAC Address of the device
Ethernet type
2
0x2085 (for CAN/CAN-FD)
Direction
1
0x01 (RX frame)
Time Stamp
6
Time when the packet was received
Port
1
0x01-0x05 (CANA-CANE)
Extra
1
0x00
Length
2
Length of the whole Ethernet frame
Payload
X
CAN encapsulated packet
CRC
4
CRC of the whole packet
Table 4-1: Ethernet 100BASE-T1_SPY_12_Port Raw Frame
Note:
The data Frames are enhanced with additional information as an exact
timestamp and the bus port the data was originally sent on. Timestamps are in 0.04
μs resolution and sync
hronous to all connected lines.
Note:
The Direction field specifies if the frame is being received (Direction 0x01.