All protocols
ISO 17458

FlexRay

Deterministic, high-speed bus for x-by-wire systems.

Bitrate
10 Mbit/s per channel (dual channel)
Topology
Bus or star, optional dual-channel for redundancy
Introduced
2006

Overview

FlexRay uses a TDMA schedule of static and dynamic slots inside a fixed cycle, making message timing deterministic. Dual channels add redundancy for safety-critical applications such as steer-by-wire and active suspension.

Frame format

FieldBitsDescription
Header40Frame ID, payload length, header CRC, cycle count
Payload0–20320 to 254 bytes
Trailer2424-bit CRC over header + payload

Byte structure — request & response

FlexRay — ISO 17458

Frame template
[Header:5B][Payload:0–254B][Trailer CRC:3B]
Request
OffSizeFieldValueDescription
05 bStatus bits00010Reserved, payload preamble, null, sync, startup indicators.
0–111 bFrame ID0x05Slot identifier (1–2047).
17 bPayload length0x08Words (16-bit) of payload.
2–311 bHeader CRCautoCRC over Frame ID and length.
3–46 bCycle count0x0CCommunication cycle (0–63).
5…0–254 BPayloadAA BB CC DD …Application data (16 B in slot 5 example).
tail3 BFrame CRCauto24-bit CRC over header + payload.
Response
OffSizeFieldValueDescription
0–45 BHeaderFrameID=0x06Reply slot scheduled in the static or dynamic segment.
5…varPayload01 OK ack…Reply payload, delivery guaranteed within the cycle.
tail3 BCRCautoFrame CRC.

FlexRay schedules slots in advance — there is no on-demand request. 'Request' and 'response' are simply two scheduled slots producers/consumers agreed on.

Use cases

  • · Steer-by-wire
  • · Brake-by-wire
  • · Active suspension
  • · Chassis domain

Pros

  • Deterministic timing
  • Redundant channels
  • High bandwidth

Cons

  • Expensive controllers
  • Complex schedule design
  • Largely superseded by Auto-Ethernet

Request / Response examples

Static slot 5, cycle 12

Request
Slot5FrameID0x05Payload:16bytessteeringdata
Response
(scheduledguaranteeddeliverywithincycle)

Same slot fires every cycle giving sub-millisecond jitter for control loops.