Eads Astrium SMCS332SpW User Manual page 88

Interface between three spacewire links
Table of Contents

Advertisement

SMCS332SpW protocol specification (see Appendix B).
Q:
When using the SMCS332SpW internal link loopback test mechanism, do the link signals propagate outside the
SMCS332SpW?
A:
Yes, but you can avoid this by using the CHx_DSM_TSTR register bit 4: link output mute.
Q:
On which datalines are bytes, received on SMCS332SpW serial link, transferred into the DPRAM through the
COMI?
A:
Suppose receiving 4 bytes (Byte0 to Byte3) on serial link, Byte0 being the first one.
Note that the order of the data within one byte is the same in both little and big endian mode .
The most right line carries the least significant and the most left line carries the most significant bit.
Little endian:
COMI data port is set to 32 Bit width:
datalines:
31-24
Byte3
COMI data port is set to 16 Bit width:
datalines:
31-24
00
00
FF
00
COMI data port is set to 8 Bit width:
datalines:
31-24
00
00
00
00
FF
00
BIG endian:
COMI data port is set to 32 Bit width:
datalines:
31-24
Byte0
COMI data port is set to 16 Bit width:
datalines:
31-24
Byte0
Byte2
Byte0
Byte2
SMCS332SpW
User Manual
23-16
Byte2
23-16
00
00
FF
00
23-16
00
00
00
00
FF
00
23-16
Byte1
23-16
Byte1
Byte3
Byte1
Byte3
– All Rights Reserved – Copyright per DIN 34 –
15-8
7-0
Byte1
Byte0
15-8
7-0
Byte1
Byte0 if CHx_COMICFG bit 7 = 0
Byte3
Byte2
Byte1
Byte0 if CHx_COMICFG bit 7 = 1
Byte3
Byte2 if CHx_COMICFG bit 7 = 1
15-8
7-0
00
Byte0 if CHx_COMICFG bit 7 = 0
00
Byte1
00
Byte2
00
Byte3
FF
Byte0 if CHx_COMICFG bit 7 = 1
00
Byte1 if CHx_COMICFG bit 7 = 1
15-8
7-0
Byte2
Byte3
15-8
7-0
00
00
00
00
FF
FF
00
00
EADS Astrium GmbH, ASE2
Doc No: SMCS_ASTD_UM_100
Issue:
1.4
Updated: 9-Sep-2006
Page:
88 of 131
and Byte1 Bit 7='1'
and Byte3 Bit 7='0'
and Byte0 Bit 7='1'
and Byte1 Bit 7='0'
if CHx_COMICFG bit 7 = 0
if CHx_COMICFG bit 7 = 1
and Byte1 Bit 7='1'
if CHx_COMICFG bit 7 = 1

Advertisement

Table of Contents
loading

Table of Contents