Course contentsShow

Module 09 · Lesson 3

Interfaces and Standards

Space software is built against published standards and negotiated interface documents. This lesson introduces CCSDS, ECSS, NASA requirements and XTCE, and shows how to read a standard as an engineer.

7 minute readUpdated November 23, 2026

Learning objectives

After this lesson you will be able to:

  • Explain why space software depends on formal standards and interface documents
  • Identify the main standards families a developer will meet and what each one governs
  • Read a standard productively by locating its mandatory statements, its tailoring and its interface definitions

Why space software is standards-heavy

Engineers arriving from product companies often notice the documents first. A space project cites many standards, and a contract may list which clauses apply. Four facts about the industry explain why.

  • Many organizations build one system. Bus, instruments, launch and ground stations often come from different suppliers, and each boundary is an interface that must be defined.
  • Systems live for decades. The people who built an interface will leave. The written definition is what remains.
  • There is rarely a second attempt. Process requirements exist because testing in production is not available.
  • Standards are contractual. A requirement in a contract is something a supplier must demonstrate it has met.

Two kinds of document result. Standards say how a class of thing is done. An interface control document, or ICD, introduced in Module 1, says how two specific systems connect, including which options they chose from the standards.

The families a developer will meet

CCSDS

The Consultative Committee for Space Data Systems publishes standards for data and communication: the Space Packet and transfer frames from Module 7, channel coding, time code formats, file delivery, and more. Documents are identified by color. Blue Books are normative standards. Green Books are informative reports and often the best place to start. Magenta Books are recommended practices.

ECSS

The European Cooperation for Space Standardization publishes the standards used on European programs, including those of the European Space Agency. They are organized in branches that include project management, engineering and product assurance. A software developer will mainly meet ECSS-E-ST-40, on software engineering, and ECSS-Q-ST-80, on software product assurance. ECSS-E-ST-70-41, the Packet Utilization Standard, defines a set of standard telemetry and command services on top of CCSDS packets.

NASA requirements and assurance standards

NASA projects follow NPR 7150.2, NASA Software Engineering Requirements. It states what a project must do across the software life cycle, including planning, testing and configuration management, and how much of that applies to each class of software. NASA-STD-8739.8 is the companion Software Assurance and Software Safety Standard, which covers the independent activities that confirm the engineering was done properly.

XTCE

XTCE, XML Telemetric and Command Exchange, is an exchange format for telemetry and command definitions. It is published by the Object Management Group and also by CCSDS. It addresses a problem from Module 7: the telemetry and command database must move between the spacecraft builder, test equipment and ground systems, each with its own internal format. XTCE gives them a common format for packet layouts, parameter types, calibrations and commands. Tools vary in how much of it they support, so an exchange should be tested.

Classification by criticality

Applying every requirement to every piece of software would be unaffordable, and applying the same light process to everything would be unsafe. Standards therefore use software classification.

NPR 7150.2 assigns software to lettered classes. Class A, human-rated space software, carries the most requirements, and the set that applies shrinks for lower classes such as mission support or research software. A matrix in the document states which requirements apply to which class. ECSS assigns software criticality categories from A to D according to the severity of the consequences of failure, with A the most severe.

For a developer, the class determines how much is documented, how independent the testing must be, and who approves a change. Ground software is classified too. A tool that generates commands for a hazardous operation may rank well above a display.

Reading a standard productively

Standards are reference documents, and reading one cover to cover is rarely the best approach.

  1. Find the scope and the issue. Check what the document covers and which issue the project cites. Projects are bound to a specific issue, which may not be the latest.
  2. Find the mandatory statements. Requirements are marked with shall. Recommendations use should, and permissions use may. Text without those words is usually explanatory. Many standards also label sections as normative or informative.
  3. Find the tailoring. The project will have a document, often a compliance matrix, that lists each requirement and states whether it applies, applies with modification, or does not apply. That matrix, not the standard alone, is what binds the team.
  4. Find the interface definitions. In a protocol standard, the bit-level diagrams, field tables and state machines are the parts to implement against. Check the conventions section first, especially bit numbering and byte order.
  5. Find the options. Protocol standards leave choices to each mission: lengths, optional fields, identifiers. These must be settled in the ICD.
  6. Read the companion material. An informative report or handbook often explains why a requirement exists, which is what allows it to be applied sensibly.

