RICH testbeam with miniDAQ2

How to configure the PDMDB

Configure the master link GBTx

The bootstrapping of the master link GBTX is done via an external I2C master. This function is served by the trigger board via cables connected from the Tengja board to the PDMDB. %The trigger board connections can be found in the JRichTBTrigger topic.

Configuration of the PDMDB

Once the master link is configured, the control functions for the elementary cells should be usable immediately. After power-up the SCA should be initialised before any other control function is used. There is an Initialise button on the RICH panel to do this. It activates all the required SCA interfaces (I2C, GPIO, JTAG, ADC, DAC). At this point it is possible to configure the CLAROs by clicking the appropriate button on the panel. In general, when clicking buttons in the panel, check that the action has completed successfully (output in window on panel) before proceeding with the next operation.

The next step should be to configure the DTM modules. The DTMs are in pairs - DTM0 must always be configured before DTM1. You can configure all of the using the button: Configure all GBTx.

The firmware of the FPGAs can now be uploaded. There is a button

Now the PDM is ready to receive TFC commands and to send data.

How to take a run with an external trigger using miniDAQ1 + miniDAQ2

In order to take a run using an external trigger (laser, beam, ...), it is necessary to use an hybrid system composed of a MiniDAQ1 and a MiniDAQ2. The MiniDAQ1 is able to receive the trigger from the outside world, it will propagate the TFC signal to the MiniDAQ2 system which is able to acquire the data. THe connecction between MiniDAQ1 and MiniDAQ2 system is done through the fibre 6 in the bunch of fibre (1A) exiting from MiniDAQ1 which is connected to fibre 6 of the bunch of fibres which goes in the first outlet from the left (looking from the back) of the MiniDAQ2.

From the MiniDAQ2 Expert panel on the PDMDB panel, click on the button Restart control managers From the MiniDAQ2 FSM top panel send a RESET command

Navigate down through the FSM tree in TFC, SOL40_test (it refers to MiniDAQ1), Link0. In the Subdetector type text field, type EXT_TFC. Press return. The exclude the SOL40_test partition (clicking on the lock). Navigate down through the FSM tree in TFC, SODIN_test (it refers to MiniDAQ1), Core0. Tick TAE, External trigger and Limit trigger. Click on Apply Enable. Include in the tree SODIN_test2 (it refers to MiniDAQ2) partition. From the top of the FSM send a Configure command. Exclude (clicking on the lock) the SODIN_test2 (it refers to MiniDAQ2) partition. Navigate down in the SODIN_test2 partition, SODIN, Core0. Tick External TFC. Click on Apply Enable.

Now you will have only the SODIN_test and the SOL40_test2 partitions included in the tree.

-- RobertaCardinale - 2017-10-01

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2017-10-01 - RobertaCardinale
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback