-
Notifications
You must be signed in to change notification settings - Fork 0
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
Setup:
-
WR 0x303 3
puts FEB-II into intenral mode: generates windows and disciples PLL that locks on the ROC
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) andWR 313 1
Now we expect dataRD 17
should yield 0x0001 now (not empty, bit 4)
The data should read
0005 dead beef 0000 0010
ROC:
WR 0 1