A time-triggered FlexRay controller for deterministic in-vehicle networks
The Zen FlexRay controller is a FlexRay communication-controller frame engine with a static-segment time-division (TDMA) scheduler, for teams building deterministic, bounded-latency automotive networks — X-by-wire, chassis control, and safety-critical backbones. It builds and parses FlexRay frames, checks both frame CRCs, and places traffic in fixed time slots, completing the Zen automotive comms set alongside CAN, LIN, and SENT. Preliminary: this block is in active development. The as-built design is single-channel, static-segment only; dynamic segment, dual-channel redundancy, and clock synchronisation are on the roadmap and marked TBC.
1. The controller in one paragraph
The Zen FlexRay controller sits inside your SoC as an endpoint communication controller. It builds a FlexRay frame — a 40-bit header, the payload, and a 24-bit frame-CRC trailer — then streams it byte-serial to an off-chip transceiver that drives the differential bus. On receive it hunts the frame, captures the header and payload, and verifies both the header CRC-11 and the frame CRC-24 so corrupted traffic is flagged, not trusted. A static-segment scheduler keyed on a slot-and-cycle counter decides *when* your node is allowed to talk, giving the bounded, repeatable timing that time-triggered networks are built on. It attaches to the common Zen peripheral bus as word-addressed control registers with a one-cycle handshake, so it drops in beside the rest of your design like any other register block.
- Zen FlexRay controller
- host SoC / off-chip transceiver
- roadmap (TBC)
2. What it is, at a glance
| Element | Detail | Status |
|---|---|---|
| FlexRay frame format | 40-bit header + payload + 24-bit CRC trailer, per FlexRay V3.0.1 | exists |
| Header CRC-11 | generated and checked over the protected header bits | exists |
| Frame CRC-24 | generated and checked over header + payload | exists |
| Payload range | 0–254 bytes (spec); buffered per build configuration | exists |
| Static-segment TDMA | slot + cycle scheduler; transmit in your slot, listen in others | exists |
| Free-running transmit | slot scheduling off — transmit on command (bring-up / bench) | exists |
| Loopback self-test | byte-exact transmit-to-receive round trip, single node | exists |
| CRC-error counters | saturating header-CRC and frame-CRC error counts | exists |
| Interrupts | transmit-done / receive-done / error, one aggregated line | exists |
| Transceiver interface | byte-serial transmit and receive to an off-chip PHY | exists |
| Dynamic-segment (event-triggered) traffic | minislot arbitration | TBC |
| Dual-channel A/B redundancy | parallel channels for the safety path | TBC |
| Clock synchronisation (cluster time base) | fault-tolerant offset / rate correction | TBC |
| Line rate / timing characterisation | 10 Mbit/s target; envelope not yet characterised | TBC |
Sources: Zen FlexRay product datasheet; as-built RTL.
3. How a client uses it
- Instantiate the controller on your peripheral bus and wire the byte-serial transmit/receive interface to your off-chip FlexRay transceiver.
- Configure the schedule — set the static slot count, slot length, and this node's transmit slot through the control registers; enable TDMA mode.
- Send — stage a frame's header fields and payload, then arm transmit. In TDMA mode the controller emits automatically at the start of your slot; with scheduling off it transmits on command.
- Receive — in every other slot the controller captures incoming frames, verifies both CRCs, and raises receive-done; you read back the header and payload and release the buffer.
- Bring up with loopback — exercise the full build-and-parse path on a single node, no bus partner, before you have a second node on the wire.
4. Standards, verification & provenance
- Standards. The controller implements the FlexRay V3.0.1 frame format and both protocol CRCs (header CRC-11, frame CRC-24), and the static-segment media-access scheme of the FlexRay / ISO 17458 time-triggered standard. Dynamic segment, symbol window / network idle time, and clock synchronisation from that standard are roadmap and marked TBC.
- Verification. The as-built design passes its assertion-based test suite covering byte-exact transmit, header and frame CRC generation and checking, correct slot placement, foreign-slot receive, single-node loopback, and the interrupt enable / pending behaviour. It passes the structural-quality gate (no inferred latches, no multi-driver) with no portfolio regression.
- Provenance. Owned by Zen Peripherals. This block is in active development; a license kit, performance characterisation, and a formal compliance statement are planned for a later release and are TBC. It completes the Zen automotive comms set — CAN (classic / FD / XL), LIN, SENT, and FlexRay — so the in-vehicle comms stack ships from one vendor.
Sources: Zen FlexRay product datasheet; as-built RTL.