Spw-10x spacewire router – Atmel SpaceWire Router SpW-10X User Manual
Page 124
Ref.: UoD_SpW-10X_
UserManual
Issue: 3.4
SpW-10X
SpaceWire Router
User Manual
Date: 11
th
July 2008
Preliminary
124
Table 9-14 Time-Code Enable Register Fields
Bits Name
Reset
Value
Description Read/Write
0 Reserved 0
Reserved
bit
R
8:1 SpaceWire
Time-Code
Enable
0
Time-code distribution enable bits for SpaceWire
ports 8 to 1 respectively. The appropriate bit
should be set to 1 to enable time-code distribution
through the corresponding port.
R/W
9 External
Time-
Code Interface
Enable
1
Time-code distribution enable for External time-
code port
R/W
11:10 Not Used
All bits
set to
zero
- R
12 Time-code
Flag
Mode
0
Time-code flag interpretation mode
When ‘0’ - Time-code control bit flags are
distributed with valid time-code values regardless
of the value of the time-code control flags
When ‘1’ - When the time-code control flags are
“00” then valid time-codes are distributed. When
the time-code control flags are not “00” then the
time-code is discarded and the internal time-code
register is not updated.
R/W
31:13 Not used
All bits
set to
zero
R
9.5.9 Transmit Clock Control Register
The transmit clock control register address is 264 (0x0000 0108).
The transmit clock control register is shown in Figure 9-10. Bits 1 to 0 are used to determine the
output divide ratio (TXDIV) for the transmit clock internal PLL. Bits 15 to 8 are used to stop the
transmitter clocks of SpaceWire interfaces that are not being used to save power i.e. only clock of the
SpaceWire ports that are going to be used should be enabled. Bits 20 to 16 are used to set the default
10Mbits/s transmit data rate (TX10MbitDIV).
Note: The transmit clock should not be disabled when an output port is sending data or when the
interface is in the run state. The port control/status registers can be used to determine if an output
port is currently connected to an input port and therefore transferring data.