Document number
205065
Version
Rev. N
Issue date
2019-02-04
Sirius OBC and TCM User Manual
Page
80
of
174
The default configuration of the TM downlink is:
•
FECF is included in TM transfer frames.
•
Master Channel Frame counter is enabled for telemetry.
•
Generation of Idle frames is enabled.
•
Pseudo randomization of telemetry is disabled.
•
Reed Solomon encoding of telemetry is enabled.
•
Convolutional encoding of telemetry is disabled.
•
Generation of telemetry is disabled.
•
The divisor of the TM clock is set to 25.
•
All available interrupts from the CCSDS IP are enabled.
•
Generation of OCF/CLCW in TM Transfer frames is enabled.
•
TM is disabled.
The default configuration of the TC uplink is:
•
Derandomization of telecommands is disabled.
All available interrupts are enabled.
5.9.5.1. Datatype dma_transfer_cb_t
For TM-devices operated in non-blocking mode (see 5.9.2) a message with content below
are send to the message queue
“CCSQ”
for reporting of transfer status.
Element
Type
Description
adress
uint32_t
The start address in SDRAM that is
fetched during transfer
length
uint16_t
The length of the transfer. Can be
maximum 65535.
vc
uint8_t
The virtual channel of the transfer.
Can be 0,…,6
status
uint_8
Status of transfer
0
–
Not send
1
–
Send finished
2
–
Send error
5.9.5.2. Data type tm_config_t
This datatype is a struct for configuration of the TM path. The elements of the struct are
described below:
Element
Type
Description
clk_divisor
uint16_t
The divisor of the clock
tm_enabled
uint8_t
Enable/disable of telemetry
0
–
Disable
1
–
Enable
ocf_clcw_enabled
uint8_t
Enable/disable of OCF/CLCW in TM
Transfer frames
0
–
Disable
1
–
Enable
fecf_enabled
uint8_t
Enable/disable of FECF
0
–
Disable
1
–
Enable