This post opens the series on the AUTOSAR module AUTOSAR_CP_SWS_IEEE1722Transport and is aimed at anyone already familiar with the existing EthSwt/EthTrcv series who now wants to understand what AVTP streaming over a TSN Ethernet backbone actually means.

The full IEEE 1722-2025 text is paywalled (IEEE Standards Store) and not freely accessible. As a reliable, freely available secondary source, this series relies on COVESA/Open1722 — a BSD-licensed open-source reference implementation that explicitly cites concrete tables from the standard in its README.

What is AVTP?

AVTP (Audio Video Transport Protocol) is the core protocol from IEEE 1722 — originally developed for professional audio/video streaming over Ethernet (the AVB/TSN space), but now also relevant as a transport mechanism for field-bus tunneling (ACF, see Part 2 of this series) in an automotive context.

The basic idea: instead of transmitting audio, video, or sensor data over classic IP-based protocols, AVTP defines a lean frame format sitting on top of Layer 2, with a built-in timestamp — exactly what’s needed for deterministic, low-latency transmission on a TSN network.

AVTP isn’t a replacement for TSN itself, it builds on TSN mechanisms. Stream identification (covered in the EthSwt series) and time-aware shaping/frame preemption (also covered there) are what make sure an AVTP stream is actually forwarded deterministically by the switch — AVTP itself only defines the frame format and the timestamp mechanism on the sender/receiver side.

AVTPDU formats at a glance

All AVTP packets (AVTPDUs — AVTP Data Units) share a common header, but differ in the payload format that follows:

AVTPDU formats at a glance
FormatPurpose

AAF (Audio AVTP Format)

Uncompressed audio samples (PCM), e.g. for microphone/speaker streams in the vehicle

CRF (Clock Reference Format)

Distributes a clock reference between sender and receiver — important when audio/video streams need to run in sync with each other but don’t share a common hardware clock

IIDC (61883_IIDC — IEC 61883/IIDC over AVTP)

Video data using IEC 61883/IIDC encapsulation, e.g. for camera streams (rear-view camera, surround view)

RVF (Raw Video Format)

Uncompressed raw video data — a different encapsulation than IIDC, without compression latency and artifacts

The AUTOSAR module IEEE1722Tp (Classic Platform, Release R24-11) implements exactly these five stream subtypes per its specification — IEEE1722TpStreamAAF, IEEE1722TpStreamCRF, IEEE1722TpStreamIIDC, IEEE1722TpStreamRVF, and IEEE1722TpStreamACF (see Part 2). A separate CVF (Compressed Video Format), as known elsewhere in the general IEEE 1722 standard, doesn’t appear in the AUTOSAR module’s configuration specification — at the AUTOSAR level, only IIDC encapsulation is available for compressed video.

For an automotive project, IIDC (camera streams) and AAF (audio) are the formats most commonly relevant in practice. CRF is usually resolved implicitly via the avtp_timestamp in the common header, without needing a dedicated CRF stream — a dedicated CRF stream only pays off once multiple independent clock domains exist on the same network.

Another AVTPDU format that’s especially relevant for automotive applications, but doesn’t fall into these four categories, is ACF (AVTP Control Format) — the mechanism for tunneling field-bus data (CAN, CAN-XL, FlexRay, LIN, MOST) over a TSN backbone. ACF gets its own dedicated section in Part 2 of this series.

Native Ethernet framing vs. optional UDP encapsulation

AVTPDUs can be transported in two ways:

Native Ethernet framing vs. UDP encapsulation
Native (EtherType 0x22F0)UDP encapsulation

Overhead

Minimal — just Ethernet header + AVTPDU

Additional IP and UDP headers

Routability

Only within the same L2 segment

Routable across IP networks

Determinism

Directly benefits from TSN mechanisms (stream identification, time-aware shaping)

TSN guarantees are lost at an L3 boundary, unless the IP network itself is TSN-capable

Typical use

Within a TSN backbone (the normal case in the vehicle)

When a stream needs to cross a routed boundary (e.g. toward a diagnostic tester outside the vehicle)

Within a vehicle’s TSN backbone, native framing is the normal case — UDP encapsulation shouldn’t be chosen by default just because it "seems more flexible." Every additional encapsulation layer costs determinism that the upstream TSN mechanisms just built up.

Interaction with TSN

AVTP streaming only works reliably in interaction with the TSN mechanisms already covered in the EthSwt series:

MechanismRole for AVTP

Stream identification

Maps an AVTP stream (identified via the stream_id in the AVTPDU header) to a switch port and a filter rule — without this, every AVTP frame would be treated as ordinary best-effort traffic

Time-aware shaping / frame preemption

Reserves time slots in the switch during which the AVTP stream is guaranteed to be forwarded — the actual mechanism behind "deterministic" delivery

Without these two TSN building blocks, AVTP remains a pure frame format with no real-time guarantee — the actual determinism promise comes from the switch, not from the AVTPDU header itself.

Overview of the series

This post lays the foundation. The following parts build on it:

PartTopic

1 (this post)

Fundamentals — what AVTP is, AVTPDU formats, native framing vs. UDP, interaction with TSN

2 — ACF (AVTP Control Format)

ACF_CAN and ACF_LIN in the AUTOSAR module IEEE1722Tp, TSCF vs. NTSCF, bundling multiple field-bus messages in one AVTPDU

3 — ARXML configuration

Container structure of the IEEE1722Tp module, why stream-to-switch-port mapping only runs indirectly through generic PDU routing, typical configuration mistakes

4 — End-to-end practical examples

Tunneling a camera stream (IIDC) and a CAN subnet via ACF.CAN over a TSN backbone — followable with Open1722

5 — Hands-on project: ACF-CAN kernel module between two real BeagleBone Black

Cross-compiling and loading the Open1722 ACF-CAN kernel module, and testing it between two physical BeagleBone Black boards over Ethernet

Summary

AspectKey takeaway

AVTP

A lean, Layer-2-based frame format with a built-in timestamp for deterministic audio/video/sensor streaming

AVTPDU formats

AAF (audio), CRF (clock reference), IIDC (video), RVF (raw video) — plus ACF as its own subtype for field-bus tunneling (Part 2)

Framing

Native Ethernet framing (EtherType 0x22F0) is the normal case on a vehicle backbone, UDP encapsulation only when routing across IP boundaries is needed

Interaction with TSN

Stream identification and time-aware shaping deliver the actual determinism guarantee — AVTP only defines the frame format

Next step

Part 2 covers ACF in detail — the mechanism for tunneling CAN/LIN (in the AUTOSAR module) or additional field buses (in the general standard) over the same TSN backbone