GR712RC-UM, Jun 2017, Version 2.9 123 www.cobham.com/gaisler
GR712RC
Table 94. GRSPW control register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RA RX RC NCH PO RESERVED PS NP RD RE RESERVED TR TT LI TQ RS PM TI IE AS LS LD
31 RMAP available (RA) - Set to one if the RMAP command handler is available. Only readable. Reset
value ‘1’ for links 0 and 1. Reset value ‘0’ for links 2, 3, 4 and 5.
30 RX unaligned access (RX) - Set to one if unaligned writes are available for the receiver. Only read-
able.
29 RMAP CRC available (RC) - Set to one if RMAP CRC is enabled in the core. Only readable.
28: 27 Number of DMA channels (NCH) - The number of available DMA channels minus one (Number of
channels = NCH+1). Only readable. Reset value 0.
26 Number of ports (PO) - The number of available SpaceWire ports minus one. Only readable. Reset
value 0.
25: 22 RESERVED
21 Port select (PS) - Selects the active port when the no port force bit is zero. ‘0’ selects the port con-
nected to data and strobe on index 0 while ‘1’ selects index 1. Fixed to ‘0’.
20 No port force (NP) - Disable port force. When disabled the port select bit cannot be used to select the
active port. Instead, it is automatically selected by checking the activity on the respective receive
links. Reset value: ‘0’. Fixed to ‘0’.
19: 18 RESERVED
17 RMAP buffer disable (RD) - If set only one RMAP buffer is used. This ensures that all RMAP com-
mands will be executed consecutively. Reset value: ‘0’.
16 RMAP Enable (RE) - Enable RMAP command handler. Reset value: ‘1’ on links 0 - 1, ‘0’ on links 2
- 5.
15: 12 RESERVED
11 Time Rx Enable (TR) - Enable time-code receptions. Reset value: ‘0’.
10 Time Tx Enable (TT) - Enable time-code transmissions. Reset value: ‘0’.
9 Link error IRQ (LI) - Generate interrupt when a link error occurs. Not reset.
8 Tick-out IRQ (TQ) - Generate interrupt when a valid time-code is received. Not reset.
7RESERVED
6 Reset (RS) - Make complete reset of the SpaceWire node. Self clearing. Reset value: ‘0’.
5 Promiscuous Mode (PM) - Enable Promiscuous mode. Reset value: ‘0’.
4 Tick In (TI) - The host can generate a tick by writing a one to this field. This will increment the timer
counter and the new value is transmitted after the current character is transferred. A tick can also be
generated by asserting the tick_in signal. Reset value: ‘0’.
3 Interrupt Enable (IE) - If set, an interrupt is generated when one of bit 8 to 9 is set and its correspond-
ing event occurs. Reset value: ‘0’.
2 Autostart (AS) - Automatically start the link when a NULL has been received. Not reset on links 0-
1. Reset value '0' on links 2-5.
1 Link Start (LS) - Start the link, i.e. allow a transition from ready to started state. Reset value: ‘1’ on
links 0 - 1, ‘0’ on links 2 - 5.
0 Link Disable (LD) - Disable the SpaceWire codec. Reset value: ‘0’.