Fake data can be generated by both the FEMBs and the WIB itself.

To enable fake data on the FEMB do the following:

> write FEMB< N >.DAQ.FAKE_CD.FAKE_SOURCE 0x0

(Sets the corresponding table entries outputted by status to show IDLE for the Nth FEMB)

> FEMBStrSrc < N > 1-4 R

(Tells the WIB to get 'real' data from FEMB N on all 4 links)

> fpwr < N > 1

> sleep 1

(Turn on the FEMB and sleep)

> fwrite < N > 0x14 0x3
> sleep 1

(Resets FEMB N's PLL and transceivers)

> fwrite < N > 0x14 0x00

> sleep 1

> fwrite < N > 0x14 0x10

(Set to protoDUNE data format mode: disable resets)

> fwrite < N > DATA_TEST_PATTERN 0x< Hex number pattern >

> fwrite < N > ADC_ASIC_DISABLE 0xFF

(Sets pattern of fake data coming out of the FEMB)

> fwrite < N > 0x9 0x9

(Turns on data streaming and adc samples)

-- JacobMichaelCalcutt - 2017-09-13

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2017-09-13 - JacobMichaelCalcutt
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF All webs login

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