CSC DAQ Test System

The system includes:

             1 DDU (Device Dependent Unit)

             1 DAQMB (DAQ Mother Board)

             1-5 CFEB (Cathode Front-End Board)

             1  FTC (Fake Trigger Card)

             1 JTAG driver

The following connection instructions applies to DAQMB pcb version 2,

and CFEB pcb version 2.

The DDU is plugged into a computer PCI slot, DAQMB may be plugged in VME crate or just +5V power supply, The CFEB needs +5V power supply for digital part and +6V for BUCKEYE amplifier (if +6V is not available, the digital +5V can be used by setting a jumper on CFEB), the FTC needs +5V power supply, the JTAG driver needs +9V power supply.

Cable connections between the boards:

Jumpers and Switches on the boards: Software setting:
Modify the configure files at ~fast/data/daqmb_config/daqmb_config_000X to match the hardware, available CFEBs, FPGA programming files, and programmable delay setting etc.
The current configuration file to use at Fermilab is : daqmb_config_0004

On power-up:

Bring power up in the following order:
1) CFEB's
2) FTC
3) DAQMB
Manually reset the FTC FPGA, and run the 'FULL SETUP' in CFEB_CONTROL to load DAQMB, CFEB FPGA program files and other settings.

To test if JTAG is talking to CFEB's do the following:
From CFEB_CONTROL program select TEST/DEBUG menu and run SHIFT TEST
The result read back should be BADFEED5DEAD

To check the FPGA's for proper state do the following:
From CFEB_CONTROL program select STATUS/TEMP menu and run STATUS
The results should look like:
  Trigger and Calib Control Status
----------------------------------------
FIFO Empty bits     8..1     :  11111111 or 00111111  depending on ALCT/CLCT connections
FIFO Full bits      8..1     :  00000000 or 11000000
Channel Links Enab/Disab     :  11111
LCT FIFO Empty               :  1
LCT FIFO Error               :  0
L1Acc FIFO Empty             :  1
L1Acc FIFO Error             :  0
JTAG FIFO-Load-Clock Enable  :  1
Trigger Error                :  0
Header Output Enable         :  0
Artificial Pulse Mode        :  0
Calibration Mode             :  0

   Front End Board Status
-----------------------------------------------------------------------------
Boards in use                :  1  :  2  :  3  :  4  :  5
# Words in LCT FIFO          : 00  : 00  : 00  : 00  : 00
LCT FIFO Empty               :  1  :  1  :  1  :  1  :  1
LCT FIFO full                :  0  :  0  :  0  :  0  :  0
# Words in L1Acc FIFO        : 00  : 00  : 00  : 00  : 00
L1Acc FIFO Empty             :  0  :  0  :  0  :  0  :  0
L1Acc FIFO Full              :  0  :  0  :  0  :  0  :  0
Pop FIFO1                    :  0  :  0  :  0  :  0  :  0
Push to CPLD                 :  1  :  1  :  1  :  1  :  1
SCA Overwrite                :  0  :  0  :  0  :  0  :  0
Busy (taking data)           :  0  :  0  :  0  :  0  :  0

If the results do not look like the above table the issue a Global Reset (CONFIG/RESETS/GLOBAL RESET)
If the problem persists try recycling the power but bring the power back on in the order specified above.

To verify the DDU link is working you can run CALIB/PEDISTAL/COLLECT 100.
If it says no data from DDU, check fiber optic connections, check that LOOPEN is not enabled on the back of the DDU, check STATUS (see above), redo Full Setup, and try again.
If you get screen fulls of "data is corrupt", check for unwanted triggers being sent to the DAQMB. For these test to be successful there must be no LCT's or LVL1's being passed to the DAQMB.

If all else fails, call an expert.

Note: If the DAQMB is powered off, set DDU switch to LOOPEN to avoid overheat of GLINK chips.



This document was last modified on May 18, 2000

Back to my work page