beautypg.com

Spw-10x spacewire router, User manual, Preliminary – Atmel SpaceWire Router SpW-10X User Manual

Page 116: 2 router identity register

background image

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/Write

3:0

Device Type

“0001”

The device type field indicates the type of device
which is associated with this network discovery
register. At present there is only one device type
defined, the Router, along with the unknown device
type.

“0000” – Unknown Device

“0001” – Router

R

7:4

Return Port

All bits
set to
zero

Indicates the input port number which accessed this
network discovery register.

R

31:8 Ports in Run

state

All bits
set to
zero

Indicates the SpaceWire ports which are in the run
state. Bit 8 corresponds to SpaceWire port 1.

The external ports are the highest numbered port and
the corresponding register bits are set to one. In this
way a network manager can determine the number of
ports and the active ports in one register read.

R

9.5.2 Router Identity Register

The router identity register address is 257 (0x0000 0101).

The router identity register allows a network manager to assign a 32 bit ID to a SpaceWire router
device by writing to this register. It may also be used for other purposes. The router identity register is
described in Table 9-9.