Skip to content

FEB‐II Debuging

corrodis edited this page Jan 17, 2025 · 1 revision

Note: for register map see https://github.com/Mu2e/CRV_FEB2/blob/main/README.md

FEB-II only

Setup:

  • WR 0x303 3 puts FEB-II into intenral mode: generates windows and disciples PLL that locks on the ROC

Setup with disables inputs, should yield just event headers

Each channel has a MUX. 0-15 are the different AFE channels. 16 fakes a hit at the start of the live gap. Everything else, so 17, sources the input to 0. So we switch off all channels

  • WR 0x080 17 for 0x80 to 0x8F (all channels)

Now, lets read out a header:

  • RD 0x17 to see 0x0011 (buffer empty)
  • Read a page: WR 312 0 (high) and WR 313 1 Now we expect data RD 17 should yield 0x0001 now (not empty, bit 4)

The data should read 0005 dead beef 0000 0010

With (preproduction) ROC (in loopback mode)

ROC:

  • WR 0 1