For Compton Camera Project Getting Started V 0.1 (010716:DiMe) --------------------------------------- This File can be found in * http://xray.web.cern.ch/xray/documentation/CCDAQ_GettingStarted.txt general information * http://xray.web.cern.ch/xray publications * http://xray.web.cern.ch/xray/publications/Publications.html CCDAQ-Hardware -------------- contains: two printed circuit boards, DESPEX and CC2DSP * http://xray.web.cern.ch/xray/documentation/Documentation.html 1. DESPEX contains Motorola DSP56309, signal processing, interfacing to PC 2. CC2DSP contains ADC, and DACs conversion and interfacing to detector hybrid required (recommended) hardware: PC with EPP port EPP port information in * http://www.ctips.com/epp.html power supply +5V, 0V, -5V pulser trigger, here TTL, (a pulser using 7404 or NE555 does it) CCDAQ-Software -------------- contains: DSP machine code for download into DESPEX Linux driver supporting EPP port * http://xray.web.cern.ch/xray/documentation/Documentation.html required (recommended) software: Linux operating system * http://www.suse.com Motorola DSP assembler, available for MS-DOS, or HP-unix * http://www.motorola.com/SPS/DSP/ * http://www.tasking.com/products/DSP56xxx/home.html#derivatives vmware or wine for running Motorola DSP assembler on Linux platform * http://www.suse.com ROOT * http://root.cern.ch Getting-Started-Package (C/C++) from us, a .tar file, please send me e-mail and I will send you what we have on that day. CCDAQ development (ongoing) --------------------------- Motorola DSP56309 machine coding + support many DESPEX on DSP + fast raw-data transfer from/to DESPEX/PC + sparsification vs. no-sparsification + (double) buffering of events in DESPEX + interrupt vs. polling + support of slow control functions (see below) Linux Driver + support all features available in DESPEX (above) DAQ `slow control' + programming of chip control voltages (VFP, VTHR) + programming of trigger chip (via REGIN) + programming of HOLD timing Online Monitoring and Control + Graphical User Interface, GTK-based, or ROOT-based, or Qt-based Online data analysis + pedestal subtraction, common mode correction, + hit finding, cluster finding + data presentation + develop event structure + data storage in (ROOT) data base + macros used for offline monitoring of stored data Code documentation + ROOT based + WWW interfaces Items in Delivery 010717: CCDAQ containing: 1x Aluminium box 1x DESPEX v.02, (80 MHz DSP, labeled as No. 5) 1x EPP flat band cable adapter 1x CC2DSP v.0.2 with AD9223AR, 9850 (labeled No 6). 1x PCB adapter from 25 pin SUB-D to 40 pin SCOTCHFLEX First Steps (suggestions): ------------------------------- - mount banana plugs into box, red +5V, blue -5V, black 0V at the locations marked - forsee hole for trigger near LEMO1 on CC2DSP - forsee opening for EPP port, scotchflex connector - forsee opening for 50 pin ERNI flat band connector - mount DESPEX board onto bottom plate, there are four holes in the DESPEX board which can be used. be carfull not to damage the DSP when drilling into DESPEX board, e.g. when changing holes to M3 holes. - note jumper settings of DESPEX ADR-SEL. all jumpers open determines DSP address F8. - stick CC2DSP onto DESPEX - prepare power connection, attention: apply the correct polarity for +5V (labeled as POS), and -5V (labeled as NEG), and 0V (labeled as GND). the power connection can be prepared such that wrong polarity is excluded by filling one hole with solder for the pin which is cut off. - prepare the 40 pin flat band connection between PC and DESPEX, look at EPP specifications (http:// .. above). - install software, ROOT (3.01/06 or higher), wine, and all that - install DESPEX driver software - mount the driver, by: dpxmount io=0x378 irq=7 - umount the driver, by: dpxumount - check: less /proc/despex - check: tail -f /var/log/all - do: registerdsp f8 - do: ./DESPEX-0.1.0/driver/despexlib/map2epp ../daq/singecho.map f8 - then do: ../daq/singecho 1000 f8@378 also check: - SetDPX epp // loads driver and searches for DSPs on the EPP - map2epp singecho.map 0 // downloads singecho.map to address 0 (all DSPs) later check acquisition program with pulser trigger - do: cl3 -n 700 --ADC -o test.root