Documentation of different FeeServer Control Engines
Busybox FeeServer
Services
TXR RXMP EIDFIFOC CEID0 CEID1 CEID2 MREID0 MREID1 MREID2 L0TTO FEEBA FSMH RRTO CRID RC BT0 BT1 RXMF TMC0 TMC1 L0L BCIDO L1C L2AC L2RC
Commands
Hex Commands
- define FEESVR_CMD_BB (0x0c000000 | FEESERVER_CMD)
- define BB_INIT (0x010000 | FEESVR_CMD_BB)
- define INIT_BUSY_BOX (0x010000 | FEESVR_CMD_BB) //Depricated
- define BB_WRITE_STATUS (0x020000 | FEESVR_CMD_BB)
- define BB_WRITE_RXMF (0x030000 | FEESVR_CMD_BB)
- define BB_WRITE_RRTO (0x040000 | FEESVR_CMD_BB)
- define BB_WRITE_FM (0x050000 | FEESVR_CMD_BB)
- define BB_WRITE_FSMH (0x060000 | FEESVR_CMD_BB)
- define BB_WRITE_FEEBA (0x070000 | FEESVR_CMD_BB)
- define BB_WRITE_L0TTO (0x080000 | FEESVR_CMD_BB)
- define BB_WRITE_L0_TIMEOUT (0x080000 | FEESVR_CMD_BB) //Depricated
- define BB_WRITE_TX (0x090000 | FEESVR_CMD_BB)
- define BB_WRITE_TMC0 (0x0a0000 | FEESVR_CMD_BB)
- define BB_WRITE_TMC1 (0x0b0000 | FEESVR_CMD_BB)
- define BB_WRITE_TMR (0x0c0000 | FEESVR_CMD_BB)
- define BB_WRITE_L0L (0x0d0000 | FEESVR_CMD_BB)
- define BB_WRITE_BCIDO (0x0e0000 | FEESVR_CMD_BB)
- define BB_FIRMWARE_RESET (0x0f0000 | FEESVR_CMD_BB)
Highlevel Commands
BB_WRITE_TX BB_WRITE_L0TTO BB_WRITE_FEEBA BB_WRITE_FSMH BB_WRITE_FM BB_WRITE_RRTO BB_WRITE_RXMF
States and Transitions
Laser Sync FeeServer
Services
- MODEFREQVAL
- FLASHEKSPLASTARTTIME
- FLASHEKSPLAENDTIME
- FLASHSPECTRONSTARTTIME
- FLASHSPECTRONENDTIME
- SPECTRONDELAY
- L0REQUESTTIME
- L0RETURNWINDOWSTART
- L0RETURNWINDOWSTOP
- QSWITCHEKSPLASTART
- QSWITCHEKSPLASTOP
- RUNMODE
- SAMPLECLOCKDIVIDER
- TRIGGERCONFIGURATION1
- TRIGGERCONFIGURATION2
- RCUVERSION
- CTPSIGNATURE
- SHUTTERCOUNTER
- EKSPLAFLASHCOUNTER
- SPECTRONFLASHCOUNTER
- EKSPLAQSWITCHCOUNTER
- SPECTRONQSWITCHCOUNTER
- L0REQUESTCOUNTER
- L0RECEIVEDCOUNTER
- L0RECEIVEDINWINDOWCOUNTER
- L0TIMEOUTCOUNTER
- L0RETURNTIMER
- ACTUALLASERRATE
- CYCLETIMER
- TTC_CONTROL
- TTC_ROICONFIG1
- TTC_ROICONFIG2
- TTC_L1LATENCY
- TTC_L2LATENCY
- TTC_ROILATENCY
- TTC_L1MSGLATENCY
- TTC_PREPULSECNT
- TTC_BCIDLOCAL
- TTC_L0COUNTER
- TTC_L1MSGCOUNTER
- TTC_L2ACOUNTER
- TTC_L2RCOUNTER
- TTC_ROICOUNTER
- TTC_HAMMINGERRCNT
- TTC_ERRORCNT
- TTC_BUFFEREDEVENTS
- TTC_DAQHEADER1
- TTC_DAQHEADER2
- TTC_DAQHEADER3
- TTC_DAQHEADER4
- TTC_DAQHEADER5
- TTC_DAQHEADER6
- TTC_DAQHEADER7
- TTC_EVENTINFO
Commands
Hex Commands
- LASER_WRITE_MODEFREQVAL (0xFD010000)
- LASER_WRITE_FLASHEKSPLASTARTTIME (0xFD020000)
- LASER_WRITE_FLASHEKSPLAENDTIME (0xFD030000)
- LASER_WRITE_FLASHSPECTRONSTARTTIME (0xFD040000)
- LASER_WRITE_FLASHSPECTRONENDTIME (0xFD050000)
- LASER_WRITE_SPECTRONDELAY (0xFD060000)
- LASER_WRITE_L0REQUESTTIME (0xFD070000)
- LASER_WRITE_L0RETURNWINDOWSTART (0xFD080000)
- LASER_WRITE_L0RETURNWINDOWSTOP (0xFD090000)
- LASER_WRITE_QSWITCHEKSPLASTART (0xFD0A0000)
- LASER_WRITE_QSWITCHEKSPLASTOP (0xFD0B0000)
- LASER_WRITE_RUNMODE (0xFD0C0000)
- LASER_WRITE_SAMPLECLOCKDIVIDER (0xFD0D0000)
- LASER_WRITE_TRIGGERCONFIGURATION1 (0xFD0E0000)
- LASER_WRITE_TRIGGERCONFIGURATION2 (0xFD0F0000)
- LASER_WRITE_TTC_CONTROL (0xFD110000)
- LASER_TOGGLE_TTC_RESET (0xFD120000)
- LASER_WRITE_TTC_ROICONFIG1 (0xFD130000)
- LASER_WRITE_TTC_ROICONFIG2 (0xFD140000)
- LASER_TOGGLE_TTC_RESETCOUNTER (0xFD150000)
- LASER_TOGGLE_TTC_ISSUETESTMODE (0xFD160000)
- LASER_WRITE_TTC_L1LATENCY (0xFD170000)
- LASER_WRITE_TTC_L2LATENCY (0xFD180000)
- LASER_WRITE_TTC_ROILATENCY (0xFD190000)
- LASER_WRITE_TTC_L1MSGLATENCY (0xFD1A0000)
- LASER_SET_FLASHEKSPLASTARTTIME (0xFD1B0000 )
- LASER_SET_FLASHEKSPLAENDTIME (0xFD1C0000 )
- LASER_SET_SPECTRONSTARTTIME (0xFD1D0000 )
- LASER_SET_SPECTRONENDTIME (0xFD1E0000 )
- LASER_SET_SPECTRONDELAY (0xFD1F0000 )
- LASER_SET_L0REQUESTTIME (0xFD200000 )
- LASER_SET_L0RETURNWINDOWSTART (0xFD210000 )
- LASER_SET_L0RETURNWINDOWEND (0xFD220000 )
- LASER_SET_QSWITCHEKSPLASTART (0xFD230000 )
- LASER_SET_QSWITCHEKSPLAEND (0xFD240000 )
- LASER_CLEAR_COUNTERS (0xFD250000 )
Highlevel Commands
- LASER_WRITE_MODEFREQVAL
- LASER_WRITE_FLASHEKSPLASTARTTIME
- LASER_WRITE_FLASHEKSPLAENDTIME LASER_WRITE_FLASHSPECTRONSTARTTIME
- LASER_WRITE_FLASHSPECTRONENDTIME
- LASER_WRITE_SPECTRONDELAY
- LASER_WRITE_L0REQUESTTIME
- LASER_WRITE_L0RETURNWINDOWSTART
- LASER_WRITE_L0RETURNWINDOWSTOP
- LASER_WRITE_QSWITCHEKSPLASTART
- LASER_WRITE_QSWITCHEKSPLASTOP
- LASER_WRITE_RUNMODE
- LASER_WRITE_SAMPLECLOCKDIVIDER
- LASER_WRITE_TRIGGERCONFIGURATION1
- LASER_WRITE_TRIGGERCONFIGURATION2
- LASER_WRITE_TTC_CONTROL
- LASER_TOGGLE_TTC_RESET
- LASER_WRITE_TTC_ROICONFIG1
- LASER_WRITE_TTC_ROICONFIG2
- LASER_TOGGLE_TTC_RESETCOUNTER
- LASER_TOGGLE_TTC_ISSUETESTMODE
- LASER_WRITE_TTC_L2LATENCY
- LASER_WRITE_TTC_L1LATENCY
- LASER_WRITE_TTC_ROILATENCY
- LASER_WRITE_TTC_L1MSGLATENCY
- LASER_SET_FLASHEKSPLASTARTTIME (Shuttertime, Flash Ekspla Time, Shift)
- LASER_SET_FLASHEKSPLAENDTIME (Shuttertime, Flash Ekspla Time, Flash Ekspla duration, Shift)
- LASER_SET_SPECTRONSTARTTIME (Shuttertime, Spectron Flash Time, Shift)
- LASER_SET_SPECTRONENDTIME (Shuttertime, Spectron Flash Time, Spectron QSwitch Time, Shift)
- LASER_SET_SPECTRONDELAY (Spectron QSwitch Veto Delay)
- LASER_SET_L0REQUESTTIME (Shuttertime, L0Time, Shift)
- LASER_SET_L0RETURNWINDOWSTART (Shuttertime, L0Time, L0 Window start, shift)
- LASER_SET_L0RETURNWINDOWEND (Shuttertime, L0Time, L0 Window start, L0 Window end, shift)
- LASER_SET_QSWITCHEKSPLASTART (Shuttertime, QSwitch Ekspla time, shift)
- LASER_SET_QSWITCHEKSPLAEND (Shuttertime, QSwitch Ekspla time, QSwitch Ekspla duration, shift)
- LASER_CLEAR_COUNTERS()
States and Transitions
Transitions:
- LOAD_RECIPE
- GO_STANDBY
- GO_WARM_UP
- GO_ON_FREE_RUN
- GO_ON_TRIGGER
- GO_STBY_CONFIGURED
- GO_STBY_CONFIGURED
States:
- STANDBY
- STBY_CONFIGURED
- WARM_UP
- ON_TRIGGER
- ON_FREE_RUN
TOR FeeServer
Services
TME 1DSFRL0 1DSFRL1L 1DSFRL1M 1DSFRL1H EDTORO IDELAY EDTRUIB0B1 EDTRUIB2B3 EDTRUIB4 LVDSIGB0B1 LVDSIGB2B3 LVDSIGB4
Commands
Highlevel Commands
TOR_WRITE_TME TOR_WRITE_1DSFRL0 TOR_WRITE_1DSFRL1L TOR_WRITE_1DSFRL1M TOR_WRITE_1DSFRL1H TOR_WRITE_EDTORO TOR_WRITE_IDELAY TOR_WRITE_EDTRUIB0B1 TOR_WRITE_EDTRUIB2B3 TOR_WRITE_EDTRUIB4
Hex Commands
- define FEESVR_CMD_TOR (0x0e000000 | FEESERVER_CMD)
- define TOR_WRITE_TME (0x010000 | FEESVR_CMD_BB)
- define TOR_WRITE_1DSFRL0 (0x020000 | FEESVR_CMD_BB)
- define TOR_WRITE_1DSFRL1L (0x030000 | FEESVR_CMD_BB)
- define TOR_WRITE_1DSFRL1M (0x040000 | FEESVR_CMD_BB)
- define TOR_WRITE_1DSFRL1H (0x050000 | FEESVR_CMD_BB)
- define TOR_WRITE_EDTORO (0x060000 | FEESVR_CMD_BB)
- define TOR_WRITE_IDELAY (0x070000 | FEESVR_CMD_BB)
- define TOR_WRITE_EDTRUIB0B1 (0x080000 | FEESVR_CMD_BB)
- define TOR_WRITE_EDTRUIB2B3 (0x090000 | FEESVR_CMD_BB)
- define TOR_WRITE_EDTRUIB4 (0x0a0000 | FEESVR_CMD_BB)
States and Transitions
Gating Pulser FeeServer
Services
CONFREG FWVERSION PULSESTATUS PULSECOUNTER FSMSTREG
Commands
Highlevel Commands
GPULSER_WRITE_CONFREG; GPULSER_TOGGLE_RESET; GPULSER_TOGGLE_GLOBAL_RESET; GPULSER_WRITE_TTC_CONTROL; GPULSER_TOGGLE_TTC_RESET; GPULSER_WRITE_TTC_ROICONFIG1; GPULSER_WRITE_TTC_ROICONFIG2; GPULSER_TOGGLE_TTC_RESETCOUNTER; GPULSER_TOGGLE_TTC_ISSUETESTMODE; GPULSER_WRITE_TTC_L2LATENCY; GPULSER_WRITE_TTC_L1LATENCY; GPULSER_WRITE_TTC_ROILATENCY; GPULSER_WRITE_TTC_L1MSGLATENCY;
Hex Commands
- define FEESVR_CMD_GPULSER (0x0f000000 | FEESERVER_CMD)
- define GPULSER_WRITE_TTC_CONTROL (0x100000 | FEESVR_CMD_GPULSER)
- define GPULSER_TOGGLE_TTC_RESET (0x200000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_ROICONFIG1 (0x300000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_ROICONFIG2 (0x400000 | FEESVR_CMD_GPULSER)
- define GPULSER_TOGGLE_TTC_RESETCOUNTER (0x500000 | FEESVR_CMD_GPULSER)
- define GPULSER_TOGGLE_TTC_ISSUETESTMODE (0x600000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_L1LATENCY (0x700000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_L2LATENCY (0x800000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_ROILATENCY (0x900000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_TTC_L1MSGLATENCY (0xA00000 | FEESVR_CMD_GPULSER)
- define GPULSER_TOGGLE_RESET (0xB00000 | FEESVR_CMD_GPULSER)
- define GPULSER_TOGGLE_GLOBAL_RESET (0xC00000 | FEESVR_CMD_GPULSER)
- define GPULSER_WRITE_CONFREG (0xD00000 | FEESVR_CMD_GPULSER)