Skip to content

Board Registers (DPP-PHA)

Board-level configuration parameters grouped by functional role in Hackee.

Internal / Hidden Registers

Parameter Address Bits Values / Units Description
Data Flush 0x803C full (32-bit) default: 1
Software Reset 0xEF24 full (32-bit) default: 1
Software Clear 0xEF28 full (32-bit) default: 1
Start/Stop 0x8100 [2] 0x0: Stop (Disarm) — Acquisition STOP (or DISARM).
0x1: Start (Arm) — Acquisition START (or ARM).
Energy 0x8000 [17] default: 1
Time Stamp 0x8000 [18] default: 1
Waveform 0x8000 [16] default: 1
Dual Trace 0x8000 [11] default: 1
Aggregates in all 0x800C full (32-bit) default: 10
Aggregates per BLT 0xEF1C full (32-bit) default: 1024

Waveform Settings

Parameter Address Bits Values / Units Description
Record Length 0x8020 mask 0xFFFF 4 .. 131070 samples (step 2) Number of samples in the waveform.
Analog Probe 1 0x8000 [13:12] 0x0: Input — Analog Input.
0x1: RC-CR — Input 1st derivative.
0x2: RC-CR2 — Input 2nd derivative.
0x3: Trapezoid — Output of the Trapezoid Filter.
Analog Probe 2 0x8000 [15:14] 0x0: Input — Input
0x1: Threshold — Threshold referred to the RC‐CR2 signal.
0x2: Trapezoid ‐ Baseline — Trapezoid with substructed Baseline.
0x3: Baseline — Baseline of the Trapezoid.
Digital Probe 0x8000 [23:20] 0x0: Peaking — Shows where the energy is calculated
0x1: Armed — Shows where the Timing Filter crosses the Threshold
0x2: Peak Run — Starts with the trigger and last for the whole event
0x3: Pile-Up — Shows where a pile‐up event occurred
0x5: TVAW — Shows the trigger validation acceptance window
0x6: Baseline Freeze — Shows where the algorithm stops calculating the baseline and its value is frozen
0x7: Trigger Holdoff — Shows the trigger hold‐off time
0x8: Trigger Validation — Shows the trigger validation signal
0x9: Acquisition Busy — Saturated input signal or full memory board or there is a veto
0xA: Zero Crossing Window — Shows the Zero Crossing Acceptance Windows width
0xB: External Trigger — Shows the external trigger, when available
0xC: Busy — Shows when the board memory is full
0xD: Peak Ready — Shows after the Peak Mean time

Acquisition Control

Parameter Address Bits Values / Units Description
Channel Enable 0x8120 full (32-bit) 0x1: Channel 0 — Channel 0 enabled, channel 1 disabled.
0x2: Channel 1 — Channel 0 disabled, channel 1 enabled.
0x3: Both channels — Both channels enabled.
Auto Data Flush 0x8000 [0] 0x0: Disabled — Data readout occurs only if the events buffer is full.
0x1: Enabled — In case of very slow rate forces the automatic data readout in a time window of 16‐32 ms. Causes incomplete readout!!!
Trigger Propagation 0x8000 [2] 0x0: Disabled — Disables the propagation of the individual trigger from motherboard logic to the mezzanine.
0x1: Enabled — Enable is required for coincidence trigger mode.
Start/Stop Mode 0x8100 [1:0] 0x0: Software — Software controlled acquisition.
0x1: GPI — Acquisition is controlled by General Purpose Input.
0x2: TRG-IN — Acquisition is controlled by Trigger Input.
Clock Source 0x8100 [6] 0x0: Internal — Internal oscillator (50 MHz).
0x1: External — External clock from CLK‐IN connector.

Experiment Control

Parameter Address Bits Values / Units Description
Readout Span software — 100 .. 16383 ms (step 1) Readout occures once per this time.
Stop Run by software — 0x0: Manually — Press «Stop» and «Save» buttons manually.
0x1: Real Time — Run will stop when «Real Time» reaches «Run Duration».
0x2: Live Time CH0 — Run will stop when «Live Time CH0» reaches «Run Duration».
0x3: Live Time CH1 — Run will stop when «Live Time CH1» reaches «Run Duration».
Run Duration software — 1 .. 65535 s (step 1) Total acquisition time.
Repeat Runs software — 0x0: Disable — No resume after run ends.
0x1: Enable — Start new run after run ends.
Save Histograms software — 0x0: Disable — Don't save histograms to disk.
0x1: Enable — Save histograms to disk.
Save Rates software — 0x0: Disable — Don't save rates to disk.
0x1: Enable — Save rates to disk.
Save Events software — 0x0: Disable — Don't save events to disk.
0x1: Enable — Save events (list mode) to disk.
Coincidence Mode software — 0x0: Disable — Either one or both channels are measured independently.
0x1: Enable — When two-channel operation, each channel spectrum is drawn in coicidense with the other channel. Coincidence rate is displayed.
Amplitude Units software — 0x0: ch — MCA channels
0x2: keV — kilo electron Volts

Global Trigger Mask