Compliance versus understanding

Compliance means that evidence exists for each applicable requirement. Understanding means knowing what failure the requirement is there to prevent. A team with only the first produces documents that pass an audit and software that still fails in the way the standard was written to prevent.

The reverse failure is common among engineers new to the field: understanding the intent, judging a requirement unnecessary, and quietly skipping it. The legitimate path is tailoring. The team says that the requirement does not fit, proposes an alternative that meets the intent, and obtains approval. Security and privacy compliance in mainstream software works the same way. The difference is that these requirements usually encode failures that have already happened to someone.

A practical example: compliant on both sides, and not working

A ground software team is integrating a new spacecraft. The spacecraft supplier's documentation says that telemetry is CCSDS-compliant. The ground system is CCSDS-compliant too. On the first compatibility test, frames are received and no packets come out.

The team compares the options layer by layer.

ItemSpacecraftGround system as configured
Transfer frame length1,115 bytes1,115 bytes
Frame error control fieldPresentNot expected
Secondary header time format4 bytes of seconds, 2 bytes of fraction4 bytes of seconds, 3 bytes of fraction

Two mismatches are found. The ground system was not told that each frame ends with a two-byte error control field, so it treated those bytes as packet data and lost packet alignment. Once that is corrected, packets appear, but every timestamp is wrong, because the time field is one byte shorter than the ground assumed.

Neither side violated a standard. Both chose valid options, and the choices were never written down in one place. The team adds a table of every selectable option to the ICD and turns it into configuration that the ground system loads directly, so the document and the running system cannot drift apart.

From structure to testing

Standards and interface documents describe what software must do and how it connects. Showing that it does so before launch requires something to test against. The next module covers simulation.

Key takeaways

  • Standards exist because space systems are built by many organizations, operated for decades and rarely get a second attempt.
  • CCSDS defines data and communication protocols. ECSS and NASA documents define how software is engineered and assured. XTCE is an exchange format for telemetry and command definitions.
  • Software is classified by the consequences of its failure, and the required process rigor scales with the class.
  • A standard leaves options open. Two compliant systems interoperate only when an interface document records which options each one chose.

Knowledge check

Check your understanding. These questions are not graded and you can retry as often as you like.

Question 1 of 3· Select all that applyA supplier states that its spacecraft telemetry is CCSDS-compliant. Which of these must still be agreed in an interface document before a ground system can process it? Select all that apply.
Question 2 of 3· Select one answerA clause in a standard applied to a project reads "The software should record every rejected command in an event log." How should a developer treat it?
Question 3 of 3· Select one answerWhy do NASA and ECSS standards classify software by criticality?

0 of 3 questions answered.

Glossary

Interface control document

An agreed, configuration-controlled document that defines exactly how two systems connect, including formats, timing, options chosen and error handling. Usually shortened to ICD.

ECSS

The European Cooperation for Space Standardization, which publishes the management, engineering and product assurance standards used on European space programs.

NPR 7150.2

NASA Procedural Requirements 7150.2, NASA Software Engineering Requirements, which sets software engineering requirements for NASA projects according to software class.

XTCE

XML Telemetric and Command Exchange, an XML-based format for exchanging telemetry and command definitions between tools and organizations.

Tailoring

The documented, approved process of deciding which requirements of a standard apply to a project and how, including any that are modified or waived.

Software classification

Assigning software to a class or criticality category according to the consequences of its failure, which then determines the process requirements it must meet.

References and further reading

Finished this lesson?

Loading your progress…

Lesson version 1.0.0.