GR740-UM-DS, Nov 2017, Version 1.7
184
www.cobham.com/gaisler
GR740
Table 177.
0x00000800 - RTR.PCTRLCFG - Port control, port 0 (configuration port)
31
18 17 16 15
10
9
8
0
RESERVED
PL TS
RESERVED
TR
RESERVED
0x0000
0
0
0x00
1
0x000
r
rw rw
r
rw
r
31: 18
RESERVED
17
Packet length truncation (PL) - When set to 1, an RMAP / SpaceWire Plug-and-Play reply is spilled, and an EEP
written to the transmit FIFO of the output port, if the total length of the reply packet exceeds the maximum
length specified in the RTR.MAXPLEN register for port 0. See section 13.2.16 for more information on packet
length truncation.
16
Time-code / distributed interrupt code truncation (TS) - When set to 1, an ongoing RMAP / SpaceWire Plug-
and-Play reply is spilled, and an EEP written to the transmit FIFO of the output port, if a valid time-code or dis-
tributed interrupt code is received, and if the time-code / distribute interrupt code matches the codes selected by
the RTR.PCTRL2CFG.SV and RTR.PCTRL2CFG.SM fields. See section 13.2.21 for more information on time-
code / distributed interrupt code spill.
15: 10
RESERVED
9
Timer enable (TR) - Enable data character timer for port 0. See section 13.2.15 for details.
8: 0
RESERVED
Table 178.
0x00000804-0x00000830 - RTR.PCTRL - Port control, ports 1-12 (SpaceWire ports and AMBA ports)
31
24 23 22 21 20 19 18 17 16 15 14
11 10
9
8
7
6
5
4
3
2
1
0
RD
RES
ST SR AD LR PL TS IC ET RESERVED DI TR PR TF RS TE R CE AS LS LD
0x27
0x0
0
0
0
0
0
0
*
0
0x0
0
1
0
0
0
1
0
1
1
0
0
rw
r
rw rw rw rw rw rw rw rw
r
rw rw rw rw rw rw
r
rw rw rw rw
31: 24
Run-state clock divisor (RD) - Clock divisor value used for the corresponding port’s link interface when in run-
state. Field is only available for the SpaceWire ports.
23: 22
RESERVED
21
Static routing enable (ST) - When set to 1, incoming packets on this port are routed based on the physical
address specified in the corresponding RTR.PCTRL2.SD field, and the setting of the corresponding
RTR.PCTRL2.SC bit, instead of the packet’s first byte. Header deletion is not used when static routing is
enabled, which means that the first byte of the packet is always sent as well. This bit can only be set to 1 if the
RTR.RTRCFG.SR bit is set to 1. Note that when this bit is set to 1 it is not possible to access the configuration
port from this port.
20
Spill-if-not-ready (SR) - This bit is double mapping of the RTR.RTACTRL.SR bit. See table 176.
19
Auto-disconnect (AD) - When set to 1, the auto-disconnect feature described in section 13.2.14 is enabled. This
bit is only available for the SpaceWire ports.
18
Link-start-on-request (LR) - When set to 1, the link-start-on-request feature described in section 13.2.13 is
enabled. This bit is only available for the SpaceWire ports.
17
Packet length truncation (PL) - When set to 1, packets for which this port is the input port will be spilled, and an
EEP written to the transmit FIFO of the output port(s) if the packets exceed the maximum length specified in the
corresponding RTR.MAXPLEN register. See section 13.2.16 for more information on packet length truncation.
16
Time-code / distributed interrupt code truncation (TS) - When set to 1, ongoing packets for which this port is the
input port will be spilled, and an EEP written to the transmit FIFO of the output port(s), if a valid time-code /
distributed interrupt code is received, and if the time-code / distributed interrupt code also matches the codes
selected by the RTR.PCTRL2.SV and RTR.PCTRL2.SM fields. See section 13.2.21 for more information on
time-code / distributed interrupt code spill.
15
Distributed interrupt codes enable (IC) - When set to 0, all incoming distributed interrupt codes on this port are
discarded, and no distributed interrupt codes are sent out on the port. When set to 1, the four bits
RTR.PCTRL2.IR, RTR.PCTRL2.IT, RTR.PCTRL2.AR, RTR.PCTRL2.AT are used to enable / disable distrib-
uted interrupt code transmit and receive. Note that the global distributed interrupt code enable bit, RTRTCFG.IE,
also must be set to 1 for distributed interrupt codes to be sent / received. See section 13.2.18 for a description of
distributed interrupt code distribution. Reset value depends on bootstrap signals, as described in section 3.1.