FlexRay Cycles

Vehicle Spy's FlexRay Cycles view is a nice visual aid for understanding FlexRay concepts such as cycles, static frames, dynamic frames, and channels A and B. FlexRay Cycles view is opened from the Spy Networks menu.

After selecting the desired Network at the top, FlexRay Cycles view will show cluster activity for all connected nodes after going online with ICS hardware previously configured using FlexRay Controllers view.

Example of FlexRay Cycles View with an Active Cluster

Figure 1 shows an example of the FlexRay Cycles view for an active cluster. Each major row in the table represents one FlexRay cycle that has two minor rows representing channels A and B. The major row in the top window pane (Figure 1:) displays the last cycle completed. The number on the top right is the total number of frames detected. Loading a VS3 setup file resets the frame counter to zero.

The major rows in the lower window pane(Figure 1:) display the history of previous cycles completed. The negative numbers on the right indicate the previous cycle (-1), the next previous cycle (-2), etc.


Figure 1: An example of FlexRay Cycles view showing the static and dynamic frames on channels A and B for an active cluster.

Different colors show the various segments within each cycle as described in Table 1.

Table 1: FlexRay Cycles Color Codes

Color Cycle Segment Segment Width
Light green Static slot Duration of static slot in macroticks.
Blue Dynamic slot Estimated duration of dynamic slot in macroticks assuming no dynamic frames exist. Dynamic slot widths can change depending upon dynamic frame traffic.
Red Symbol window Duration of symbol window in macroticks.
Green Network idle time Duration of network idle time in macroticks.
White Frame Length of data payload.

What Else Does the Example Show?

The example in Figure 1 shows 25 static slots and 15 dynamic slots. Both channels A and B have traffic, but not the same traffic.

For the current cycle (top window pane): For the previous cycle (-1):
Channel A
Static frames 1, 2, and 3 with 20 byte payloads.
No dynamic frames.

Channel B
Static frames 1 and 2 with 20 byte payloads.
Dynamic frame 28 with 50 byte payload and frame 32 with 10 byte payload.
Channel A
Static frames 1, 2, and 3 with 20 byte payloads.
Dynamic frame 26 with 254 byte payload.

Channel B
Static frames 1 and 2 with 20 byte payloads.
Dynamic frame 30 with 100 byte payload.

FlexRay Highlights

The following information is provided for quick reference regarding items on FlexRay Cycles view:

Cluster

Nodes

Channels

Cycles

Table 2: Examples of Cycle Sets for Dynamic Frames

Base Cycles Cycle Reps Cycle Code Cycle Counter Result
2 1 0b0000011 1-3-5-7-...-63
4 0 0b0000100 0-4-8-12-...-60
8 6 0b0001110 6-14-22-30-...-62
16 8 0b0011000 8-24-40-56
32 3 0b0100011 3-35
64 9 0b1001001 9

Slots

Frames


  Spy Documentation - (C) Copyright 1997-2022 Intrepid Control Systems, Inc.