Parameter Address Bits Values / Units Description
GTM Channel 0 0x810C [0] 0x0: Disabled — Disables the trigger request from Channel 0 to participate to the global trigger logic.
0x1: Enabled — Enables the trigger request from Channel 0 to participate to the global trigger logic.
GTM Channel 1 0x810C [1] 0x0: Disabled — Disables the trigger request from Channel 1 to participate to the global trigger logic.
0x1: Enabled — Enables the trigger request from Channel 1 to participate to the global trigger logic.
GTM External 0x810C [30] 0x0: Disabled — Disables the external trigger on TRG‐IN to participate in the global trigger generation in logic OR with the other enabled signals.
0x1: Enabled — Enables the external trigger on TRG‐IN to participate in the global trigger generation in logic OR with the other enabled signals.
GTM Software 0x810C [31] 0x0: Disabled — Disables the software trigger to participate in the global trigger generation in logic OR with the other enabled signals.
0x1: Enabled — Enables the software trigger to participate in the global trigger generation in logic OR with the other enabled signals.
GTM Majority Window 0x810C [23:20] 0 .. 150 ns (step 10) Sets the time window for the majority coincidence. Majority level must be set different from 0.
GTM Majority Level 0x810C [26:24] 0 .. 7 (step 1) Sets the majority level for the global trigger generation. For a level M, the trigger fires when at least M+1 of the trigger requests are generated by the enabled channels.

GPO Trigger Mask

Parameter Address Bits Values / Units Description
GPO Channel 0 0x8110 [0] 0x0: Disabled — Disables the trigger request from Channel 0 to participate to the TRG‐OUT logic.
0x1: Enabled — Enables the trigger request from Channel 0 to participate to the TRG‐OUT logic.
GPO Channel 1 0x8110 [1] 0x0: Disabled — Disables the trigger request from Channel 1 to participate to the TRG‐OUT logic.
0x1: Enabled — Enables the trigger request from Channel 1 to participate to the TRG‐OUT logic.
GPO External 0x8110 [30] 0x0: Disabled — Disables the external trigger to participate in the TRG‐OUT (GPO) generation in logic OR with the other enabled signals.
0x1: Enabled — Enables the external trigger to participate in the TRG‐OUT (GPO) generation in logic OR with the other enabled signals.
GPO Software 0x8110 [31] 0x0: Disabled — Disables the software trigger to participate in the TRG‐OUT (GPO) generation in logic OR with the other enabled signals.
0x1: Enabled — Enables the software trigger to participate in the TRG‐OUT (GPO) generation in logic OR with the other enabled signals.
GPO Logic 0x8110 [9:8] 0x0: OR — The enabled trigger requests can be combined to generate the TRG‐OUT (GPO) signal.
0x1: AND — The enabled trigger requests can be combined to generate the TRG‐OUT (GPO) signal.
0x2: Majority — The enabled trigger requests can be combined to generate the TRG‐OUT (GPO) signal.
GPO Majority Level 0x8110 [12:10] 0 .. 7 (step 1) Sets the majority level for the TRG‐OUT (GPO) generation. For a level M, the trigger fires when at least M+1 of the trigger requests are generated by the enabled channels.

Front Panel I/O

Parameter Address Bits Values / Units Description
LEMO I/O Level 0x811C [0] 0x0: NIM — This sets the NIM electrical levels of the front panel LEMO connectors: TRG‐IN, TRG‐OUT (GPO ), S‐IN (GPI).
0x1: TTL — This sets the TTL electrical levels of the front panel LEMO connectors: TRG‐IN, TRG‐OUT (GPO ), S‐IN (GPI).
TRG‐IN control 0x811C [10] 0x0: Edge — Trigger is synchronized with the edge of the TRG‐IN signal.
0x1: Whole — Trigger is synchronized with the whole duration of the TRG‐IN signal.
TRG‐IN goes to 0x811C [11] 0x0: Motherboard — TRG‐IN signal is processed by the motherboard and sent to mezzanine (default). The trigger logic is then synchronized with TRG‐IN.
0x1: Mezzanines — TRG‐IN is directly sent to the mezzanines with no mother board processing nor delay. This option can be useful when TRG‐IN is used to veto the acquisition. Note: TRG‐IN control is ignored.
Force TRG‐OUT to 0x811C [14] 0x0: 0 — This bit can force TRG‐OUT (GPO) test logical level to 0 if TRG‐OUT Mode is 1.
0x1: 1 — This bit can force TRG‐OUT (GPO) test logical level to 1 if TRG‐OUT Mode is 1.
TRG‐OUT Mode 0x811C [15] 0x0: Internal — TRG‐OUT (GPO) is an internal signal according to TRG‐OUT Mode Selection.
0x1: Test — TRG‐OUT (GPO) is a test logic level set via Force TRG‐OUT.
TRG‐OUT Selection 0x811C [17:16] 0x0: Trigger — TRG‐OUT/GPO propagates the internal trigger sources according to GPO Enable Mask.
0x1: Motherboard — Motherboard Probes: TRG‐OUT/GPO is used to propagate signals of the motherboards according to Motherboard Virtual Probe Selection.
0x2: Channel — TRG‐OUT/GPO is used to propagate signals of the mezzanines (Channel Signal Virtual Probe).
0x3: GPI — S‐IN (GPI) propagation.
Motherboard Probe 0x811C [19:18] 0x0: RUN — This is the RUN in case of ROC FPGA firmware rel. less than 4.12. This probe can be selected according to Run / Delayed Run.
0x1: CLKOUT — This clock is synchronous with the sampling clock of the ADC and can be used to align the phase of the clocks in different boards.
0x2: CLK Phase — TRG‐OUT/GPO is used to propagate signals of the mezzanines (Channel Signal Virtual Probe).
0x3: BUSY/UNLOCK — This is the board BUSY in case of ROC FPGA firmware rel. 4.5 or lower. This probe can be selected according to.