A classic-CAN and CAN-FD controller you drop onto your control network
The Zen CAN controller is a digital CAN 2.0B + CAN-FD protocol engine (ISO 11898-1) a client instantiates in an automotive or industrial SoC. It runs the full on-wire protocol — framing, arbitration, bit-stuffing, CRC, acknowledge, and fault confinement — and drives one off-chip transceiver over a single tx/rx pair. Classic and CAN-FD traffic share one controller, so a node can carry legacy 8-byte frames and 64-byte bit-rate-switched frames on the same bus. Product / integrator view; every number is sourced from the product datasheet or marked TBC.
1. CAN in one paragraph
The Zen CAN controller is the digital half of a CAN node: it serializes and deserializes frames on the wire so your software only ever touches registers. A host stages a frame in the TX mailbox (ID, DLC, data, control flags) and the frame engine drives it out — start-of-frame, identifier, control, data, CRC, acknowledge, end-of-frame — inserting stuff bits and computing the CRC as it goes. Incoming frames are sampled, de-stuffed, CRC-checked, passed through an ID + mask acceptance filter, and dropped into the RX FIFO. The same controller handles classic CAN 2.0B and CAN-FD: set one control bit and a frame carries up to 64 bytes with a faster, bit-rate-switched data phase. The differential bus itself (CANH / CANL) lives in an off-chip transceiver — the controller ships the protocol engine and a single-ended tx / rx pair.
- CAN controller (frame engine)
- host SoC / off-chip transceiver
- TX mailbox / RX FIFO
tx / rx pair into an external CAN transceiver, which owns the CANH / CANL analog bus. Real-world bit-rate ceilings depend on that transceiver, oscillator tolerance, and bus length — a system-integration parameter, not fixed by the controller.2. What it is, at a glance
| Element | Detail | Default | Status |
|---|---|---|---|
| Protocols | classic CAN 2.0B + CAN-FD (ISO 11898-1) | — | exists |
| Identifiers | 11-bit base + 29-bit extended (IDE selects) | — | exists |
| Classic payload | 0–8 bytes (DLC 0–8), data + remote frames | — | exists |
| CAN-FD payload | up to 64 bytes via DLC→length map | — | exists |
| CRC | CRC-15 (classic); CRC-17 ≤16 B / CRC-21 >16 B (FD) | — | exists |
| Bit timing | programmable BRP + TSEG1/TSEG2 + SJW; separate faster FD data phase | — | exists |
| Buffers | 1 TX mailbox + RX FIFO | depth 4 | exists |
| Acceptance filter | ID + mask match into the RX FIFO | — | exists |
| Fault confinement | TEC/REC → error-active / error-passive / bus-off | — | exists |
| Interrupt | single line: tx-done · rx-avail · error/state-change | — | exists |
| Bus pins | single-ended tx / rx to off-chip transceiver | — | exists |
| Max nominal / data bit rate | a function of core clock + programmed timing | TBC | TBC |
Sources: Zen CAN product datasheet; as-built RTL.
3. How a client uses it
- Instantiate the controller on the peripheral bus and wire the single-ended
tx/rxpair to an off-chip CAN transceiver; route the interrupt line into your controller. - Set the bit timing — program the nominal timing (BRP, TSEG1/TSEG2, SJW) for your bus rate; for CAN-FD, program the separate, faster data-phase timing.
- Transmit — stage a frame in the TX mailbox (ID, DLC, data, and IDE / RTR / FDF / BRS flags), set start, and watch for the tx-done interrupt; arbitration and retry on loss are automatic.
- Receive filtered — program the ID + mask filter so only frames you care about enter the RX FIFO; drain on the rx-avail interrupt, or self-test framing and CRC with loopback and no second node.
4. Verification & provenance
- Compliance tested: a 16-of-16 passing assertion-based suite (10 classic + 6 CAN-FD) checks frames byte-exact against a wired-AND bus model, including bit-stuffing against a golden stuffed stream and CRC against golden CRC on the wire.
- Discriminating coverage: two-node arbitration (lower ID wins, loser retries with no data loss); acceptance-filter accept and reject; a forced error path that drives the counters across the thresholds into bus-off; CAN-FD CRC-17/CRC-21 poly selection and a measured data-phase rate switch under BRS.
- Provenance: owned by the Zen peripheral group; delivered as parameterized RTL plus verification IP, a compliance testbench, and a two-gate compliance statement (functional DV + synthesis). Classic and CAN-FD are both coverage-closed.
Sources read
Sources: Zen CAN product datasheet; as-built RTL.