AEROFLEX GAISLER
52
RT-SPW-ROUTER
Copyright Aeroflex Gaisler AB
June 2012, Version 1.2
Table 40. Port status configuration port (port 0)
31
25 24 23
20 19 18 17
12 11
7
6
5
4
3
2
1
0
RESERVED
CE
ERRCODE
RE TS
RESERVED
TP
RESERVED
NA
0
NR
NA
0
NA
00000
NA
31: 25
RESERVED
r
24
Clear error code (CE) - Write with a 1 to clear the ERRCODE field.
rw
23: 20
Error code (ERRCODE) - Shows the latest nonzero RMAP status code. If zero no error has occurred.
r
19
RESERVED
r
18
Timeout spill (TS) - Packet spilled due to timeout.
wc
17: 12
RESERVED
r
11: 7
Transmitting port (TP) - The number of the port currently accessing the configuration port.
r
6: 0
RESERVED
r
Table 41. Port status
31 30 29
20 19 18 17 16 15 14
12 11
7
6
5
4
3
2
1
0
PT
RESERVED
AP TS ME TF RE
LS
TP
PB PR IA CE ER DE PE
NA
NA
NR
0
0
0
1
000
00000
NA NA
0
0
0
0
0
31: 30
Port type (PT) - The type of this port. “00” = SpaceWire port, “01” = AMBA port, “10”= FIFO port
r
29: 20
RESERVED
r
19
Active port (AP) - Show which of the primary and redundant port is active. 0 = primary port, 1 = redun-
dant port. Only applicable to SpaceWire ports..
r
18
Timeout spill (TS) - Packet spilled due to timeout.
wc
17
Memory error (ME) - Uncorrectable parity error detected in FIFO memories on this link.
wc
16
Transmit FIFO full (TF) - Set to 1 when the transmit FIFO on this port is full.
r
15
Receive FIFO empty (RE) - Set to 1 when the receive FIFO on this port is full. Not available for AMBA
ports.
r
14: 12
Link state (LS) - Current link state. 000 = Error reset. 001 = Error wait, 010 = Ready, 011 = Started, 100
= Connecting, 101 = Run state. Only available for SpW ports, reads as 0 otherwise.
r
11: 7
Transmitting port (TP) - The number of the port currently transmitting on this port. Only valid if the PB
bit is set to 1.
r
6
Port transmit busy (PB) - Set to 1 when a packet is being transmitted on this port.
r
5
Port receive busy (PR) - Set to 1 when a packet is being received on this port.
r
4
Invalid address (IA) - A packet with an invalid address was received on this link.
wc
3
Credit error (CE) - Set when a credit error has occurred on the link. Only available for SpW ports, reads
as 0 otherwise.
wc
2
Escape error (ER) - Set when an escape error has occurred on the link. Only available for SpW ports,
reads as 0 otherwise.
wc
1
Disconnect error (DE) - Set when a disconnect error has occurred on the link. Only available for SpW
ports, reads as 0 otherwise.
wc
0
Parity error (PE) - Set when a parity error has occurred on the link. Only available for SpW ports, reads
as 0 otherwise.
wc