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.
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
The major rows in the lower window pane
Different colors show the various segments within each cycle as described in Table 1.
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. |
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. |
The following information is provided for quick reference regarding items on FlexRay Cycles view:
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 |