Upstream Packet Definitions (to the TFB) | |||
---|---|---|---|
Position in the packet | Name | Description | |
0 | ID | (15:4)=TFB-ID. (3:0)=Logical Pipe ID | |
1 | Reserved | (15:0)=Reserved | |
2 | Command Packet | (15:1)=Reserved. (1)=Force Acknowledge | |
3 | Reserved | Reserved | |
4 | Length | (15:0)=Binary encoded payload length (number of 16 bit words, including CRC) | |
5 to (Length+4) | Payload | ||
Length+5 | CRC | (15:0) CRC: 16 bit, polynomial = (0 5 12 16) |
Downstream Packet Definitions (from the TFB) | |||
---|---|---|---|
Position in the packet | Name | Description | |
0 | ID | (15:4)=TFB-ID. (3:0)=Logical Pipe ID | |
1 | Status | (15:5)=Undefined. (4:0)=Integration Cycle No. | |
2 | High Spill Number | (15:0) = Spill Number (31:16) | |
3 | Low Spill Number | (15:0) = Spill Number (15:0) | |
4 | Length | (15:0)=Binary encoded payload length (number of 16 bit words, including CRC) | |
5 to (Length+4) | Payload | ||
Length+5 | CRC | (15:0) CRC: 16 bit, polynomial = (0 5 12 16) |
Upstream Logical Pipe ID assignments | |||
---|---|---|---|
Pipe ID | Pipe Name | Description | |
0 | Monitor Configuration | Monitor Configuration data upload pipe | |
1 | Configuration | Forwards the packets to the
configuration bus master in the FPGA. These payloads must have the correct structure. |
|
2 | Bootloader | Forwards the packets to the input buffer | |
3 to 15 | Reserved | Currently unallocated. |
Downstream Logical Pipe ID assignments | |||
---|---|---|---|
Pipe ID | Pipe Name | Description | |
0 | Reserved | ||
1 | Configuration | Return packet from the configuration interface will have this pipe id. | |
2 | ADC Data | Packets containing data from all ADC channels will have this pipe ID | |
3 | Reserved | ||
4 | Trip-T Timestamps | Timestamp data from all Trip-Ts | |
5 | Reserved | ||
6 | Reserved | ||
7 | Reserved | ||
8 | Reserved | ||
9 | Reserved | ||
10 | Reserved | ||
11 | Reserved | ||
12 | Monitor Data | Status and Data Packets from the Monitor Player | |
13 | Reserved | ||
14 | Reserved | ||
15 | ACK/NACK | Acknowledge/No Acknowledge Packets will have this |