Open Channel Foundation
Not Logged In |  | 
Open Channel Foundation

Quick Application Search:

Get this title!
Get spacewirelib
Monitor new releases

Basic information

Additional resources
4Links Web Site
SpaceWire Web Site

Foundation :: Networking Applications :: spacewirelib


SpaceWire interface for DSP

DSP SpaceWire Interface Moderators:
Jim Lux
Total downloads from Open Channel to date: 19
source code available SOURCE CODE AVAILABLE

The Spacewire interface for DSP comprises a collection of driver routines, mostly in C, with a few ASM modules that provide an API based on a message passing model. The interface was implemented for the Atmel TSS901E/SMCS332 Spacewire/IEEE-1355 interface chip with three links on Analog Devices 21020 type DSP CPUs. It supports both the dual port RAM (COMI) and word at a time (HOCI) interfaces, and supports all three links simultaneously.


  • Driver is written in C programming language with time critical section written in 21020 assembly language for speed
  • Driver is interrupt driven in critical sections and state-driven for the rest
  • Interrupt service routine is written in assembly and shall not exceed 120 clock cycles
  • Each message/packet is terminated by EOP-1 character inserted by SMCS
  • Messages/packets are pure byte stream
  • Links are to be auto-restarted when error is detected (disconnect, parity etc…)
  • Transmission of a message/packet has to be completed before the next message/packet transmission. Concept of frame doesn't apply.
  • Run-time statistics are collected and can be enabled/disabled at compile time

Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Caltech/Jet Propulsion Laboratory
   More software from Jet Propulsion Laboratory

Open Channel Software runs entirely on Open Source Software. We return value to the Software community in the form of services and original software. Most of our content is currently available as source code, with the copyright owned by the original author, All Rights Reserved. Everything else is Copyright ©2000 - 2017 Open Channel Software.

View our privacy statement.
Contact webmaster at openchannelsoftware dot org with questions.