Document number
204911
Version
Rev. K
Issue date
2016-10-11
Sirius Breadboard User Manual
www.aacmicrotec.com
Page
78
of
106
7.3. Spacewire RMAP
According to [RD3], a 40-bits address consisting of an 8-bit Extended Address field and a
32-bit Address field is used in RMAP. This has been utilized in the TCM-S
TM
according to
Table 7-1 to separate between configuration commands and mass memory storage of data
(partition handling).
Table 7-1: RMAP predefined fields
Field
Value
Initiator Logical Address
0x42
Key
0x30
In addition, target address and reply address must be added to the RMAP header in
commands targeting the TCM-S
TM
to compensate for topology external to the TCM-S
TM
and
the embedded SpaceWire router. As can be seen Figure 7.1, if the TCM-S
TM
were to be
addressed from SpaceWire port 1, the example addresses below must be added to the
routing addresses in the RMAP header.
Table 7-2: RMAP predefined fields for routing
Field
Value
Target Spw Address
0x01, 0x03
Reply Address
0x01, 0x03
7.3.1. Input
The RMAP commands supported by the TCM-S
TM
are specified in table below. See chapter
7.4 for details on each specific command.
Note!
The TCM-S
TM
uses the RMAP Transaction ID to separate between outstanding
replies to different units. When several nodes are addressing the TCM-S
TM
, they need to be
assigned a unique transaction id range to ensure a correct system behaviour. To allow for a
similar transaction identification throughout the system, the TCM-S
TM
uses the Transaction
ID range
0x0000-0x0FFF
in all outgoing communication.
Table 7-3: RMAP commands to TCM
Name
Ext. Addr
Address
Cmd
Description
TMStatus
0xFF
0x00000000
R
Reads latest telemetry status.
TMConfig
0xFF
0x00000200
R
Reads telemetry configuration.
TMControl
0xFF
0x00000300
W
Enable/Disable telemetry.
TMFEControl
0xFF
0x00000400
W
Enable/Disable Frame Error Control Field for
TM Transfer Frames.
TMMCFCControl
0xFF
0x00000500
W
Enable/Disable Master Channel Frame
Counter Control for TM Transfer Frames.
TMIFControl
0xFF
0x00000600
W
Enable/Disable Idle Frames.
TMPRControl
0xFF
0x00000700
W
Enable/Disable Pseudo Randomization for
telemetry.
TMCEControl
0xFF
0x00000800
W
Enable/Disable Convolutional Encoding for
telemetry.
TMBRSet
0xFF
0x00000900
W
Configures telemetry clock frequency.
TMOCFControl
0xFF
0x00000A00
W
Enable/Disable inclusion of Operational
Control field in TM Frames.
TMTSControl
0xFF
0x00000B00
W
Configures Timestamp of telemetry.