TM Space Data Link Protocol
A TM Transfer Frame is a 6-octet Primary Header, an optional Secondary Header of up to 64 octets, the Data Field, and an optional Trailer (OCF, FECF). With SDLS (§ 6.3, CCSDS 355.0-B-2) a Security Header and optional Security Trailer surround the Data Field. The Trailer is located from the end of the frame, which is why the Frame Length matters.
Open the interactive diagram, Frame Builder and Frame Decoder
Transfer Frame Primary HeaderPH
The mandatory six-field header of every TM Transfer Frame. It identifies the frame within its Master and Virtual Channel and describes how the Data Field is structured.
Master Channel IdentifierMCID
Identifies the Master Channel: the concatenation of the Transfer Frame Version Number and the Spacecraft Identifier. All frames with the same MCID on a Physical Channel belong to one Master Channel.
Transfer Frame Version NumberTFVN
Identifies the data unit as a TM Version 1 Synchronous Transfer Frame. Always set to ‘00’ — the only version defined by the Standard.
| Value | Meaning | Clause |
|---|---|---|
‘00’ | TM Version 1 Synchronous Transfer Frame — the only version defined by this Standard | § 4.1.2.2.2 NOTE 1 |
Spacecraft IdentifierSCID
Identifies the spacecraft associated with the data contained in the frame. Assigned by SANA and static throughout all Mission Phases.
Virtual Channel IdentifierVCID
Identifies the Virtual Channel — up to eight Virtual Channels can share one Master Channel.
Operational Control Field FlagOCFF
Signals the presence or absence of the Operational Control Field in the frame trailer. Static within the associated Master or Virtual Channel for a Mission Phase.
| Value | Meaning | Clause |
|---|---|---|
‘1’ | Operational Control Field present | § 4.1.2.4.2 |
‘0’ | Operational Control Field not present | § 4.1.2.4.2 |
Master Channel Frame CountMCFC
Running modulo-256 count of every Transfer Frame transmitted on the Master Channel; provides continuity checking across all Virtual Channels of the spacecraft.
Virtual Channel Frame CountVCFC
Running modulo-256 count of every Transfer Frame transmitted on the Virtual Channel; the key input for systematic Packet extraction at the receiving end.
Transfer Frame Data Field StatusDFS
Five sub-fields that describe how the Data Field is structured: the Secondary Header Flag, Synchronization Flag, Packet Order Flag, Segment Length Identifier and First Header Pointer.
Transfer Frame Secondary Header FlagSHF
Signals the presence or absence of the Transfer Frame Secondary Header. Static within the associated Master or Virtual Channel for a Mission Phase.
| Value | Meaning | Clause |
|---|---|---|
‘1’ | Secondary Header present | § 4.1.2.7.2.2 |
‘0’ | Secondary Header not present | § 4.1.2.7.2.2 |
Synchronization FlagSYNC
Signals the type of data inserted into the Data Field: octet-synchronized, forward-ordered Packets or Idle Data (‘0’), or a VCA_SDU (‘1’).
| Value | Meaning | Clause |
|---|---|---|
‘0’ | Octet-synchronized, forward-ordered Packets or Idle Data in the Data Field | § 4.1.2.7.3.2 |
‘1’ | A VCA_SDU (Virtual Channel Access service data unit) in the Data Field | § 4.1.2.7.3.2 |
Packet Order FlagPOF
Reserved bit. Set to ‘0’ when the Synchronization Flag is ‘0’; undefined when the Synchronization Flag is ‘1’.
| Value | Meaning | Clause |
|---|---|---|
‘0’ | Reserved for future use by the CCSDS (when Synchronization Flag = ‘0’) | § 4.1.2.7.4 NOTE |
Segment Length IdentifierSLID
Legacy field kept from earlier versions of the Standard (Source Packet Segments are no longer defined). Set to ‘11’ when the Synchronization Flag is ‘0’.
| Value | Meaning | Clause |
|---|---|---|
‘11’ | Denotes non-use of Source Packet Segments (mandatory value when Sync Flag = ‘0’) | § 4.1.2.7.5.2 |
First Header PointerFHP
Points to the first octet of the first Packet that starts in the Data Field, enabling delimiting of variable-length Packets. Two reserved values signal ‘no Packet starts here’ and ‘Only Idle Data’.
| Value | Meaning | Clause |
|---|---|---|
‘11111111111’ | No Packet starts in the Transfer Frame Data Field (e.g. a long Packet spans the whole frame) | § 4.1.2.7.6.4 |
‘11111111110’ | Only Idle Data in the Data Field — an OID Transfer Frame | § 4.1.2.7.6.5 |
Transfer Frame Secondary HeaderTFSH
Optional fixed-length extension for mission-specific data transferred synchronously with a Master or Virtual Channel. Its presence is signaled by the Secondary Header Flag in the Primary Header.
Secondary Header Identification Field
The first octet of the Secondary Header: a 2-bit version number followed by a 6-bit length field.
Secondary Header Version NumberSHVN
Indicates which of up to four Secondary Header versions is used; only Version 1 (‘00’) is defined.
| Value | Meaning | Clause |
|---|---|---|
‘00’ | Version 1 — the only Secondary Header version recognized by this Standard | § 4.1.3.2.2.2 NOTE |
Secondary Header LengthSHLEN
The total length of the Secondary Header in octets, minus one, binary encoded. Static within the associated channel for a Mission Phase.
| Value | Meaning | Clause |
|---|---|---|
VALUE = LENGTH − 1 | e.g. a 12-octet Secondary Header carries the value 11 (‘001011’) | § 4.1.3.2.3.2 |
Secondary Header Data FieldSHDF
Carries the mission-specific Secondary Header data (FSH_SDUs supplied through the MC_FSH or VC_FSH service). Fixed length within the associated channel.
Transfer Frame Data FieldDF
Carries the mission data: octet-synchronized Packets, one VCA_SDU, or Idle Data. Its length equals the fixed frame length minus the headers and trailer present.
| Value | Meaning | Clause |
|---|---|---|
FHP = ‘11111111110’ | OID Transfer Frame — the Data Field is filled with the mandatory Pseudo-Noise idle pattern | § 4.1.4.6 |
D⁰+D¹+D²+D²²+D³² | Polynomial of the 32-cell LFSR that generates the PN idle sequence (annex D) | § 4.1.4.6.2 |
FF FF FF FF 6D B6 D8 61 45 1F | First 10 bytes of the OID data pattern, in hexadecimal | § 4.1.4.6.2 NOTE |
Operational Control FieldOCF
Standardized real-time reporting slot in the frame trailer. Carries a Type-1 Report (the COP-1 Communications Link Control Word) or a Type-2 Report (project-specific or an SDLS Frame Security Report).
Frame Error Control FieldFECF
A 16-bit CRC computed over the whole frame, for detecting errors introduced during transmission and data handling. If used, it is present in every frame of the Physical Channel.
| Value | Meaning | Clause |
|---|---|---|
G(X) = X¹⁶ + X¹² + X⁵ + 1 | Generating polynomial of the CRC | § 4.1.6.2.2 |
L(X) = X¹⁵ + X¹⁴ + … + X + 1 | Presetting polynomial — the shift register is preset to the all-‘1’ state before encoding | § 4.1.6.2.2 |
Rules
- Frame length is constant for a Physical Channel during a Mission Phase.
- Data Field length = frame − Primary and Secondary Headers − Trailer.
- Packets are contiguous and in forward order; the first and last may be split across frames.
- FHP skips the residue of a split Packet, and points to the next one that starts.
- With SDLS: Security Header follows the Secondary Header; Security Trailer precedes the OCF.
- An OID frame identifies a Virtual Channel that does not use SDLS.