Page 2 - UserManual; SpaceWire Router; User Manual; Document Change log; Date
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 2 Document Change log Date Issue Comments Author 19 th -March-2004 Issue 1.0 Initial draft version Chris McClements 26 th -August-2004 Issue 1.2 Timing for FPGA model added Chris McClement...
Page 4 - CONTENTS; II
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 4 CONTENTS CONTENTS ..............................................................................................................................................4 I LIST OF FIGURES .........
Page 10 - LIST OF FIGURES; LVDS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 10 I LIST OF FIGURES F IGURE 2-1 S TAND -A LONE R OUTER ...................................................................................................................... 16 F IGURE 2-...
Page 11 - GAR
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 11 F IGURE 8-8 A RBITRATION OF TWO PACKETS WITH DIFFERENT PRIORITY (1) .......................................................... 89 F IGURE 8-9 A RBITRATION OF TWO PACKETS WITH DIFFERENT ...
Page 12 - RMAP
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 12 F IGURE 13-5 L INK D ISCONNECT W AVEFORMS .................................................................................................... 147 F IGURE 13-6 D ATA AFTER PARITY ERROR ...
Page 16 - SpaceWire Ten X
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 16 2. USER APPLICATIONS The SpW-10X SpaceWire router device may be used in several different ways as described in the following sub-sections. Note: SpW-10X is pronounced “ SpaceWire Ten X ...
Page 17 - Figure 2-2 Node Interface
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 17 2.2 NODE INTERFACE The SpaceWire Router has two external ports which enable the device to be used as a node interface. The equipment to be connected to the SpaceWire network is attached...
Page 18 - Figure 2-3 Embedded Router; EXPANDING THE NUMBER OF ROUTER PORTS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 18 Instrument 1 Instrument 2 Instrument 3 Instrument 4 Memory Unit Processor SpW ‐ 10X Router Instrument 5 Instrument 6 SpaceWire Node with Embedded Router SpaceWire Links Figure...
Page 21 - Eight SpaceWire bi-directional serial ports.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 21 3. FUNCTIONAL OVERVIEW A SpaceWire routing switch comprises a number of SpaceWire ports and a routing matrix. The routing matrix enables packets arriving at one SpaceWire port to be tra...
Page 22 - Figure 3-1 SpaceWire router block diagram
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 22 E xt e r na l P o rt O u tp u t FI FO I n p u t F IFO C r os sb a r S w it c h C o nt r ol L og ic R ou ti n g Ta b le Ti m e - C od e In t e r fa c e C o nfi gu ra ti on P o rt S ta t ...
Page 23 - CONFIGURATION PORT
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 23 written to or read from synchronously with the 30MHz system clock. An eight-bit data interface and an extra control bit for end of packet markers are provided by each external port FIFO...
Page 25 - Pin Signal
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 25 4. PIN LOCATIONS The SpaceWire router package is a 196 pin MQFPF package. Type definition: - 3V3.................................3.3 Volt power - GND................................Grou...
Page 32 - In; SPACEWIRE SIGNALS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 32 Table 5-1 Global Signals PinNo Signal Dir Description Type 2 CLK In System clock. Provides the reference clock for all modules except the interface receivers. CMOS3V3 3 RST_N In Asynchr...
Page 33 - Table 5-2 Data and Strobe SpaceWire Signals
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 33 Table 5-2 Data and Strobe SpaceWire Signals PinNo Signal Dir Description Type 24 23 DOUTPlus(1) DOUTMinus(1) Out Differential output pair, data part of Data-Strobe SpaceWire port 1. LVD...
Page 35 - SpaceWire Input Fail Safe Resistors; Disconnected; Figure 5-1 LVDS Receiver Fail-Safe Resistors; The current generator, I
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 35 5.2.2 SpaceWire Input Fail Safe Resistors If a SpaceWire input becomes disconnected then no current flows through the termination resistor. The differential voltage across this resistor...
Page 37 - Operation with 5V Powered LVDS Devices; Out Output data from external port number one
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 37 5.2.3 Operation with 5V Powered LVDS Devices WARNING Since LVDS is based on a current loop it should not matter what the supply voltage is to an LVDS device connected to the SpW-10X rou...
Page 38 - Bits
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 38 120 119 118 117 116 115 EXT9_IN_DATA(5) EXT9_IN_DATA(4) EXT9_IN_DATA(3) EXT9_IN_DATA(2) EXT9_IN_DATA(1) EXT9_IN_DATA(0) (8)(7......0) – Bits (0)(dddddddd) - Data byte (1)(XXXXXXX0) - EO...
Page 39 - PinNo Signal Dir
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 39 146 145 144 143 EXT10_IN_DATA(3) EXT10_IN_DATA(2) EXT10_IN_DATA(1) EXT10_IN_DATA(0) (0)(dddddddd) - Data byte (1)(XXXXXXX0) - EOP. (1)(XXXXXXX1) - EEP. Bit 7 is the most significant bit...
Page 41 - STATUS INTERFACE SIGNALS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 41 172 171 170 EXT_TIME_OUT(2) EXT_TIME_OUT(1) EXT_TIME_OUT(0) falling edge of EXT_TICK_OUT . The EXT_TIME_OUT(7:0) value is held until the next time-code is output. See section 6.2 for in...
Page 42 - is de-asserted. To make sure that the POR; RESET CONFIGURATION SIGNALS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 42 CLK RST STAT_MUX_OUT POR_SIGNALS 1 2 3 4 5 6 7 8 STAT_MUX_OUT Inputs Outputs Figure 5-2 Configuration interface timing specification The POR configuration signals (POR_SIGNALS) listed i...
Page 44 - WARNING
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 44 up. ‘1’ => Timeout period is ~ 60-80 us. ‘0’ => Timeout period is ~ 1.3 ms. Timeout Period is: ‘1’ => 200x(2^2)x(10 MHz clk period) ‘0’ => 200x(2^16)x(10 MHz clk period) An ...
Page 46 - Figure 5-3 PLL with external components; The PLL loop filter component values to be used are
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 46 Figure 5-3 PLL with external components The PLL loop filter component values to be used are R = 10 k Ω C = 120 pF C0 = 3.3 pf. The VCO bias resistor depends on the required VCO frequenc...
Page 47 - EXTERNAL PORT INTERFACE OPERATION; Figure 6-1 External port write timing specification
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 47 6. INTERFACE OPERATIONS This section describes the operation of the external FIFO port, time-code interface and status/power on configuration interface. First a note on the terminology ...
Page 48 - Figure 6-2 External port read timing specification
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 48 CLK 1 2 3 4 5 6 7 8 9 10 11 12 EXT_OUT_READ_Nx EXT_OUT_DATAx EXT_OUT_EMPTY_Nx DATA1 DATA2 DATA4 DATA3 read read read Figure 6-2 External port read timing specification Reading of the Ex...
Page 49 - STATUS INTERFACE OPERATION; Figure 6-6 Status Multiplexer output interface
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 49 SEL_EXT_TIME signal when EXT_TICK_IN signal has a rising edge. If SEL_EXT_TIME is 1 then the EXT_TIME_IN(7:0) inputs are used to provide the contents of the time-code. If SEL_EXT_TIME i...
Page 51 - RESET CONFIGURATION INTERFACE OPERATION; Figure 6-7 Reset configuration interface timing specification
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 51 Timeout Selection Enable Disconnect-on-silence Enable Start-on-Request Enable Self-Addressing 3:1 4 5 6 3:1 4 5 6 13 Error Active Configuration Port Error SpaceWire Ports 1-5 Error Exte...
Page 52 - PACKET ADDRESSES; Table 7-1 Packet Address Mapping
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 52 7. SPACEWIRE ROUTER PACKET TYPES This section describes how the routing control logic interprets packets. 7.1 PACKET ADDRESSES The routing control logic interprets the first byte of eac...
Page 53 - Table 7-2 Packet Priority Mapping; PACKET HEADER DELETION
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 53 7.2 PACKET PRIORITY Each packet which is input to the router has an associated priority level, either as a result of the packet address or the internal routing table. Two priority level...
Page 54 - Table 7-3 Packet Header Deletion Mapping; INVALID ADDRESSES
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 54 Table 7-3 Packet Header Deletion Mapping Packet Address Header Deletion Physical Port type 0 Enabled Configuration port 1 Enabled SpaceWire link port 1 2 Enabled SpaceWire link port 2 3...
Page 55 - Figure 7-1 Normal router data packets; Configuration read packets are in the form:; Figure 7-2 Command Packet Format
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 55 7.5 DATA PACKETS Packets which have addresses in the range 1 to 255 are routed to the SpaceWire ports and the external ports dependent on the packet address. Data packets have an addres...
Page 56 - Not used
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 56 Table 7-4 Supported RMAP Command Codes RMAP Command Code Description Supported in SpaceWire Router “0000” Not used - “0001” Not used - “0010” Read single address Yes “0011” Read increme...
Page 57 - Table 7-5 Read Single Address Characteristics; Figure 7-3 Read Single Address Command Format
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 57 Table 7-5 Read Single Address Characteristics Action Supported/ Not Supported Maximum number of bytes Non-aligned access accepted 8-bit read NS - - 16-bit read NS - - 32-bit read S 4 No...
Page 58 - Table 7-6 Read Single Address Command Packet Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 58 Table 7-6 Read Single Address Command Packet Fields Field Description Bytes Config Port Address The configuration port address field routes the packet to the configuration port of the r...
Page 59 - Figure 7-4 Read Single Address Reply Packet Format
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 59 Length one 32 bit register location. Header CRC The header CRC is the eight bit CRC code used to detect errors in the command packet. The CRC code is checked before the command is execu...
Page 61 - Table 7-8 Read Incrementing Address Characteristics
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 61 Table 7-8 Read Incrementing Address Characteristics Action Supported/ Not Supported Maximum number of bytes Non-aligned access accepted 8-bit read NS - - 16-bit read NS - - 32-bit read ...
Page 62 - Figure 7-5 Read Incrementing Address Command Format
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 62 In Figure 7-5 the first byte received by the SpaceWire router configuration logic is the port address followed by the destination logical address. Fields which are depicted in bold text...
Page 64 - Figure 7-6 Read Incrementing Address Reply Packet Format
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 64 In Figure 7-6 the format of the reply to a read incrementing address command is illustrated. The first byte sent by the SpaceWire router configuration logic is the port address followed...
Page 67 - Packet
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 67 Table 7-12 Read-Modify-Write Command Packet Fields Packet Field Description Bytes Config Port Address The configuration port address field routes the packet to the configuration port of...
Page 69 - Field Description
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 69 In Figure 7-9 the format of the reply to a Read-Modify-Write command is illustrated. The first byte received by the SpaceWire router configuration logic is the port address followed by ...
Page 70 - Table 7-14 Write Command Characteristics
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 70 logical address SpaceWire router does not have a logical address. Transaction Identifier The transaction identifier identifies the command packet and reply packet with a unique number. ...
Page 71 - Figure 7-10 Write Single Address Command Packet
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 71 The RMAP write single address, with data verify and acknowledgement command is supported in the SpaceWire router. The RMAP write command is used to write a 32 bit value into one of the ...
Page 73 - Figure 7-11 Write Single Address Reply Packet
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 73 In Figure 7-11 the format of the reply to a write command is illustrated. The first byte sent by the SpaceWire router configuration logic is the port address followed by the destination...
Page 76 - Command Packet Cyclic Redundancy Check
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 76 incrementing read 4. The data length is not 4 in a verified write command. 5. The data length is not 8 in a read modify write command. Invalid Register Address The address field is addr...
Page 77 - None
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 77 7.6.9 Source Path Address Field The RMAP command field “source path address length” indicates the number of source path addresses which are expected in the packet. Up to 12 source path ...
Page 78 - Figure 7-12 Source Path Address field decoding
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 78 Figure 7-12 and Figure 7-13 illustrate how source path addresses are returned in relation to the RMAP packet description. 00 00 04 02 Dest Logical Protocol ID Command Dest Key Source Lo...
Page 79 - SPACEWIRE LINK CONTROL
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 79 8. CONTROL LOGIC AND OPERATIONAL MODES In this section the SpaceWire router control logic and operational modes are defined. The router control logic determines how the SpaceWire link p...
Page 81 - Figure 8-1 Deactivate driver operating mode
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 81 DOUT SOUT DIN SIN Connection made Data Transfer Disconnect Deactivated Deactivated Return NULLs Disconnect Detected Data Received NULL receivedActivate output DS resetDeactivate output ...
Page 82 - Setting the SpaceWire port transmit data rate
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 82 3.3 V 2850 Ω 20 k Ω R T =100 Ω 16 k Ω Vdd 2850 Ω 91 µA 87 µA 12 µA 99 µA 190 µA 3.05 V 3.04 V 10 mV ‐ + Figure 8-3 Deactivated LDVS driver output connected to e...
Page 83 - Table 8-1 Setting SpaceWire Transmit Data Rate
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 83 ( ) ( ) 2 * 1 10 2 * 20 100 10 1 ⎟ ⎟ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎜ ⎜ ⎝ ⎛ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + = + MbitDIV TX FEEDBDIV MHz MHz MbitRate TXDIV To provide a SpaceWire signal with a nominal 50/50 duty cycle, TX...
Page 84 - GLOBAL SPACEWIRE LINK CONTROL
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 84 The columns header TXRATE give the SpaceWire transmit data rate obtained for various settings of the TXRATE field in a SpaceWire port control register. The duty cycle of the SpaceWire d...
Page 85 - Figure 8-4 Start on Request mode
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 85 8.2.1 Start on request mode The Start on Request mode is enabled by setting the CFG_START_ON_REQ bit in the router control register. The input signal POR_START_ON_REQ_N determines the p...
Page 86 - Figure 8-5 Disable on Silence mode; CONTROL LOGIC AND ROUTING
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 86 R1 R2 1 2 1 2 Auto-Start default mode and Start on Request enabled and Disable on Silence enable in both routers R1 R2 1 2 1 2 Packet with address 2 R1 R2 1 2 1 2 Connection Attempt Lin...
Page 87 - Figure 8-6 Arbitration of two packets with matching priority.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 87 dependent on the previous input port which had access to that output port. The next input port to transfer data to an output port is the next highest port number (modulo number of ports...
Page 88 - Figure 8-7 Arbitration of three packets with matching priority
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 88 8.3.2.2 Arbitration of packets with matching priority (2) In the Figure 8-7 another example of arbitrating between packets with the same priority is illustrated. Again only router ports...
Page 89 - Figure 8-8 Arbitration of two packets with different priority (1)
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 89 8.3.2.3 Arbitration of packets with different priority (1) In the Figure 8-8 arbitration of packets with different priority is illustrated. Only router ports 1-5 are shown for clarity. ...
Page 91 - Figure 8-9 Arbitration of two packets with different priority (2)
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 91 R1 2 5 1 3 52 4 52 R1 2 5 1 3 52 4 Two packets waiting to use port 5 (Previous port which accessed port 5 = 4) Packet from port 1 is selected HIGH priority packet arrives at port 4 R1 2...
Page 92 - Figure 8-10 Normal group adaptive routing
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 92 8.3.3 Group Adaptive Routing The SpaceWire router routing table can be set up to support group adaptive routing of packets. Setting the routing table contents is described in section 9....
Page 93 - Figure 8-11 Group adaptive routing when other ports busy; Figure 8-12 Group adaptive routing when ports not ready
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 93 R1 1 2 3 4 5 6 76 Group adaptive routing packet with address 76 arrives at port 1 Ports 4 and 5 are busy routing packet data from ports 2 and 3 Address 76 – Routing table entry Header D...
Page 96 - Blocking Allowed Mode; shown by the path address 4, 5 at the head of the packet.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 96 In blocking allowed mode the network path is blocked until the destination node starts to accept data again. Packets waiting to use the network path will wait indefinitely. In watchdog ...
Page 97 - Watchdog timer mode
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 97 R1 1 2 3 4 5 6 (c) R2 1 4 2 3 5 6 4 4 Figure 8-16 Destination Node Blocked (c) Watchdog timer mode What happens when the routers are in Watchdog Timer mode and a destination becomes blo...
Page 98 - Blocking Allowed
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 98 1 2 3 4 5 6 (c) 1 4 2 3 5 6 4 4 EEP R1 R2 Figure 8-19 Destination Node Blocked: Watchdog Mode (c) d) The packet waiting at routing switch R1 port 2 is routed and the network blockage is...
Page 99 - and the packet waiting at R1-2 can be routed.; Watchdog Timer Mode
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 99 R1 1 2 3 4 5 6 (a) 4 5 R2 1 4 2 3 5 6 4 4 Figure 8-21 Source Node Stalled (a) b) The packet from routing switch R1 port 3 is routed towards its destination but during packet transfer th...
Page 100 - d) The packet waiting at R1 port 2 can now be routed.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 100 R1 1 2 3 4 5 6 (a) 4 5 R2 1 4 2 3 5 6 4 4 Figure 8-25 Source Node Stalled: Watchdog Mode (a) b) The packet from routing switch R1 port 3 is routed towards its destination but during pa...
Page 101 - If a packet arrives at an input port on the SpW-10X router and
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 101 8.3.5.3 Waiting for an output port When a packet arrives at an input port of the SpW-10X router is has to wait to be forwarded to an output port. How long the packet waits will depend ...
Page 103 - The bit numbers of each field; INTERNAL MEMORY MAP; The memory map for the SpaceWire Router is shown in Figure 9-1.; Figure 9-1 Router Internal Memory Map
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 103 9. REGISTER DEFINITIONS This section describes the internal configuration registers of the SpW-10X Router. The following subsections contain register bit description tables which hold ...
Page 104 - Table 9-1 Types of Register within Configuration Port; REGISTER ADDRESSES SUMMARY
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 104 registers allow the router management control and status information to be accessed by a network manager using configuration commands. Table 9-1 provides an overview of each of the dif...
Page 105 - Table 9-2 Configuration Register Addresses; GROUP ADAPTIVE ROUTING TABLE REGISTERS; Figure 9-2 GAR Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 105 Table 9-2 Configuration Register Addresses Address Register 31–0 ( 0x0000 001F–0x0000 0000 ) Port control/status registers 255–32 ( 0x0000 00FF –0x0000 0020 ) Group adaptive routing ta...
Page 106 - Table 9-3 describes each field in the GAR register.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 106 configuration memory address range of the GAR table is 32-255 (0x0000 0020 – 0x0000 00FF). The configuration memory address corresponds to the logical address; hence the GAR table entr...
Page 107 - Table 9-3 GAR Table Register Description; RESERVED
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 107 Table 9-3 GAR Table Register Description Address Range: 32-255 (0x0000 0020 – 0x0000 00FF) Bits Name Reset Value Description Read/Write 0 RESERVED ‘0’ Reserved bit – always set to zero...
Page 109 - Bits Name; port
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 109 Bits Name Reset Value Description Read/Write 28:24 Current port connection All bits set to one. The current port connection bits indicate the input port which this output port is curre...
Page 112 - Figure 9-3 SpaceWire Port Control/Status Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 112 9.4.3 SpaceWire port control/status register bits. The port control/status fields specific to SpaceWire ports are shown in Figure 9-3 and Table 9-6. Error Status 0 7 11 8 15 12 16 22 2...
Page 115 - Table 9-7 External Port Control/Status Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 115 9.4.4 External port control/status register bits. The port control/status fields specific to the External port are described in Table 9-7. Table 9-7 External Port Control/Status Fields...
Page 116 - Figure 9-4 Network Discovery Register Fields; Device Type
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 116 Device Type 0 7 3 8 4 Return Port Ports in run state 31 Figure 9-4 Network Discovery Register Fields Table 9-8 Network Discovery Register Fields Bits Description Reset Value Usage Read...
Page 117 - Table 9-9 Router Identity Register Field; Identity; Figure 9-5 Router Control Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 117 Table 9-9 Router Identity Register Field Bits Description Reset Value Usage Read/Write 31:0 Router Identity All bits set to zero A 32-bit read/write register which may be used to hold ...
Page 120 - The error active register fields are shown in; Figure 9-6 Error Active Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 120 WARNING The default timeout intervals of 60-80 µs or 1.3 ms are short. It may be necessary to increase the timeout interval by a configuration command writing to the router control reg...
Page 121 - Table 9-11 Error Active Register Fields; Configuration
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 121 Table 9-11 Error Active Register Fields Bits Name Reset Value Description Read/Write 0 Configuration Port Error Active ‘0’ Indicates that the Error Active bit in the configuration port...
Page 122 - Device Manufacturer and Chip ID Register
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 122 Table 9-12 Time-Code Register Fields Bits Name Reset Value Description Read/Write 5:0 Time Value All bits set to zero 6-bit time-code value R 7:6 Time-Code Flags “00” Two time-code fla...
Page 123 - Figure 9-9 Time-Code Enable Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 123 9.5.7 General Purpose Register The general purpose register address is 262 (0x0000 0106). The general purpose register contains 32-bits and may be set by a configuration write command ...
Page 124 - Table 9-14 Time-Code Enable Register Fields
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 124 Table 9-14 Time-Code Enable Register Fields Bits Name Reset Value Description Read/Write 0 Reserved 0 Reserved bit R 8:1 SpaceWire Time-Code Enable 0 Time-code distribution enable bits...
Page 125 - Figure 9-10 Transmit clock control register
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 125 WARNING If a SpaceWire port that is being used to configure a router has its transmit clock turned off then it will not be possible to configure the router using that port. Unless ther...
Page 127 - The destination key register fields are listed in the table below.; Table 9-16 Destination Key Register; 1 Unused Registers and Register Bits
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 127 9.5.10 Destination Key Register The Destination Key register address is 265 (0x0000 0109). The destination key register fields are listed in the table below. Table 9-16 Destination Key...
Page 128 - CLOCK AND RESET TIMING PARAMETERS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 128 10. SWITCHING CHARACTERISTICS 10.1 CLOCK AND RESET TIMING PARAMETERS The global clock and asynchronous reset timing parameters are listed below. Table 10-1 Clock and reset timing param...
Page 129 - EXTERNAL PORT TIMING PARAMETERS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 129 Table 10-2 Serial signal timing parameters Description Symbol Value Units DS maximum input bit rate T DS 200+2% Mbits/s, max DS minimum consecutive edge separation T DSINS 3 ns, min Mi...
Page 130 - Table 10-3 External port timing parameters; TIME-CODE INTERFACE TIMING PARAMETERS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 130 Table 10-3 External port timing parameters Description Symbol Value Units Write enable setup time to CLK rising edge T EXTWRSU 5 ns, min Write enable hold time after CLK rising edge T ...
Page 131 - Table 10-4 Time-code interface timing parameters; ERROR/STATUS INTERFACE TIMING PARAMETERS
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 131 EXT_TICK_OUT T TCLKOL T TCLKOH EXT_TIME_OUT T TCLKOE T TCLKOE Figure 10-5 Time-Code Output Interface TIME_CTR_RST T TCKIL T TCLKIH Figure 10-6 Time-code TIME_CTR_RST interface The Time...
Page 132 - Table 10-5 Status Multiplexer timing parameters; Status address change to status output change; CLK rising edge to status output
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 132 Table 10-5 Status Multiplexer timing parameters Description Symbol Value Units Status address change to status output change T STMUX 3 to 20 ns CLK rising edge to status output T CLKST...
Page 133 - LATENCY AND JITTER; measured time may be less than indicated.; System Clock Period; Transmit Clock Period; by the user configuration); Receive Clock Period; Switching latency for the router is defined as follows
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 133 10.6 LATENCY AND JITTER The timing parameters for the data and time-code latency and the time-code jitter are derived from the receive clock, transmit clock and system clock period. Th...
Page 134 - Last bit of data into receiver to external port not empty flag
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 134 SpaceWire port to SpaceWire port Last bit of data into receiver to last bit of data out of transmitter (Worst case where transmitter is sending a time-code and FCT character before dat...
Page 135 - Description Symbol
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 135 10.6.5 Time-code Jitter The variation in time to propagate a time-code through a routing switch. Time-code jitter occurs in the synchronisation handshaking circuits and the transmitter...
Page 136 - DC CHARACTERISTICS; Table 11-1 Operating Conditions; Supply voltage
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 136 11. ELECTRICAL CHARACTERISTICS The electrical characteristics for the SpaceWire router are defined in this section 11.1 DC CHARACTERISTICS The operating conditions are listed in Table ...
Page 137 - ABSOLUTE MAXIMUM RATINGS; RELIABILITY INFORMATION
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 137 11.2 ABSOLUTE MAXIMUM RATINGS The absolute maximum ratings are listed in Table 11-2. For a detailed list of the maximum conditions see [AD3]. Table 11-2 Absolute Maximum Ratings Symbol...
Page 138 - EXAMPLE CIRCUIT DIAGRAM
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 138 12. APPLICATION GUIDELINES In this section an example circuit diagram is provided and PCB and design guidelines presented.; 12.1 EXAMPLE CIRCUIT DIAGRAM A schematic showing how the SpW...
Page 140 - PCB DESIGN AND LAYOUT GUIDELINES; PCB design and layout guide lines are provided in this section.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 140 12.2 PCB DESIGN AND LAYOUT GUIDELINES PCB design and layout guide lines are provided in this section. 12.2.1 CLK 1. Series termination should be used on the CLK signal. 2. Stubs on the...
Page 141 - LVDS tracks shall be 100 ohm differential impedance.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 141 2. LVDS fail safe resistors need not be adjacent to the termination resistor. Their location is not critical but the stub lengths to the termination resistors should be less than 20 mm...
Page 142 - Figure 12-1 PLL Layout Recommendations; The following layout recommendations apply to the PLL circuitry.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 142 12.2.10 PLL See Figure 12-1 the internal wiring of PLL block to better understand the external board recommended layout. The Voltage drop between PLL loop filter (LF) and the PVCOBIAS ...
Page 143 - In this section a list of anomalies and warnings is provided:
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 143 13. ANOMALIES AND WARNINGS In this section a list of anomalies and warnings is provided: 13.1 ANOMALIES The following anomalies are present in the prototype SpW-10X router device: 1. S...
Page 146 - Figure 13-1 Reset Waveform
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 146 set a glitch may occur on data and strobe, see Figure 13-3. A simultaneous transition or glitch on data and strobe may occur when reset is released, Figure 13-4. Figure 13-1 Reset Wave...
Page 147 - Figure 13-5 Link Disconnect Waveforms; Once all these ports have been disabled, wait for at least 10 μs.
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 147 13.3.2 Data Strobe Disable Waveform If a SpaceWire link is disabled, either by configuration command or a disconnect, parity, escape or credit error, the final bit of strobe will be ex...
Page 148 - PARITY ERROR ANOMALY; An example of this anomaly is shown in Figure 13-6.; Figure 13-6 Data after parity error anomaly
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 148 13.4 PARITY ERROR ANOMALY 13.4.1 Parity Error Action A parity error on the SpaceWire link causes the link to be disconnected by the SpaceWire router. If a packet is being received the ...
Page 149 - Figure 13-7 No error end of packet inserted after parity error
Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 149 Figure 13-7 No error end of packet inserted after parity error 13.4.3 Parity Error Workaround There is no specific workaround for this anomaly as a similar situation can occur in any c...