Skip to content

CAEN Manual Errata (UM2580 / DPP-PHA)

Discrepancies, undocumented behaviors, and critical bugs observed in the CAEN DT5780 hardware/firmware compared to the official 780 DPP-PHA Registers manual.

Board Configuration (0x8000) — Auto Data Flush

  • Manual Reference: Page 50, Bit [0] (Auto Data Flush)
  • Documented Behavior: Forces automatic data readout within a 16–32 ms window at very low event rates.
  • Actual Behavior: When bit [0] is enabled, a readout block contains a few valid Board Aggregates followed by corrupted/non-standard trailing records.

Workaround in Hackee

Keep bit [0] disabled (0x0) and trigger data readout manually via the Data Flush register (0x803C, manual page 19).


Channel Enable Mask (0x8120) — Reserved Bits

  • Manual Reference: Page 61, Bits [3:2] (Reserved)
  • Documented Behavior: Marked as reserved (typically assumed to be 0 after power-on or reset).
  • Actual Behavior: After power-on or reset, reserved bits [2] and [3] are initialized to 1 instead of 0. Leaving them set causes a core dump during subsequent BLTRead memory operations.

Workaround in Hackee

Explicitly clear bits [3:2] (mask with 0x3 for the 2-channel DT5780) during board initialization before starting acquisition.


Channel Aggregate Data Format & Energy Resolution

  • Manual Reference: Page 102 (Channel Aggregate Data Format) & 0x1n80 [5:0] (Trapezoid Rescaling)
Field / Bit Manual Description Actual Behavior
RO (Roll-Over) & TT RO indicates time-stamp roll-over; TT is undocumented in the table. RO is always 0 in the event word (likely TT as well). The actual roll-over flag must be read from the EXTRAS word instead.
EXTRAS width Listed as an 8-bit field in the page 102 summary table. Occupies 12 bits in hardware (which matches the detailed bit breakdown on pages 103–104).
PU (Pile-Up) flag Described as the trigger condition requiring inspection of the EXTRAS field. EXTRAS frequently contains non-zero flags (including EXTRAS[10] = 1) even when PU = 0. Always parse EXTRAS regardless of the PU bit.
Energy Resolution (15-bit) Hardware is specified as a 14-bit digitizer (16K channels), and the Trapezoid Rescaling (0x1n80 [5:0]) description instructs applying a 0x3FFF (14-bit) mask. The internal 48-bit trapezoid accumulator rescales to 15 bits (0 .. 32767), and the event data word allocates bits [14:0] (15 bits) to Energy before PU at bit [15]. Retaining bit [14] yields a linear 15-bit (32K-channel) spectrum without observed issues.