Skip to content

About

CubeSat packet handling pipeline (payload fragmentation, NGHam encoding, telemetry) — SpaceLab TT&C summer internship project

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUBE-SAT PACKET PIPELINE

Payload packet handling pipeline for the S-band Transmitter, developed by Hardik Singhal, Shivansh Gupta, and Amrit Mishra as SpaceLab summer interns, under the mentorship of Lucas Ryan.

Overview • Architecture • Building & Running • Documentation • License

Overview

This module implements the packet handling pipeline for the S-band Transmitter payload: reading payload data, fragmenting it into transmission-sized chunks, ordering it through a FIFO queue, encoding it into NGHam frames, and monitoring pipeline telemetry (queue occupancy, generation/transmission rates, overflow counts). It is implemented as four FreeRTOS tasks and validated on the FreeRTOS POSIX/Linux simulator prior to MCU integration.

Architecture

The pipeline is split into four FreeRTOS tasks, connected by two queues:

  1. Payload Reader / Fragmenter — reads payload data per occultation event and splits it into fixed-size chunks.
  2. FIFO Queue Manager — forwards chunks in order, preserving transmission sequence.
  3. NGHam Encoder — serializes and encodes each chunk into a transmittable NGHam frame (CRC16 + Reed-Solomon FEC).
  4. Telemetry Monitor — samples queue occupancy and updates generation/transmission rates and overflow counters in a shared, mutex-protected telemetry struct.

Building & Running

cd firmware
make
./build/telemetry_pipeline

Documentation

Protocol notes (NGHam packet structure, SPP, extension packets) and FreeRTOS reference material are available in doc/.

Contributors

License

This project is open-source under two licenses: GNU General Public License v3.0 for firmware sources, and CC BY-SA 4.0 for the documentation. Some third-party files and libraries (e.g. the FreeRTOS kernel) are subject to their own specific terms and licenses.

About

CubeSat packet handling pipeline (payload fragmentation, NGHam encoding, telemetry) — SpaceLab TT&C summer internship project

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages