Size: 1547
Comment:
|
Size: 2309
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
{{TOC}} |
|
Line 43: | Line 45: |
With spill signal low, trigger line become an encoded serial data channel. Timecode information is transmitted serially using 8b10b encoding and K28.5 comma symbol as idle code. A sequence of data coded forms a frame. | With spill signal low, trigger line become an encoded serial data channel, 40 Mbps data rate. Timecode information is transmitted serially using 8b10b encoding and K28.5 comma symbol as idle code. Big endian byte order. A sequence of data coded forms a frame. |
Line 45: | Line 47: |
==== Timecode Frame Format ==== | ==== Frame Type 1: Timecode ==== Frame type 1 transmission time: 25 ns * 20 words * 10 bit = 5 µs. The moment of beginning of first bit of frame corresponds to TAI timecode data being transferred. |
Line 48: | Line 52: |
||0|||| ||1|||| ||2|||| ||3|||| ||4|||| ||5|||| ||6|||| ||7|||| |
||0||Frame type|| ||1||TAI seconds [39:32]|| ||2||TAI seconds [31:24]|| ||3||TAI seconds [23:16]|| ||4||TAI seconds [15:8]|| ||5||TAI seconds [7:0]|| ||6||flags[3:0], TAI nanoseconds [27:24]|| ||7||TAI nanoseconds [23:16]|| ||8||TAI nanoseconds [15:8]|| ||9||TAI nanoseconds [7:0]|| ||10||spill_id[31:24]|| ||11||spill_id[23:16]|| ||12||spill_id[15:8]|| ||13||spill_id[7:0]|| ||14||reserved|| ||15||reserved|| ||16||CRC32[31:24]|| ||17||CRC32[23:16]|| ||18||CRC32[15:8]|| ||19||CRC32[7:0]|| * TAI - International Atomic Time * flags[3:0] = {time_valid, ptp_wr_mode, ptp_mode, ntp_mode} |
TTC Bus
TTC connector pinout
pin pair |
signal |
description |
1, 2 |
spill |
Trigger and data readout enable |
3, 4 |
parity |
Odd parity of spill and trigger signals |
5, 6 |
trigger |
Trigger signal |
7, 8 |
clock |
40 MHz clock signal |
9, 10 |
ground |
TTC bus signal ground |
Even signal pin positive.
Spill, trigger and parity signals have width 50 ns and are synchronous to clock.
Connector: 2.54 mm double 10-pin.
Connector part numbers: AMP - 1658621-1
Signal timing
measurement |
min |
typ |
max |
|
clock frequency |
|
40.0 MHz ±5% |
|
|
spill, parity, trigger |
setup time, ns |
|
8.5 |
10.0 |
hold time, ns |
5.0 |
6.0 |
|
Timing provided by design TTCM v2.0 firmware rev.8512
1 ns step CLK ___/^^^^^^^^^\_________/^^^^^^^^^\_________/^^^ TRIG ________XXXXXXX^^^^^^^^^^^^^XXXXXXX__________... | setup |hold|
TTC 2.0 Timecode Extension
Spill signal is used as a gate for data acquisition. Trigger signal is used only when spill signal is active.
In order to provide TAI timecode to modules an extension of TTC standard is proposed, TTC 2.0.
With spill signal low, trigger line become an encoded serial data channel, 40 Mbps data rate. Timecode information is transmitted serially using 8b10b encoding and K28.5 comma symbol as idle code. Big endian byte order. A sequence of data coded forms a frame.
Frame Type 1: Timecode
Frame type 1 transmission time: 25 ns * 20 words * 10 bit = 5 µs. The moment of beginning of first bit of frame corresponds to TAI timecode data being transferred.
Byte |
|
0 |
Frame type |
1 |
TAI seconds [39:32] |
2 |
TAI seconds [31:24] |
3 |
TAI seconds [23:16] |
4 |
TAI seconds [15:8] |
5 |
TAI seconds [7:0] |
6 |
flags[3:0], TAI nanoseconds [27:24] |
7 |
TAI nanoseconds [23:16] |
8 |
TAI nanoseconds [15:8] |
9 |
TAI nanoseconds [7:0] |
10 |
spill_id[31:24] |
11 |
spill_id[23:16] |
12 |
spill_id[15:8] |
13 |
spill_id[7:0] |
14 |
reserved |
15 |
reserved |
16 |
CRC32[31:24] |
17 |
CRC32[23:16] |
18 |
CRC32[15:8] |
19 |
CRC32[7:0] |
- TAI - International Atomic Time
- flags[3:0] = {time_valid, ptp_wr_mode, ptp_mode, ntp_mode}