Atmel SpaceWire Router SpW-10X manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Atmel SpaceWire Router SpW-10X. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Atmel SpaceWire Router SpW-10X ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Atmel SpaceWire Router SpW-10X décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Atmel SpaceWire Router SpW-10X devrait contenir:
- informations sur les caractéristiques techniques du dispositif Atmel SpaceWire Router SpW-10X
- nom du fabricant et année de fabrication Atmel SpaceWire Router SpW-10X
- instructions d'utilisation, de réglage et d’entretien de l'équipement Atmel SpaceWire Router SpW-10X
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Atmel SpaceWire Router SpW-10X ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Atmel SpaceWire Router SpW-10X et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Atmel en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Atmel SpaceWire Router SpW-10X, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Atmel SpaceWire Router SpW-10X, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Atmel SpaceWire Router SpW-10X. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 1 SpW-10X SpaceWire Router User Manual Ref: UoD_SpW-10X_UserManual Atmel Part No.: AT7910E Document Revision: Issue 3.4 Date: 11 th July 2008 Prepared by - Chris McClements, University of Dund ee Steve Parkes, University of Dundee Gerald [...]

  • Page 2

    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 McClem ents 16 November 2004 Issue 1.3 Register Definitions[...]

  • Page 3

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 3 guidelines. Section added on anomalies an d warnings. Section added on Technical Support. 20 th January 2008 Issue 3.1 Corrections and example schematic improved. Steve Parkes 18 th April 2008 Issue 3.2 Explanation of non-blocking cross[...]

  • Page 4

    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 5

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 5 5.3 EXTERNAL PORT DA TA SIGNALS ............................................................................................ 37 5.4 TIME-CODE SIGNALS ......................................................................................[...]

  • Page 6

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 6 8.1.2 Auto-S tart ..................................................................................................................... ............. 79 8.1.3 Link-S tart .................................................................[...]

  • Page 7

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 7 9.5.5 Time-Code Register ............................................................................................................. ... 121 9.5.6 Device Manufacturer and Chip ID Re gister .............................................[...]

  • Page 8

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 8 12.2.7 External Ports ................................................................................................................. ....... 141 12.2.8 Time-code In terface ............................................................[...]

  • Page 9

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 9 15.16 ISSUE 1.2 TO ISSUE 1.3....................................................................................................... 15 4 15.17 ISSUE 1.1 TO ISSUE 1.2.......................................................................[...]

  • Page 10

    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-2 N ODE I NTERFACE ...............................[...]

  • Page 11

    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 DIFFEREN T PRIORITY (1) .......................................................... 89 F IGURE 8-9 A RBITRATION OF TWO PACKETS WITH DIFFEREN T PRIORITY (2) ...................................[...]

  • Page 12

    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 ANOMALY ..........................................[...]

  • Page 13

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 13 T ABLE 9-6 S PACE W IRE P ORT C ONTROL /S TATUS R EGISTER F IELDS . ................................................................... 113 T ABLE 9-7 E XTERNAL P ORT C ONTROL /S TATUS F IE LDS .........................................[...]

  • Page 14

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 14 1. INTRODUCTION This document is a tech nical reference for the impleme ntation and operation of the SpW-10X SpaceWire Router device (Atmel part number AT7910E). Note: Detailed timing information for the ASIC implementation will be ava[...]

  • Page 15

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 15 VCO Voltage Controlled Oscillator VDD Drain Voltage (power pin of SpW-10X de vice) VSS Source Voltage (ground pin of SpW-10X device) WR Write 1.2 DOCUMENTS In this section the documents refere nced in this document are listed. Table 1-[...]

  • Page 16

    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-se ctions. Note: SpW-10X is pronounce d “ SpaceW ire Ten X ”. This name derives from the abbreviation [...]

  • Page 17

    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 u sed as a node interface. The equipment to be co nnected to the SpaceWire network is attached to one or both external ports. One or more Spac[...]

  • Page 18

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 18 Instrumen t 1 Instrumen t 2 Instrumen t 3 Instrumen t 4 Memory Unit Processor SpW ‐ 10X Ro u te r Instrumen t 5 Instrumen t 6 Spac eWire  Node  with  Embedded  Ro u t e r SpaceWir e  Links Figure 2-3 Embedded Router In[...]

  • Page 19

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 19 SpW ‐ 10X Ro u te r SpW ‐ 10X Ro u te r Spac eWire Por ts Figure 2-4 Expanding the number of SpaceWire Ports (1) Figure 2-4 shows a pair of SpW-10X routers connected together usin g the external FIFO po rts to provide a 16 port rou[...]

  • Page 20

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 20 Figure 2-5 Expanding the number of SpaceWire Ports (2) Figure 2-5 shows two SpW-10X rout er devices interconnected us ing two of the SpaceWire port s on each router. This leaves twelve SpaceWire po rt s for connection to other SpaceWi [...]

  • Page 21

    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 ro uting matrix. The routing matrix enables packets arriving at one S paceWire port to be tra nsferred to and sent out of another port on the[...]

  • Page 22

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 22 Ex t e r n a l P or t O u tp u t FI FO Inp ut F I F O Cr o s s b ar Sw i t ch Co n t r o l Lo gi c Ro u t in g Ta b le Ti m e -C od e In t erf ac e Con f ig u r a t io n Po rt S t a t us /E r ror Re g is t er s Sp ac eWi re Po r t 1 Sp[...]

  • Page 23

    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 synchrono us ly with the 30MHz system clock. An eight-bit data inte rface and an extra control bit for end of packet m arkers are provided by each e xternal port FIFO. Packets received by the external port are r[...]

  • Page 24

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 24 The crossbar switch connects an input port to an out put port allowing data to flow from the input port to the output port. Severa l input ports may be co nnected simultaneou sly to several output port s all passing da ta. Two or more [...]

  • Page 25

    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 packag e is a 196 pin MQFPF package. Type definition: - 3V3........................ .........3.3 Volt power - GND......................... .......Ground - PIC................................ CMOS i[...]

  • Page 26

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 26 18 DINMinus(1) PFILVDSZPB SpW port 1 input data - 19 SINPlus(1) PFILVDSZP SpW port 1 input strobe + 20 SINMinus(1) PFILVDSZPB SpW port 1 input strobe - 21 SOUTMinus(1) PFOLVDS33ZPB SpW port 1 output strobe - 22 SOUTPlus(1) PFOLVDS33ZP [...]

  • Page 27

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 27 58 VSSB GND Ground 59 VDDB 3V3 Power 60 DINPlus(5) PFILVDSZP SpW port 5 input data + 61 DINMinus(5) PFILVDSZPB SpW port 5 input data - 62 SINPlus(5) PFILVDSZP SpW port 5 input strobe + 63 SINMinus(5) PFILVDSZPB SpW port 5 input strobe [...]

  • Page 28

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 28 98 VSSB GND Ground 99 VDDB 3V3 Power 100 EXTOUTDATA9(0) PO44F External FIFO port 9 output data 101 EXTOUTDATA9(1) PO44F External FIFO port 9 output data 102 EXTOUTDATA9(2) PO44F External FIFO port 9 output data 103 EXTOUTDATA9(3) PO44F[...]

  • Page 29

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 29 138 EXTOUTDATA10(8) PO44F External FIFO port 10 output data 139 EXTOUTEMPTYN10 PO44F External FIFO port 10 output empty 140 VSSA6 GND Ground 141 VDDA6 3V3 Power 142 EXTOUTREADN10 PIC External FIFO port 10 output read 143 EXTINDATA10(0)[...]

  • Page 30

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 30 178 EXTTIMEOUT(6) PO44F Time-code output 179 EXTTIMEOUT(7) PO44F Time-code output 180 STATMUXADDR(0) PIC Status output multiplexer address 181 STATMUXADDR(1) PIC Status output multiplexer address 182 STATMUXADDR(2) PIC Status output mu[...]

  • Page 31

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 31 5. DEVICE INTERFACE The device pins used by each interface are described in thi s section. There is a table for each type of interface listing the signals in that interf ace. These tables have the followin g fields:  Pin No: The dev[...]

  • Page 32

    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 Asynchronou s system res et (active low). CMOS3V3 4 TestI[...]

  • Page 33

    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 T ype 24 23 DOUTPlus(1) DOUTMinus(1) Out Differential output pair, data part of Data-Strobe SpaceWire port 1. LVDS+ (P Side) LVDS - (N Side) 34 33 DOUTPlus(2) DOU[...]

  • Page 34

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 34 17 18 DINPlus(1) DINMinus(1) In Differential input pair, data part of Data-Strobe SpaceWire port 1. LVDS+ (P Side) LVDS - (N Side) 25 26 DINPlus(2) DINMinus(2) In Differential input pair, data part of Data-Strobe SpaceWire port 2. LVDS[...]

  • Page 35

    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 be comes disconnected then n o current flows through the te rmination resistor. The differential voltage across this re sistor is t hen zero. A small noise current, induced[...]

  • Page 36

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 36 The bias resistor values ar e determined as follows: 1. Determine the amount of noise prote ction required. E.g. if the maximum noise voltage expected is less than 10 mV then the bias current re quired is I b =10 mV/100 Ω = 0.1 mA. No[...]

  • Page 37

    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 loo p it should not matter what the sup ply voltage is to an LVDS device connected to the SpW-10X rout er. However, there is a potential proble m whe[...]

  • Page 38

    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) - EOP. (1)(XXXXXXX1) - EEP. Bit 7 is the most signif[...]

  • Page 39

    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 of the data byte. Pull-up resistors (e.g. 4k7 Ω [...]

  • Page 40

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 40 should be pulled down (e.g . 4k7 Ω ). 166 165 164 163 162 161 160 159 EXT_TIME_IN(7) EXT_TIME_IN(6) EXT_TIME_IN(5) EXT_TIME_IN(4) EXT_TIME_IN(3) EXT_TIME_IN(2) EXT_TIME_IN(1) EXT_TIME_IN(0) In EXT_TIME_IN(7:0) provides the value of th[...]

  • Page 41

    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 information on the operation of the time-code interf[...]

  • Page 42

    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 12 3456 78 STAT_MUX_OUT Inputs Outputs Figure 5-2 Configuration in terface timing specification The POR configuration signal s (POR_SIGNALS) listed in Table 5-6 are loaded into the appropriate interna[...]

  • Page 43

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 43 Table 5-6 Reset Configuration Signals Signal Dir Description Signal Typ e STAT_MUX_OUT(2 :0) [maps to -> POR_TX_RATE(2:0)] In Sets the transmitter maximum data rate after reset. The data rate can subseque ntly be changed during norm[...]

  • Page 44

    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 u s. ‘0’ => Timeout period is ~ 1. 3 ms. Timeout Period is: ‘1’ => 200x(2^2)x(10 M Hz clk period) ‘0’ => 200x(2^16)x(10 MHz clk pe riod) An external pull down resistor (e[...]

  • Page 45

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 45 Note: The recommended method for setting the POR signals i s to use external pull up/down resistors (e.g. 4k7 Ω ) in which case the timing of the POR signals is not criti cal. See section 6.3 and 6.4 for fu rther information on th e o[...]

  • Page 46

    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 depend s on the required VC O freque ncy range which is determined by the PLL feedbac[...]

  • Page 47

    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 operati on of the external FIFO po rt, time-code interface and stat us/power on configuration interface. First a note on the terminology used: Signals are giv en a name (e.g. EXT_IN_FU[...]

  • Page 48

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 48 CLK 123456789 1 0 1 1 1 2 EXT_OUT_READ_Nx EXT_OUT_DATAx EXT_OUT_EMPTY_Nx DATA1 DAT A2 DATA4 DATA3 read read read Figure 6-2 External port read timing specification Reading of the External port is illustrated in Figure 6-2. When data is[...]

  • Page 49

    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_TI CK_IN signal has a rising edge. If SEL_EXT_TIME is 1 then the EXT_TIME_IN(7:0) inputs are used to provide t he contents of the time-code. If SEL_EXT_TIME is 0 then the internal time-code counter provides[...]

  • Page 50

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 50 Table 6-1 Multiplexed Status Pins Bit Assignment Mux Address Status Register Stat us Signal Status Register Bits Status Output Bits 0 Configuration Port Packet return address error Output port timeout error Checksum error Packet too sh[...]

  • Page 51

    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 External Ports 1,2 Error 0 5 :1 10 :9 0 5 :1 7 :6 14 [...]

  • Page 52

    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 ho w the routin g control logic interprets packets. 7.1 PACKET ADDRESSES The routing control logi c interprets the first byte of ea ch received packet as th e packet address. The [...]

  • Page 53

    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 inpu t to the router has an asso ciated prio rity level, either as a result of the packet address or the internal routing table. Two priority levels HIGH an d LOW are supported. The table below [...]

  • Page 54

    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 Ma pping Packet Address Header Deletion Physical Port type 0 Enabled Configuration port 1 Enabled SpaceWire link port 1 2 Enabled SpaceWire link port 2 3 Enabled SpaceWire link port 3 4 Enabled SpaceWir[...]

  • Page 55

    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 po rts and the external ports dependent on the pack et address. Dat a packets have an address heade r byte a cargo field and an end of pack[...]

  • Page 56

    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 addres s Yes “0011” Read incrementing addres s Yes “0100” Not[...]

  • Page 57

    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 Chara cteristics 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 64-bit read NS - - Word or byte address 32-bit a[...]

  • Page 58

    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 rout es the packet to the configuration port of the router. The configuration port address (00h) is al[...]

  • Page 59

    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 executed 1 In Figure 7-4 the format of the reply to a r[...]

  • Page 60

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 60 Protocol Identifier The RMAP protocol identifier value 01h. 1 Command Byte Read single address re ply command byte. The packet type bits in the command byte indicate this packet is a response pa cket. 1 Status The command status is ret[...]

  • Page 61

    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 Chara cteristics Action Supported/ Not Supported Maximum number of bytes Non-aligned access accepted 8-bit read NS - - 16-bit read NS - - 32-bit read S 1064 No 64-bit read NS - - Word or byte address[...]

  • Page 62

    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 SpaceWir e router configuration logic is the po rt address followed by the destination logical addre ss. Fields wh ich are d epicted in bold text are expected values. Fields which are shaded[...]

  • Page 63

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 63 Destination Key The destination key identifier must ma tch the contents of the destination key register, see section 9.5.10. 1 Source Path Address The source path address field is used to add source path addresse s to the head of the r[...]

  • Page 64

    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 in crementing address co mmand is illustrated. The first byte sent by the SpaceWire router configuratio n logic is the port address follo wed by the destination logical address. Fields wh[...]

  • Page 65

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 65 Command Byte Read incrementing address reply command byte. The packet type bits in the command byte indicate this packet is a reply packet. 1 Status The command status is returne d in this field. The command status can be command succe[...]

  • Page 66

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 66 32-bit read-modify-write S 4 No 64-bit read-modify-write NS - - Word or byte address 32-bit alig ned Accepted Logical Addresse s 0xFE Accepted destination keys 0x20 at power on Accepted address ranges 0x 00 0000 00 00 – 0x00 0000 010[...]

  • Page 67

    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-Writ e Command Packet Fields Packet Field Description Bytes Config Port Address The configuration port address field rout es the packet to the configuration port of the router. The configuration port address is a[...]

  • Page 68

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 68 Mask Length 4 bytes for the mask to modify a 32-bit register. Header CRC The header CRC used to detect errors in the header part of the command packet. 1 Data and Mask The data and mask values to write to the SpaceWire router. The da t[...]

  • Page 69

    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. Th e first byte received by the SpaceWire router configuratio n logic is the port address followed by the destination logical address. Fields wh ich [...]

  • Page 70

    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 addres s. Transaction Identifier The transaction identifier identifies the command packet and repl y packet with a unique number. The transaction i dentifier in the reply packet [...]

  • Page 71

    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 addre ss, with data verify and acknowle dgement command is supported in th e SpaceWire router. The RMAP write com mand is used to write a 32 bit value into one of the SpaceWir e router registers. In Figure 7-10 th[...]

  • Page 72

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 72 Command Byte The command byte indicates a write single add ress, with verification and acknowledgement packet. The Source pa th address length field s are set to the number of source path addresses re quired as defined in section 7.6.9[...]

  • Page 73

    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 i s illustrated. The first byte sent by the SpaceWire router configuration logi c is the port address followed by the destination logical address. Fields which are depicted in b[...]

  • Page 74

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 74 address Transaction Identifier The transaction identifier identifies the command packet and repl y packet with a unique number. The transaction identifier in the reply packet is cop ied from the command packet and returned in this fiel[...]

  • Page 75

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 75 packet is corrupted Early EOP The command packet was terminated early with an EOP. A reply packet is sent if the early EOP error occurs on the data part of the packet Yes Early EOP 5 Cargo too Large The expe cted amount of SpaceWire ca[...]

  • Page 76

    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 leng th is not 4 in a verified write command. 5. The data leng th is not 8 in a read modify write command. Invalid Register Address The address field is addressing an unknown register for a read comm and o[...]

  • Page 77

    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 add ress l ength” indicates the n umber of sou rce path addresses which are expe cted in the packet. Up to 1 2 source path addresses can b e accepted by the router[...]

  • Page 78

    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 Protoco l ID Command Dest Key Source Logical Trans ID(1) Tr ans ID(0) Address(4) Figure [...]

  • Page 79

    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 logi c a nd operational modes a re defined. The router control logic determines how the SpaceWire link po rts operate, how received packets are routed [...]

  • Page 80

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 80 8.1.4 Link-Disable The SpaceWire port ca n be disabled therefore rendering the link unu sable. When a SpaceWire link which is running is di sabled it will disconne ct from the far end and refuse connection attem pts by the far end of t[...]

  • Page 81

    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 m ade Data Tr ansfer Disconnect Deac tivated Deac tivated Return NULLs Disconnect Detected Data Receiv ed NULL receiv ed Acti vate output DS reset Deactiv ate out put Deac tivated Deac tivated Figure 8-1 De[...]

  • Page 82

    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 Ω Vd d 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 outpu t connected to exte[...]

  • Page 83

    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, T XRATE and TX10M[...]

  • Page 84

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 84 The columns header TXRA TE give the SpaceWire tran smit data rate obtained for various settings of the TXRATE field in a SpaceWire port control register. The duty cycle of the SpaceWire data rate clock is given in the row immediately u[...]

  • Page 85

    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_RE Q bit in the router control register. The input signal POR_START_ON_REQ_N determines the power o n or reset state of the CFG_START_ON_REQ b[...]

  • Page 86

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 86 R1 R2 12 12 Auto-Start default mode and Start on Request enabled and Disable on Sil ence enable i n both routers R1 R2 12 12 Packe t with address 2 R1 R2 12 12 Connection A ttempt Link Started and Data transfer R1 R2 12 12 Data transfe[...]

  • Page 87

    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 whi ch had acce ss to that output port. The next input port to transfer data to an output port i s the next highest port number (m odulo number of ports) that has data to send. Thus the input port w[...]

  • Page 88

    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 e xample of arbitrating betw een packets with the same priority is ill ustrated. Again only router ports 1-5 are shown for cla rity. At stage one input[...]

  • Page 89

    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 . At stage one input po rts 1 and 3 have packets wi[...]

  • Page 90

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 90 8.3.2.4 Arbitration of packets with different priority (2) In Figure 8-8 another example of arbitration of packets with different priority is illustrated. Only router ports 1-5 are shown for cla rity. At stage one input po rts 1 and 3 [...]

  • Page 91

    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 p acket s waitin g to us e port 5 (Pre vious por t which acces sed port 5 = 4) Packe t from port 1 is s elect ed HIGH prio rity packet ar rives at po rt 4 R1 2 5 1 3 4 Packet f rom port 1 com plet[...]

  • Page 92

    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 suppo rt group adaptive routing of packets. Setting the routing table contents is described in se ction 9.3. In group adaptive routing a set of outp ut po[...]

  • Page 93

    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 adapti ve routing packe t wit h addre ss 76 arri ves at por t 1 Ports 4 a nd 5 are bu sy rout ing pack et data from ports 2 an d 3 Addr e ss 76 – Rou ting tabl e en tr y Header Dele tion disabled Port 4 Port 5[...]

  • Page 94

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 94 then a packet that that is addressed to go out of the same port that it arrived on will be disca rded and a packet address error recorded. Command reply packets which are returned through the sam e port they arrived on are not affected[...]

  • Page 95

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 95 8.3.5 Packet Blocking The Time-Out Enable bit (bit 0) of the router contro l register enabl es the watchdog timers on the ports. When this bit is set and the watchdog timers a re enabled the router i s in “Watchdog Timer” mode. Whe[...]

  • Page 96

    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 blo cke d until the destination node start s to accept data again. Packets waiting to use the net work path will wait indefinitely. In watchdog timer m ode the router will timeout a nd the n[...]

  • Page 97

    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 14 2 3 5 6 4 4 Figure 8-16 Destination Node Block e d (c) Watchdog timer mode What happens when the routers a re in Watchdog Ti mer mode a nd a destination become s blocked is illustrated in Figure 8-17to Figure 8[...]

  • Page 98

    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) 14 2 3 5 6 4 4 E E P R1 R2 Figure 8-19 Destination Node Block e d: Watchdog Mode (c) d) The packet waiting at routing switch R1 port 2 is rout ed and the network blo ckage is cleared. Routing switch R2 port 5 still has [...]

  • Page 99

    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 14 2 3 5 6 4 4 Figure 8-21 Source Node Stalled (a) b) The packet from routing switch R1 port 3 is routed t owards its destination b ut during packet transfer the source node stalls and doe s not supply any fur[...]

  • Page 100

    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 14 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 t owards its destination b ut during packet transfer the source node stalls and doe s n[...]

  • Page 101

    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 p ort of the SpW-10X router is has to wait t o be forwarded to an output port. How long the packet wa its will depend on whether the router is in Blocking Allowed or[...]

  • Page 102

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 102 WARNING Packets can timeout and be spilled in a SpaceWire network without the destination receiving an y notification of this. Packets with errors (e.g. parity error) can arrive at a d estination terminated by an EEP. In a very specia[...]

  • Page 103

    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 confi guration registers of the SpW-10X Router. The following subsections contai n register bit descripti on tables which hold the following information: • The bit numbers [...]

  • Page 104

    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 manageme nt control and status information to be accessed by a networ k manager using configuration comm ands. Table 9-1 provides an overview of each of the different types of register within the configurati[...]

  • Page 105

    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 Address es Address Register 31–0 ( 0x0000 001F–0x0 00 0 0000 ) Port control/status registers 255–32 ( 0x0000 00FF –0x0000 00 20 ) Group adaptive routing table regi sters 256 ( 0x0000 0100 ) Net[...]

  • Page 106

    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 002 0 – 0x0000 00FF). T he configuration memory ad dress corresponds to the logical address; hence the GAR ta ble entry at address 39 corresponds to logical addre[...]

  • Page 107

    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 (0 x0000 0020 – 0x0000 00FF) Bits Name Reset Value Description Read/Write 0 RESERVED ‘0’ Reserved bit – alway s set to zero. R 10:1 REQUEST Undefined after power o[...]

  • Page 108

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 108 WARNING Care must be taken when setting a the routing tables to avoid a possible infinit e loop. For example if there is a SpaceWire link made between two ports of a single rou ter and a logical address routes a packet out of one of t[...]

  • Page 109

    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 connectio n All bits set to one. The current port connection bits indi cate the input port which this output port is currently conne cted to. Port number 31 (bits 28:24 s[...]

  • Page 110

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 110 Table 9-5 Configuration Port Control/Status Register Fields Bits Name Reset Value Description Read/Write 0 Error active ‘0’ The error active bit is set when one of the error bits is active R 1 Port timeout error ‘0’ The port t[...]

  • Page 111

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 111 14 Invalid Register Address ‘0’ The invalid register address bit is set when an unknown register address i s given in the command packet or a write is attempted to a read only register R 15 Unsupported protocol error ‘0’ The u[...]

  • Page 112

    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 contro l/status register bits. The port control/status fields specific to Spac eWire ports are sho wn in Figure 9-3 and Table 9-6. Error S tatus 0 7 11 8 15 12 16 22 27 24 31 28 Interface S tate Interface Control [...]

  • Page 113

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 113 Table 9-6 SpaceWire Port Control/Status Register Fields. Bits Name Reset Value Description Read/Write 0 Error active ‘0’ The error active bit is set when one of the error bits are set. R 1 Packet address error ‘0’ The packet a[...]

  • Page 114

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 114 SpaceWire port will wait until the other end of the link tries to make a connection and wil l then automatically start. 13 Start ‘0’ When set then the SpaceWire link will initiate start-up as defined in the SpaceWire standard [AD1[...]

  • Page 115

    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 Bits Name Reset Value Description Read/Write 0 Er[...]

  • Page 116

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 116 De v i c e T y pe 0 73 84 Ret urn P ort P ort s in run st at e 31 Figure 9-4 Network Discovery Register Fields Table 9-8 Network Discovery Registe r Fields Bits Description Reset Value Usage Read/ Write 3:0 Device Type “0001” The [...]

  • Page 117

    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 Fiel d 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 a unique router identity code for each ro uter i[...]

  • Page 118

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 118 Table 9-10 Router Control Register Fields Bits Name Reset Value Description Read/ Write 0 Watchdog Timer Mode / Blocking Allowed Mode Set by the input signal POR_TIMEOUT_EN_N . When ‘0’ – Watchdog Timer Mode When ‘1’ – Blo[...]

  • Page 119

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 119 the link using autostart or the link is started by configuration command then the port will not be disconnected on silence. Events which cause the disconnect on silence timeout to be reset are • Input port data read. • Output port[...]

  • Page 120

    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 writi ng to the router control register. When initially prototyping a SpaceWire sy[...]

  • Page 121

    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 is assert ed. A write to this register with b[...]

  • Page 122

    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-cod e value R 7:6 Time-Code Flags “00” Two time-code flags R 31:8 Not used All bits set to zero R 9.5[...]

  • Page 123

    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 Pu rpose Register The general purpose register addre ss is 262 (0x0000 0106 ). The general purpose register co ntains 32-bits and m ay be set by a configuration write com mand to a user defined value as required. It may [...]

  • Page 124

    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 ena ble bits for SpaceWire ports 8 to 1 respectively. The app[...]

  • Page 125

    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 configu re a router has its transmit clock turned off then it will not be possible to configure th e router using that port. Unless there is another co nnection with an active clock an[...]

  • Page 126

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 126 Table 9-15 Transmit Clock Control Re gister Bits Bits Name Reset Value Description Read/Write 1:0 TXDIV “01” Transmit clock internal PLL output divider. Selects the divided output from the transmit clock as follows “00” Æ div[...]

  • Page 127

    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 addre ss is 265 (0x0000 0109). The destination key register fields a re listed in the table below. Table 9-16 Destination Key Register Bits Name Reset Value Description Read[...]

  • Page 128

    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 parameters Description Symbol Value Units Clock period [...]

  • Page 129

    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 Minimum edge separation between 2 co nsecutive edges[...]

  • Page 130

    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 e dge T EXTWRSU 5 ns, min Write enable hold time after CLK rising edge T EXTWRHLD 5 ns, min Write data setup time to CLK r[...]

  • Page 131

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 131 EXT_TI CK_OUT T TCLKOL T TCLKOH EXT_TIME_OUT T TCLKOE T TCLKOE Figure 10-5 Time-Code Output Interface TIME_CTR_RS T T TCKIL T TCLKIH Figure 10-6 Time-code TIME_CTR_RST interface The Time-code timing parameters are shown below. Table 1[...]

  • Page 132

    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 CLKSTMUX 5 to 25 ns[...]

  • Page 133

    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 late ncy and the time-code jitter are derived f rom the receive clock, tran smit clock and system clock period. The wo rst case number of clock cycles requi red [...]

  • Page 134

    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 recei ver to last bit of data out of transmitter (Worst case where transmitter i s sending a time-code and FCT characte r before data) () ( ) ( ) TXPERIOD SYSPERIOD RXPERIOD SSDAT[...]

  • Page 135

    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 synchronisatio n handshaking ci rcuits and the transmitter where the maximum delay time the time-code has [...]

  • Page 136

    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 fo r the Spac eWire router are defined in this section 11.1 DC CHARACTERISTICS The operating conditions are listed in Table 11-1. For a detailed list of the operating con d[...]

  • Page 137

    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 ra tings are listed in Tabl e 11-2. For a detailed li st of the maximum conditions see [AD3]. Table 11-2 Absolute Maximum Ratings Symbol Description Value Units V DD Supply voltage ra[...]

  • Page 138

    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 diagra m is provided and PCB and design guid elines presented.; 12.1 EXAMPLE CIRCUIT DIAGRAM A schematic showing how the SpW-1 0X device s hould be connected is provi ded o[...]

  • Page 139

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 139[...]

  • Page 140

    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 thi s section. 12.2.1 CLK 1. Series termination should be used on the CLK signal. 2. Stubs on the CLK signal shall not be used. 3. Guard tracks sh[...]

  • Page 141

    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 adj acent to the termination resistor. Their l ocation is not critical but the stub lengths to the te rmination resistors should be less than 20 mm. 3. LVDS tracks shall be 100 ohm differential [...]

  • Page 142

    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 inte rnal wiring of PLL bloc k to better understand the external board recommended layout. The Voltage drop between PLL l oop filter (LF) and the PVCOBIAS pads will be converted into a current (Ivco) wh[...]

  • Page 143

    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 i s provided: 13.1 ANOMALIES The following anomalies ar e present in the prototype SpW-10X router device: 1. Simultaneous transitions on data and strobe ca n [...]

  • Page 144

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 144 WARNING The deactivate mode (see also section 9.4.3) does n ot tri-state the LVDS outputs. Th e LVDS outputs are cold-sparing an d when disabled both outputs in an LVDS differential pair are pulled up to 3.3V and have an impedance of [...]

  • Page 145

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 145 WARNING Packets can timeout and be spilled in a SpaceWire network without the destination receiving an y notification of this. Packets with errors (e.g. parity error) can arrive at a d estination terminated by an EEP. In a very specia[...]

  • Page 146

    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 d ata and strobe, see Figu re 13-3. A simu ltaneous transition or glitch on data and strobe may occur when reset is release d, Figure 13-4. Figure 13-1 Reset Wav eform Figure 13-2 Reset Wav eform w ith Data a[...]

  • Page 147

    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, eith er by configur ation command or a disconnect, parity, escape or credit error, the final bit of strobe will be extended to a 100 ns perio d pulse. No simultaneou[...]

  • Page 148

    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 lin k to be disconnected by the Space Wire router. If a packet is being received the packet is discarded and an error end of packet ([...]

  • Page 149

    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 pack et in serted 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 case when an error on a link does not cause an im[...]

  • Page 150

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 150 14. TECHNICAL SUPPORT Technical support for the SpW-10X Router is pr ovid ed by STAR-Dundee Ltd. A rang e of SpW-10X evaluation boards is available along with other test equipme nt, cables etc. See www.star-dundee. com for details. Te[...]

  • Page 151

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 151 15. DOCUMENT CHANGES 15.1 ISSUE 3.3 TO ISSUE 3.4 Section Ref Change 13.1 13.4 Parity error anomaly added to the list of anomalies. Details of parity error anom aly added. 6.4 10.1 10.2 10.3 10.4 10.5 11.1 Update after characterisation[...]

  • Page 152

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 152 5.7.4 VCO bias resistor va lue corrected (Section 5.7.4). 8.1.5 Tri-state mode changed to deactivate mod e. Calculation of deactivated power consum ption added. 9.4.3 Table 9-6 Tri-state mode change d to deactivated mode. 9.5.8 Descri[...]

  • Page 153

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 153 details throughout document. Section added on Application Guidelines giving example circuit diagram and PCB layout guidelines. Section added on anomali es and warnings. Section added on Technical Suppo rt. 15.6 ISSUE 2.4 TO ISSUE 2.5 [...]

  • Page 154

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 154 15.9 ISSUE 2.1 TO ISSUE 2.2 Section Ref Change 4 ASIC pin locations 15.10 ISSUE 2.0 TO ISSUE 2.1 Section Ref Change 15.11 ISSUE 1.7 TO ISSUE 2.0 Section Ref Change All Final updates and editorial corrections before rele ase 15.12 ISSU[...]

  • Page 155

    Ref.: UoD_SpW-10X_ UserManual Issue: 3.4 SpW-10X SpaceWire Router User Manual Date: 11 th July 2008 Preliminary 155 15.17 ISSUE 1.1 TO ISSUE 1.2 Section Ref Change 6.3, 6.4, 6.5 Table 6-3, Table 6-4, Table 6-5 FPGA timing data added 15.18 ISSUE 1.0 TO ISSUE 1.1 Section Ref Change 5.1 Table 5-1 FEEDBDIV PLL clock settings section added 5.5 Table 5-5[...]